ai

GET /v1/ai/recipes/{recipeId}

One AI posting recipe.

Բոլոր ai վերջնակետերը

Նույնականացում

Ուղարկեք API բանալին որպես bearer token: Բանալին պետք է ունենա links.view թույլտվությունը. առանց դրա բանալին մերժվում է 403, և ոչ թե 404 կարգավիճակով:

Այս վերջնակետը կազմակերպության ID չի ընդունում: Ձեր բանալին արդեն իսկ նույնականացնում է այն կազմակերպությունը, որին պատկանում է, և պատասխանը սահմանափակված է դրանով:

Փորձել

Փոխարինեք անկյունային փակագծերում գտնվող ցանկացած բան ձեր սեփական արժեքներով, և բանալու տեղապահը՝ ձեր վահանակի բանալիով:

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

Մուտք գործե՞լ եք: Ձեր վահանակի API վահանակը լրացնում է ձեր իրական կազմակերպության ID-ն և ձեր սեփական բանալին և գործարկում է հարցումը ուղիղ 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