Аутентификация
Отправьте ключ API в качестве токена носителя (bearer token). Ключ должен иметь разрешение links.view; ключ без него отклоняется с кодом 403, а не 404.
Этот эндпоинт не принимает идентификатор организации. Ваш ключ уже определяет организацию, к которой он принадлежит, и ответ ограничивается ее рамками.
Попробовать
Замените всё в угловых скобках на собственные значения, а плейсхолдер ключа — на ключ из вашей панели управления.
curl -X GET https://api.zinndigital.com/v1/ai/recipes/{recipeId} \
-H "Authorization: Bearer zdk_live_…"Вошли в систему? Консоль API в вашей панели управления автоматически подставляет реальный идентификатор вашей организации и ваш собственный ключ, а также выполняет запрос к работающему API, чтобы вы могли увидеть актуальный ответ. Откройте эту конечную точку в API-консоли
Подробнее
Requires `links.view`.
Параметры
| Имя | Тип | Обязательно | Что это |
|---|---|---|---|
recipeId (path) | Uuid | Да | — |
Ответ
| Имя | Тип | Обязательно | Что это |
|---|---|---|---|
id | Uuid | Да | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
name | string | Да | — |
is_enabled | boolean | Да | — |
brief | string | Нет | — |
tone | string | Нет | — |
word_count | integer | Нет | — |
language | string | Нет | BCP-47, or empty for "the language the brief is written in". |
posts_per_run | integer | Нет | ⛔ 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 | Нет | Blank = whatever the funding route resolves to. |
model_id | string | Нет | Blank = the newest verified model in the family. |
model_family | string | Нет | — |
anchors | AiAnchor[] | Нет | — |
anchor_policy | string<none, every_post, rotate> | Нет | — |
link_set_id | string | Нет | 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> | Да | — |
cadence_hour_utc | integer | Нет | — |
cadence_dow | integer | Нет | 0 = Monday. |
cadence_dom | integer | Нет | ⛔ 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 | Нет | — |
last_run_at | object | Нет | — |
target_kind | string<none, sites, site_group, cms_targets> | Нет | — |
target_sites | string[] | Нет | — |
target_site_group_id | object | Нет | — |
target_cms_target_ids | string[] | Нет | — |
target_category | string | Нет | — |
requires_capabilities | string[] | Нет | 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> | Нет | 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 | Нет | — |
image_model | string | Нет | — |
featured_image | boolean | Нет | — |
inline_image_count | integer | Нет | — |
inline_placement | string<after_intro, between_sections, end> | Нет | — |
image_style | string | Нет | — |
publish_mode | string<draft, schedule, publish> | Да | ⚖️ 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 | Нет | — |
schedule_stagger_minutes | integer | Нет | 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[] | Нет | 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 | Да | — |
updated_at | string | Нет | — |
Ошибки, которые может возвращать этот эндпоинт
401 · 403 · 404 · 429