Tabbatar da Asali
Aika maɓallin API azaman alamar ɗauka (bearer token). Dole ne maɓallin ya kasance yana da izinin links.view; idan babu shi, za a ƙi amfani da maɓallin tare da lambar 403, ba 404 ba.
Wannan wurin ƙarewa ba ya buƙatar ID na ƙungiya. Maɓallin ku ya riga ya gano ƙungiyar da yake ciki, kuma an iyakance amsa a kanta.
Gwada
May gurbin komai da ke cikin kusurwa da ƙimar ka, kuma may gurbin maballi da maballi daga allon sarrafa ka.
curl -X GET https://api.zinndigital.com/v1/ai/recipes/{recipeId} \
-H "Authorization: Bearer zdk_live_…"An shiga? Na'urar sarrafa API da ke cikin sashin kulawarka tana cika ainihin lambar ƙungiyarka da maɓallinka naka, sannan tana gudanar da buƙatar a kan ainihin API don haka zaka iya ganin amsar gaske. Buɗe wannan tashar a cikin na'urar kula da API
Bayani
Requires `links.view`.
Sigogi
| Suna | Nau'i | Ana buƙata | Abin da yake |
|---|---|---|---|
recipeId (path) | Uuid | Eh | — |
Martani
| Suna | Nau'i | Ana buƙata | Abin da yake |
|---|---|---|---|
id | Uuid | Eh | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
name | string | Eh | — |
is_enabled | boolean | Eh | — |
brief | string | A'a | — |
tone | string | A'a | — |
word_count | integer | A'a | — |
language | string | A'a | BCP-47, or empty for "the language the brief is written in". |
posts_per_run | integer | A'a | ⛔ 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 | A'a | Blank = whatever the funding route resolves to. |
model_id | string | A'a | Blank = the newest verified model in the family. |
model_family | string | A'a | — |
anchors | AiAnchor[] | A'a | — |
anchor_policy | string<none, every_post, rotate> | A'a | — |
link_set_id | string | A'a | 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> | Eh | — |
cadence_hour_utc | integer | A'a | — |
cadence_dow | integer | A'a | 0 = Monday. |
cadence_dom | integer | A'a | ⛔ 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 | A'a | — |
last_run_at | object | A'a | — |
target_kind | string<none, sites, site_group, cms_targets> | A'a | — |
target_sites | string[] | A'a | — |
target_site_group_id | object | A'a | — |
target_cms_target_ids | string[] | A'a | — |
target_category | string | A'a | — |
requires_capabilities | string[] | A'a | 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> | A'a | 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 | A'a | — |
image_model | string | A'a | — |
featured_image | boolean | A'a | — |
inline_image_count | integer | A'a | — |
inline_placement | string<after_intro, between_sections, end> | A'a | — |
image_style | string | A'a | — |
publish_mode | string<draft, schedule, publish> | Eh | ⚖️ 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 | A'a | — |
schedule_stagger_minutes | integer | A'a | 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[] | A'a | 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 | Eh | — |
updated_at | string | A'a | — |
Kuskuren da wannan matsaya za ta iya maido wa
401 · 403 · 404 · 429