Doğrulama
API açarını bearer token kimi göndərin. Açar links.view icazəsinə malik olmalıdır; bu icazəsi olmayan açar 404 deyil, 403 xətası ilə rədd edilir.
Bu endpoint heç bir təşkilat ID-si tələb etmir. Sizin açarınız artıq aid olduğu təşkilatı müəyyən edir və cavab həmin təşkilat üçün məhdudlaşdırılır.
Sınaqdan keçir
Bucaqlı mötərizələrdə olan hór şeyi öz qiymətlərinizlə, açar yertutucusunu isə idarə panelinizdən bir açarla əvəz edin.
curl -X GET https://api.zinndigital.com/v1/ai/recipes/{recipeId} \
-H "Authorization: Bearer zdk_live_…"Sistemə daxil olmusunuz? İdarə panelinizdəki API konsolu real təşkilatınızın identifikatorunu və öz açarınızı avtomatik doldurur, sorğunu canlı API-yə qarşı icra edir ki, siz faktiki cavabı görə biləsiniz. Bu son nöqtəni API konsolunda açın
Təfərrüatlar
Requires `links.view`.
Parametrlər
| Ad | Tip | Tələb olunur | Nədir |
|---|---|---|---|
recipeId (path) | Uuid | Bəli | — |
Cavab
| Ad | Tip | Tələb olunur | Nədir |
|---|---|---|---|
id | Uuid | Bəli | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
name | string | Bəli | — |
is_enabled | boolean | Bəli | — |
brief | string | Xeyr | — |
tone | string | Xeyr | — |
word_count | integer | Xeyr | — |
language | string | Xeyr | BCP-47, or empty for "the language the brief is written in". |
posts_per_run | integer | Xeyr | ⛔ 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 | Xeyr | Blank = whatever the funding route resolves to. |
model_id | string | Xeyr | Blank = the newest verified model in the family. |
model_family | string | Xeyr | — |
anchors | AiAnchor[] | Xeyr | — |
anchor_policy | string<none, every_post, rotate> | Xeyr | — |
link_set_id | string | Xeyr | 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əli | — |
cadence_hour_utc | integer | Xeyr | — |
cadence_dow | integer | Xeyr | 0 = Monday. |
cadence_dom | integer | Xeyr | ⛔ 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 | Xeyr | — |
last_run_at | object | Xeyr | — |
target_kind | string<none, sites, site_group, cms_targets> | Xeyr | — |
target_sites | string[] | Xeyr | — |
target_site_group_id | object | Xeyr | — |
target_cms_target_ids | string[] | Xeyr | — |
target_category | string | Xeyr | — |
requires_capabilities | string[] | Xeyr | 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> | Xeyr | 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 | Xeyr | — |
image_model | string | Xeyr | — |
featured_image | boolean | Xeyr | — |
inline_image_count | integer | Xeyr | — |
inline_placement | string<after_intro, between_sections, end> | Xeyr | — |
image_style | string | Xeyr | — |
publish_mode | string<draft, schedule, publish> | Bəli | ⚖️ 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 | Xeyr | — |
schedule_stagger_minutes | integer | Xeyr | 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[] | Xeyr | 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əli | — |
updated_at | string | Xeyr | — |
Bu son nöqtənin qaytara biləcəyi xətalar
401 · 403 · 404 · 429