Autentificare
Trimiteți o cheie API ca token de tip bearer. Cheia trebuie să aibă permisiunea links.edit; o cheie care nu o are va fi respinsă cu 403, nu 404.
Unde merge ID-ul organizației tale
Acest punct final preia org_id ca câmp în corpul JSON.
ID-ul organizației tale se află pe ecranul cheilor API din panoul de control, lângă cheia însăși. Este același ID în fiecare apel pe care îl faci.
Încearcă
Înlocuiți tot ce se află între paranteze unghiulare cu propriile valori și substituentul cheie cu o cheie din tabloul de bord.
curl -X POST https://api.zinndigital.com/v1/ai/recipes \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "name": <string> }'Autentificat? Consola API din panoul de control îți completează ID-ul real al organizației și propria cheie și rulează cererea în API-ul live, astfel încât să poți vedea răspunsul efectiv. Deschideți acest punct final în consola API
Detalii
⛔ Bounds are enforced at **authoring** time, not at run time: more than five anchors or more than ten posts per run would be refused on every run, so a recipe saved with them would look fine, sit on a schedule, and fail silently every night. Requires `links.edit` — the same key as writing a post by hand, because that is what this is.
Corp cerere
| Nume | Tip | Obligatoriu | Ce este |
|---|---|---|---|
name | string | Da | — |
is_enabled | boolean | Nu | — |
brief | string | Nu | — |
tone | string | Nu | — |
word_count | integer | Nu | — |
language | string | Nu | — |
posts_per_run | integer | Nu | — |
provider | string | Nu | — |
model_id | string | Nu | — |
model_family | string | Nu | — |
anchors | AiAnchor[] | Nu | — |
anchor_policy | string<none, every_post, rotate> | Nu | — |
link_set_id | string | Nu | 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> | Nu | — |
cadence_hour_utc | integer | Nu | — |
cadence_dow | integer | Nu | — |
cadence_dom | integer | Nu | — |
target_kind | string<none, sites, site_group, cms_targets> | Nu | — |
target_sites | string[] | Nu | — |
target_site_group_id | object | Nu | — |
target_cms_target_ids | string[] | Nu | — |
target_category | string | Nu | — |
requires_capabilities | string[] | Nu | — |
capability_policy | string<refuse, degrade, ask> | Nu | — |
image_provider | string | Nu | — |
image_model | string | Nu | — |
featured_image | boolean | Nu | — |
inline_image_count | integer | Nu | — |
inline_placement | string<after_intro, between_sections, end> | Nu | — |
image_style | string | Nu | — |
publish_mode | string<draft, schedule, publish> | Nu | — |
schedule_offset_hours | integer | Nu | — |
schedule_stagger_minutes | integer | Nu | — |
org_id | Uuid | Nu | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
Răspuns
| Nume | Tip | Obligatoriu | Ce este |
|---|---|---|---|
id | Uuid | Da | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
name | string | Da | — |
is_enabled | boolean | Da | — |
brief | string | Nu | — |
tone | string | Nu | — |
word_count | integer | Nu | — |
language | string | Nu | BCP-47, or empty for "the language the brief is written in". |
posts_per_run | integer | Nu | ⛔ 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 | Nu | Blank = whatever the funding route resolves to. |
model_id | string | Nu | Blank = the newest verified model in the family. |
model_family | string | Nu | — |
anchors | AiAnchor[] | Nu | — |
anchor_policy | string<none, every_post, rotate> | Nu | — |
link_set_id | string | Nu | 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> | Da | — |
cadence_hour_utc | integer | Nu | — |
cadence_dow | integer | Nu | 0 = Monday. |
cadence_dom | integer | Nu | ⛔ 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 | Nu | — |
last_run_at | object | Nu | — |
target_kind | string<none, sites, site_group, cms_targets> | Nu | — |
target_sites | string[] | Nu | — |
target_site_group_id | object | Nu | — |
target_cms_target_ids | string[] | Nu | — |
target_category | string | Nu | — |
requires_capabilities | string[] | Nu | 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> | Nu | 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 | Nu | — |
image_model | string | Nu | — |
featured_image | boolean | Nu | — |
inline_image_count | integer | Nu | — |
inline_placement | string<after_intro, between_sections, end> | Nu | — |
image_style | string | Nu | — |
publish_mode | string<draft, schedule, publish> | Da | ⚖️ 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 | Nu | — |
schedule_stagger_minutes | integer | Nu | 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[] | Nu | 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 | Da | — |
updated_at | string | Nu | — |
Erori pe care le poate returna acest punct final
401 · 403 · 422 · 429