Ìfàṣẹ́pọ̀
Fi bọ́ọ̀lù (bearer token) ranṣẹ gẹ́gẹ́ bí kọ́kọ́rọ́ API. Kọ́kọ́rọ́ náà gbọ́dọ̀ ní ìyọ̀ǹda links.edit; a ó kọ̀ ọ́ silẹ pẹlu 403, kii ṣe 404, ti kọ́kọ́rọ́ náà kò bá ní i.
Ibùdó àmì ìdánimọ̀ ilé-iṣẹ́ rẹ sí
Ibi-iwọle yii n gba org_id gẹgẹ bi aaye ninu ara JSON naa.
Id àjọ rẹ wa lórí ojú-ìwákòòkò àwọn bọ́tìnnì API nínú daṣibọọdú rẹ, lẹ́gbẹ̀ẹ́ bọ́tìnnì náà gan-an. Ó jẹ́ ìd kan náà nínú gbogbo ìpè tí o bá ṣe.
Gbiyanju rẹ
Rọ́pọ̀ èyíkéyìí nínú àwọn àmì ìtọ́ka < > pẹ̀lú iye tirẹ̀, àti àmì ìdánimọ̀ bọ́tìnnì náà pẹ̀lú bọ́tìnnì kan láti inú dásibọ̀ọ̀dù rẹ.
curl -X PATCH https://api.zinndigital.com/v1/ai/recipes/{recipeId} \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "name": <string> }'Ṣé o ti wọlé? Iwọ̀n api ní nú ìgbékalẹ̀ rẹ kún id àjọ gidi rẹ ati bọtini tirẹ, o si nṣiṣẹ ibeere na lòdì si api gidi ki o le rii esi gidi na. Ṣí ojú abáná yìí sílẹ̀ nínú kọnsólù API
Àwọn kúlẹ̀kúlẹ̀
Partial update. The schedule is recomputed on every write rather than by a nightly job — a recipe saved with a cadence and no next run is a recipe that never runs and shows no error anywhere. Requires `links.edit`.
Àwọn ìpìlẹ̀
| Orúkọ | Iru | Tí a nílò | Kini o jẹ |
|---|---|---|---|
recipeId (path) | Uuid | Bẹẹni | — |
Akoonu ibeere naa
| Orúkọ | Iru | Tí a nílò | Kini o jẹ |
|---|---|---|---|
name | string | Bẹẹni | — |
is_enabled | boolean | Bẹẹkọ | — |
brief | string | Bẹẹkọ | — |
tone | string | Bẹẹkọ | — |
word_count | integer | Bẹẹkọ | — |
language | string | Bẹẹkọ | — |
posts_per_run | integer | Bẹẹkọ | — |
provider | string | Bẹẹkọ | — |
model_id | string | Bẹẹkọ | — |
model_family | string | Bẹẹkọ | — |
anchors | AiAnchor[] | Bẹẹkọ | — |
anchor_policy | string<none, every_post, rotate> | Bẹẹkọ | — |
link_set_id | string | Bẹẹkọ | The reusable link set this recipe draws its links from, or `null` to use the recipe's own `anchors`. When set it **replaces** `anchors` rather than adding to them — two sources… |
cadence | string<manual, daily, weekly, monthly> | Bẹẹkọ | — |
cadence_hour_utc | integer | Bẹẹkọ | — |
cadence_dow | integer | Bẹẹkọ | — |
cadence_dom | integer | Bẹẹkọ | — |
target_kind | string<none, sites, site_group, cms_targets> | Bẹẹkọ | — |
target_sites | string[] | Bẹẹkọ | — |
target_site_group_id | object | Bẹẹkọ | — |
target_cms_target_ids | string[] | Bẹẹkọ | — |
target_category | string | Bẹẹkọ | — |
requires_capabilities | string[] | Bẹẹkọ | — |
capability_policy | string<refuse, degrade, ask> | Bẹẹkọ | — |
image_provider | string | Bẹẹkọ | — |
image_model | string | Bẹẹkọ | — |
featured_image | boolean | Bẹẹkọ | — |
inline_image_count | integer | Bẹẹkọ | — |
inline_placement | string<after_intro, between_sections, end> | Bẹẹkọ | — |
image_style | string | Bẹẹkọ | — |
publish_mode | string<draft, schedule, publish> | Bẹẹkọ | — |
schedule_offset_hours | integer | Bẹẹkọ | — |
schedule_stagger_minutes | integer | Bẹẹkọ | — |
org_id | Uuid | Bẹẹkọ | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
Idahun
| Orúkọ | Iru | Tí a nílò | Kini o jẹ |
|---|---|---|---|
id | Uuid | Bẹẹni | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
name | string | Bẹẹni | — |
is_enabled | boolean | Bẹẹni | — |
brief | string | Bẹẹkọ | — |
tone | string | Bẹẹkọ | — |
word_count | integer | Bẹẹkọ | — |
language | string | Bẹẹkọ | BCP-47, or empty for "the language the brief is written in". |
posts_per_run | integer | Bẹẹkọ | ⛔ Capped at 10. Two hundred articles from one brief are two hundred near-identical articles, which is a **footprint** — the exact thing the Footprint-Free line is sold to avoid. |
provider | string | Bẹẹkọ | Blank = whatever the funding route resolves to. |
model_id | string | Bẹẹkọ | Blank = the newest verified model in the family. |
model_family | string | Bẹẹkọ | — |
anchors | AiAnchor[] | Bẹẹkọ | — |
anchor_policy | string<none, every_post, rotate> | Bẹẹkọ | — |
link_set_id | string | Bẹẹkọ | The reusable link set this recipe draws its links from, or `null` to use the recipe's own `anchors`. When set it **replaces** `anchors` rather than adding to them — two sources… |
cadence | string<manual, daily, weekly, monthly> | Bẹẹni | — |
cadence_hour_utc | integer | Bẹẹkọ | — |
cadence_dow | integer | Bẹẹkọ | 0 = Monday. |
cadence_dom | integer | Bẹẹkọ | ⛔ Never 29-31: a monthly recipe set to the 31st would skip February silently, and a schedule that stops without an error is the failure this feature prevents. |
next_run_at | object | Bẹẹkọ | — |
last_run_at | object | Bẹẹkọ | — |
target_kind | string<none, sites, site_group, cms_targets> | Bẹẹkọ | — |
target_sites | string[] | Bẹẹkọ | — |
target_site_group_id | object | Bẹẹkọ | — |
target_cms_target_ids | string[] | Bẹẹkọ | — |
target_category | string | Bẹẹkọ | — |
requires_capabilities | string[] | Bẹẹkọ | Capability ids the target must support, e.g. `cms_target:featured_image`. Enforced on every run: each site's capabilities are read from its CMS target and any shortfall is handl… |
capability_policy | string<refuse, degrade, ask> | Bẹẹkọ | What to do when a target cannot do something the recipe requires. Default `refuse` — silently dropping a requested field is the failure this exists to stop. `refuse` skips that… |
image_provider | string | Bẹẹkọ | — |
image_model | string | Bẹẹkọ | — |
featured_image | boolean | Bẹẹkọ | — |
inline_image_count | integer | Bẹẹkọ | — |
inline_placement | string<after_intro, between_sections, end> | Bẹẹkọ | — |
image_style | string | Bẹẹkọ | — |
publish_mode | string<draft, schedule, publish> | Bẹẹni | ⚖️ Owner ruling 2026-08-20: a **per-recipe** switch defaulting to `draft`. `draft` writes into the library and schedules nothing; `schedule` queues placements the customer can s… |
schedule_offset_hours | integer | Bẹẹkọ | — |
schedule_stagger_minutes | integer | Bẹẹkọ | Minutes between consecutive posts in one run. ⛔ Not cosmetic: a network whose articles all appear in the same minute is a footprint. |
blocking_providers | string[] | Bẹẹkọ | Providers this recipe needs a working key for and does not have. Empty means it can run now. ⚖️ A recipe naming no provider is never blocked — credits are the default route and… |
created_at | string | Bẹẹni | — |
updated_at | string | Bẹẹkọ | — |
Awọn aṣiṣe ti ibudo ipari yii le da pada
401 · 403 · 404 · 422 · 429