Autentifikimi
Drgoni një çelës API si një token mbajtës. Çelësi duhet të ketë lejen links.view; një çelës pa të refuzohet me 403, jo 404.
Ky pikëndalim nuk pranon id të organizatës. Çelësi juaj tashmë identifikon organizatën së cilës i përket dhe përgjigjja kufizohet vetëm për atë.
Provoje
Zëvendësoni çdo gjë brenda kllapave këndore me vlerat tuaja dhe vendbanuesin e çelësit me një çelës nga paneli juaj.
curl -X GET https://api.zinndigital.com/v1/ai/recipes/{recipeId} \
-H "Authorization: Bearer zdk_live_…"Jeni kyçur? Konsola e API-së në panelin tuaj plotëson ID-në tuaj reale të organizatës dhe çelësin tuaj, dhe ekzekuton kërkesën kundrejt API-së live, kështu që ju mund të shihni përgjigjen aktuale. Hapni këtë pikë fundore në konsolën e API-së
Detajet
Requires `links.view`.
Parametrat
| Emri | Lloji | Kërkohet | Çfarë është kjo |
|---|---|---|---|
recipeId (path) | Uuid | Po | — |
Përgjigja
| Emri | Lloji | Kërkohet | Çfarë është kjo |
|---|---|---|---|
id | Uuid | Po | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
name | string | Po | — |
is_enabled | boolean | Po | — |
brief | string | Jo | — |
tone | string | Jo | — |
word_count | integer | Jo | — |
language | string | Jo | BCP-47, or empty for "the language the brief is written in". |
posts_per_run | integer | Jo | ⛔ 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 | Jo | Blank = whatever the funding route resolves to. |
model_id | string | Jo | Blank = the newest verified model in the family. |
model_family | string | Jo | — |
anchors | AiAnchor[] | Jo | — |
anchor_policy | string<none, every_post, rotate> | Jo | — |
link_set_id | string | Jo | 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> | Po | — |
cadence_hour_utc | integer | Jo | — |
cadence_dow | integer | Jo | 0 = Monday. |
cadence_dom | integer | Jo | ⛔ 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 | Jo | — |
last_run_at | object | Jo | — |
target_kind | string<none, sites, site_group, cms_targets> | Jo | — |
target_sites | string[] | Jo | — |
target_site_group_id | object | Jo | — |
target_cms_target_ids | string[] | Jo | — |
target_category | string | Jo | — |
requires_capabilities | string[] | Jo | 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> | Jo | 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 | Jo | — |
image_model | string | Jo | — |
featured_image | boolean | Jo | — |
inline_image_count | integer | Jo | — |
inline_placement | string<after_intro, between_sections, end> | Jo | — |
image_style | string | Jo | — |
publish_mode | string<draft, schedule, publish> | Po | ⚖️ 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 | Jo | — |
schedule_stagger_minutes | integer | Jo | 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[] | Jo | 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 | Po | — |
updated_at | string | Jo | — |
Gabimet që ky pikëndalim mund të kthejë
401 · 403 · 404 · 429