ai

GET /v1/ai/recipes/{recipeId}

One AI posting recipe.

Ҳамаи нуқтаҳои ниҳоии ai

Санҷиши ҳаққоният

Kaliti API-ро ҳамчун рамзи доранда (bearer token) фиристед. Калит бояд дорои иҷозати links.view бошад; калиди бидуни он бо хатои 403 рад карда мешавад, на 404.

Ин нуқтаи поёнӣ ягон рақами мушаххаси созмонро талаб намекунад. Калиди шумо аллакай созмонеро, ки ба он тааллуқ дорад, муайян мекунад ва ҷавоб ба он маҳдуд карда мешавад.

Санҷидан

Ҳар чизро дар қаavски кунҷӣ бо қиматҳои худ ва ҷойи нигоҳдорандаи калидро бо калима аз панели идоракунии худ иваз кунед.

curl -X GET https://api.zinndigital.com/v1/ai/recipes/{recipeId} \
  -H "Authorization: Bearer zdk_live_…"

Воarid шудаед? Консоли API дар панели идоракунии шумо рақами мушаххаси ташкилоти воқеӣ ва калиди худро пур мекунад ва дархостро бар зидди API-и фаъол иҷро мекунад, то шумо посухи воқеиро бубинед. Ин нуқтаи ниҳоиро дар консоли API кушоед

Тафсилот

Requires `links.view`.

Параметрҳо

НомНамудТалаб карда мешавадИн чӣ аст
recipeId (path)UuidБале

Ҷавоб

НомНамудТалаб карда мешавадИн чӣ аст
idUuidБалеUUIDv7 identifier — sortable by creation time (docs/02 §8).
namestringБале
is_enabledbooleanБале
briefstringНе
tonestringНе
word_countintegerНе
languagestringНеBCP-47, or empty for "the language the brief is written in".
posts_per_runintegerНе⛔ 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.
providerstringНеBlank = whatever the funding route resolves to.
model_idstringНеBlank = the newest verified model in the family.
model_familystringНе
anchorsAiAnchor[]Не
anchor_policystring<none, every_post, rotate>Не
link_set_idstringНе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…
cadencestring<manual, daily, weekly, monthly>Бале
cadence_hour_utcintegerНе
cadence_dowintegerНе0 = Monday.
cadence_domintegerНе⛔ 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_atobjectНе
last_run_atobjectНе
target_kindstring<none, sites, site_group, cms_targets>Не
target_sitesstring[]Не
target_site_group_idobjectНе
target_cms_target_idsstring[]Не
target_categorystringНе
requires_capabilitiesstring[]Не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_policystring<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_providerstringНе
image_modelstringНе
featured_imagebooleanНе
inline_image_countintegerНе
inline_placementstring<after_intro, between_sections, end>Не
image_stylestringНе
publish_modestring<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_hoursintegerНе
schedule_stagger_minutesintegerНеMinutes between consecutive posts in one run. ⛔ Not cosmetic: a network whose articles all appear in the same minute is a footprint.
blocking_providersstring[]Не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_atstringБале
updated_atstringНе

Хатоҳое, ки ин нуқтаи ниҳоӣ метавонад баргардонад

401 · 403 · 404 · 429