ai

GET /v1/ai/recipes/{recipeId}

One AI posting recipe.

Wszystkie punkty końcowe ai

Uwierzytelnianie

Wyślij klucz API jako token bearer. Klucz musi posiadać uprawnienie links.view; klucz bez niego jest odrzucany z kodem 403, a nie 404.

Ten punkt końcowy nie wymaga identyfikatora organizacji. Twój klucz już identyfikuje organizację, do której należy, a odpowiedź jest do niej ograniczona.

Wypróbuj

Zastąp wszystko w nawiasach ostrych własnymi wartościami, a zastępczy znacznik klucza kluczem ze swojego pulpitu nawigacyjnego.

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

Zalogowany? Konsola API w Twoim panelu uzupełnia rzeczywiste identyfikator organizacji oraz Twój własny klucz i wykonuje żądanie względem aktywnego API, dzięki czemu możesz zobaczyć rzeczywistą odpowiedź. Otwórz ten punkt końcowy w konsoli API

Szczegóły

Requires `links.view`.

Parametry

NazwaTypWymaganeCo to jest
recipeId (path)UuidTak

Odpowiedź

NazwaTypWymaganeCo to jest
idUuidTakUUIDv7 identifier — sortable by creation time (docs/02 §8).
namestringTak
is_enabledbooleanTak
briefstringNie
tonestringNie
word_countintegerNie
languagestringNieBCP-47, or empty for "the language the brief is written in".
posts_per_runintegerNie⛔ 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.
providerstringNieBlank = whatever the funding route resolves to.
model_idstringNieBlank = the newest verified model in the family.
model_familystringNie
anchorsAiAnchor[]Nie
anchor_policystring<none, every_post, rotate>Nie
link_set_idstringNieThe 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>Tak
cadence_hour_utcintegerNie
cadence_dowintegerNie0 = Monday.
cadence_domintegerNie⛔ 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_atobjectNie
last_run_atobjectNie
target_kindstring<none, sites, site_group, cms_targets>Nie
target_sitesstring[]Nie
target_site_group_idobjectNie
target_cms_target_idsstring[]Nie
target_categorystringNie
requires_capabilitiesstring[]NieCapability 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>NieWhat 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_providerstringNie
image_modelstringNie
featured_imagebooleanNie
inline_image_countintegerNie
inline_placementstring<after_intro, between_sections, end>Nie
image_stylestringNie
publish_modestring<draft, schedule, publish>Tak⚖️ 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_hoursintegerNie
schedule_stagger_minutesintegerNieMinutes between consecutive posts in one run. ⛔ Not cosmetic: a network whose articles all appear in the same minute is a footprint.
blocking_providersstring[]NieProviders 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_atstringTak
updated_atstringNie

Błędy, które ten punkt końcowy może zwrócić

401 · 403 · 404 · 429