Аутентификација

Пошаљите API кључ као bearer токен. Кључ мора имати дозволу links.edit; кључ без ње се одбија уз 403, а не 404.

Где се уноси ID ваше организације

Ова крајња тачка узима org_id као поље у JSON телу.

Идентификатор ваше организације се налази на екрану са API кључевима на вашој контролној табли, поред самог кључа. То је исти идентификатор у сваком позиву који упутите.

Испробајте

Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.

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

Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом API-ју како бисте могли да видите стварни одговор. Отворите ову крајњу тачку у API конзоли

Детаљи

Partial update. The schedule is recomputed on every write rather than by a nightly job — a recipe saved with a cadence and no next run is a recipe that never runs and shows no error anywhere. Requires links.edit.

Параметри

НазивТипОбавезноШта је ово
recipeId (path)UuidДа—

Тело захтева

НазивТипОбавезноШта је ово
namestringДа—
is_enabledbooleanНе—
briefstringНе—
tonestringНе—
word_countintegerНе—
languagestringНе—
posts_per_runintegerНе—
providerstringНе—
model_idstringНе—
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Не—
cadence_domintegerНе—
target_kindstring<none, sites, site_group, cms_targets>Не—
target_sitesstring[]Не—
target_site_group_idobjectНе—
target_cms_target_idsstring[]Не—
target_categorystringНе—
requires_capabilitiesstring[]Не—
capability_policystring<refuse, degrade, ask>Не—
image_providerstringНе—
image_modelstringНе—
featured_imagebooleanНе—
inline_image_countintegerНе—
inline_placementstring<after_intro, between_sections, end>Не—
image_stylestringНе—
publish_modestring<draft, schedule, publish>Не—
schedule_offset_hoursintegerНе—
schedule_stagger_minutesintegerНе—
org_idUuidНеUUIDv7 identifier — sortable by creation time (docs/02 §8).

Одговор

НазивТипОбавезноШта је ово
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 handled…
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…
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 · 422 · 429