Xaqiijinta aqoonsiga
U dir furaha API ah calaamad dusha ah (bearer token). Furaha waa inuu wataa ruqadda links.edit; furaha aan wadan waxaa loo diidayaa 403, ee ma aha 404.
Meesha aqoonsiga ururkaagu galayo
Boggan waxaa uu qaataa org_id oo ah goob ku jirta JSON body.
Aqoonsiga ururkaagu wuxuu ku yaallaa shaashada furayaasha API ee dashboard-kaaga, oo ku xiga furaha laftiisa. Waa isku aqoonsi wicitaan kasta oo aad sameyso.
Isku day
Ku beddel wax kasta oo ku dhex jira qeebaha xaglaha ah qiimayaashaada, sidoo kalena haystaaha furaha ku beddel fure ka dhex muuqda dashboordigaaga.
curl -X PATCH https://api.zinndigital.com/v1/ai/recipes/{recipeId} \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "name": <string> }'Ma sign-garaysay? Qalabka API ee ku jira dashboard-kaagu wuxuu buuxiyaa aqoonsigaaga ururka ee dhabta ah iyo furahaaga gaarka ah, wuxuuna ku shaqeysiiyaa codsiga API-ga nool si aad u aragto jawaabta dhabta ah. Kani ka fur barta kontoroolka ee API
Faahfaahin
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`.
Cabiraha
| Magaca | Nooc | Loo baahan yahay | Maxay tahay |
|---|---|---|---|
recipeId (path) | Uuid | Haa | — |
Codsiga jidhkiisa
| Magaca | Nooc | Loo baahan yahay | Maxay tahay |
|---|---|---|---|
name | string | Haa | — |
is_enabled | boolean | Maya | — |
brief | string | Maya | — |
tone | string | Maya | — |
word_count | integer | Maya | — |
language | string | Maya | — |
posts_per_run | integer | Maya | — |
provider | string | Maya | — |
model_id | string | Maya | — |
model_family | string | Maya | — |
anchors | AiAnchor[] | Maya | — |
anchor_policy | string<none, every_post, rotate> | Maya | — |
link_set_id | string | Maya | 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> | Maya | — |
cadence_hour_utc | integer | Maya | — |
cadence_dow | integer | Maya | — |
cadence_dom | integer | Maya | — |
target_kind | string<none, sites, site_group, cms_targets> | Maya | — |
target_sites | string[] | Maya | — |
target_site_group_id | object | Maya | — |
target_cms_target_ids | string[] | Maya | — |
target_category | string | Maya | — |
requires_capabilities | string[] | Maya | — |
capability_policy | string<refuse, degrade, ask> | Maya | — |
image_provider | string | Maya | — |
image_model | string | Maya | — |
featured_image | boolean | Maya | — |
inline_image_count | integer | Maya | — |
inline_placement | string<after_intro, between_sections, end> | Maya | — |
image_style | string | Maya | — |
publish_mode | string<draft, schedule, publish> | Maya | — |
schedule_offset_hours | integer | Maya | — |
schedule_stagger_minutes | integer | Maya | — |
org_id | Uuid | Maya | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
Jawaab
| Magaca | Nooc | Loo baahan yahay | Maxay tahay |
|---|---|---|---|
id | Uuid | Haa | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
name | string | Haa | — |
is_enabled | boolean | Haa | — |
brief | string | Maya | — |
tone | string | Maya | — |
word_count | integer | Maya | — |
language | string | Maya | BCP-47, or empty for "the language the brief is written in". |
posts_per_run | integer | Maya | ⛔ 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 | Maya | Blank = whatever the funding route resolves to. |
model_id | string | Maya | Blank = the newest verified model in the family. |
model_family | string | Maya | — |
anchors | AiAnchor[] | Maya | — |
anchor_policy | string<none, every_post, rotate> | Maya | — |
link_set_id | string | Maya | 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> | Haa | — |
cadence_hour_utc | integer | Maya | — |
cadence_dow | integer | Maya | 0 = Monday. |
cadence_dom | integer | Maya | ⛔ 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 | Maya | — |
last_run_at | object | Maya | — |
target_kind | string<none, sites, site_group, cms_targets> | Maya | — |
target_sites | string[] | Maya | — |
target_site_group_id | object | Maya | — |
target_cms_target_ids | string[] | Maya | — |
target_category | string | Maya | — |
requires_capabilities | string[] | Maya | 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> | Maya | 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 | Maya | — |
image_model | string | Maya | — |
featured_image | boolean | Maya | — |
inline_image_count | integer | Maya | — |
inline_placement | string<after_intro, between_sections, end> | Maya | — |
image_style | string | Maya | — |
publish_mode | string<draft, schedule, publish> | Haa | ⚖️ 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 | Maya | — |
schedule_stagger_minutes | integer | Maya | 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[] | Maya | 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 | Haa | — |
updated_at | string | Maya | — |
Cilladaha ay bartaani soo celin karto
401 · 403 · 404 · 422 · 429