ai

POST /v1/ai/recipes

Create an AI posting recipe.

Minden ai végpont

Hitelesítés

Küldjön egy API-kulcsot bearer tokenként. A kulcsnak rendelkeznie kell a(z) links.edit jogosultsággal; az ezzel nem rendelkező kulcsok esetén a rendszer 403-as hibát ad vissza 404 helyett.

A szervezet azonosítójának helye

Ez a végpont a org_id mezőt várja a JSON törzsben.

A szervezeted azonosítója a vezérlőpult API-kulcsok képernyőjén található, közvetlenül a kulcs mellett. Ez ugyanaz az azonosító minden indított hívásban.

Próbálja ki

Cserélje ki a hegyes zárójelek közötti részt a saját értékeivel, a kulcshelyőrzőt pedig a vezérlőpultján található kulccsal.

curl -X POST https://api.zinndigital.com/v1/ai/recipes \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "name": <string> }'

Be van jelentkezve? A vezérlőpultban lévő API-konzol kitölti a valós szervezetazonosítóját és a saját kulcsát, és a kérést az éles API-n futtatja, hogy láthassa a tényleges választ. Nyissa meg ezt a végpontot az API konzolban

Részletek

⛔ Bounds are enforced at **authoring** time, not at run time: more than five anchors or more than ten posts per run would be refused on every run, so a recipe saved with them would look fine, sit on a schedule, and fail silently every night. Requires `links.edit` — the same key as writing a post by hand, because that is what this is.

Kérés törzse

NévTípusKötelezőMi ez
namestringIgen
is_enabledbooleanNem
briefstringNem
tonestringNem
word_countintegerNem
languagestringNem
posts_per_runintegerNem
providerstringNem
model_idstringNem
model_familystringNem
anchorsAiAnchor[]Nem
anchor_policystring<none, every_post, rotate>Nem
link_set_idstringNemThe 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>Nem
cadence_hour_utcintegerNem
cadence_dowintegerNem
cadence_domintegerNem
target_kindstring<none, sites, site_group, cms_targets>Nem
target_sitesstring[]Nem
target_site_group_idobjectNem
target_cms_target_idsstring[]Nem
target_categorystringNem
requires_capabilitiesstring[]Nem
capability_policystring<refuse, degrade, ask>Nem
image_providerstringNem
image_modelstringNem
featured_imagebooleanNem
inline_image_countintegerNem
inline_placementstring<after_intro, between_sections, end>Nem
image_stylestringNem
publish_modestring<draft, schedule, publish>Nem
schedule_offset_hoursintegerNem
schedule_stagger_minutesintegerNem
org_idUuidNemUUIDv7 identifier — sortable by creation time (docs/02 §8).

Válasz

NévTípusKötelezőMi ez
idUuidIgenUUIDv7 identifier — sortable by creation time (docs/02 §8).
namestringIgen
is_enabledbooleanIgen
briefstringNem
tonestringNem
word_countintegerNem
languagestringNemBCP-47, or empty for "the language the brief is written in".
posts_per_runintegerNem⛔ 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.
providerstringNemBlank = whatever the funding route resolves to.
model_idstringNemBlank = the newest verified model in the family.
model_familystringNem
anchorsAiAnchor[]Nem
anchor_policystring<none, every_post, rotate>Nem
link_set_idstringNemThe 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>Igen
cadence_hour_utcintegerNem
cadence_dowintegerNem0 = Monday.
cadence_domintegerNem⛔ 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_atobjectNem
last_run_atobjectNem
target_kindstring<none, sites, site_group, cms_targets>Nem
target_sitesstring[]Nem
target_site_group_idobjectNem
target_cms_target_idsstring[]Nem
target_categorystringNem
requires_capabilitiesstring[]NemCapability 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>NemWhat 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_providerstringNem
image_modelstringNem
featured_imagebooleanNem
inline_image_countintegerNem
inline_placementstring<after_intro, between_sections, end>Nem
image_stylestringNem
publish_modestring<draft, schedule, publish>Igen⚖️ 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_hoursintegerNem
schedule_stagger_minutesintegerNemMinutes between consecutive posts in one run. ⛔ Not cosmetic: a network whose articles all appear in the same minute is a footprint.
blocking_providersstring[]NemProviders 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_atstringIgen
updated_atstringNem

Hibák, amelyeket ez a végpont visszaadhattatlan

401 · 403 · 422 · 429