ai

PATCH /v1/ai/recipes/{recipeId}

Edit an AI posting recipe.

Dhammaan ai bixiyayaasha

Xaqiijinta aqoonsiga

U dir furaha API ah calaamad dusha ah (bearer token). Furaha waa inuu wataa ruqadda links.edit; furaha aan wadan waxaa loo diidayaa 403, ee ma aha 404.

Meesha aqoonsiga ururkaagu galayo

Boggan waxaa uu qaataa org_id oo ah goob ku jirta JSON body.

Aqoonsiga ururkaagu wuxuu ku yaallaa shaashada furayaasha API ee dashboard-kaaga, oo ku xiga furaha laftiisa. Waa isku aqoonsi wicitaan kasta oo aad sameyso.

Isku day

Ku beddel wax kasta oo ku dhex jira qeebaha xaglaha ah qiimayaashaada, sidoo kalena haystaaha furaha ku beddel fure ka dhex muuqda dashboordigaaga.

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

Ma sign-garaysay? Qalabka API ee ku jira dashboard-kaagu wuxuu buuxiyaa aqoonsigaaga ururka ee dhabta ah iyo furahaaga gaarka ah, wuxuuna ku shaqeysiiyaa codsiga API-ga nool si aad u aragto jawaabta dhabta ah. Kani ka fur barta kontoroolka ee API

Details

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`.

Cabiraha

MagacaNoocLoo baahan yahayMaxay tahay
recipeId (path)UuidHaa

Codsiga jidhkiisa

MagacaNoocLoo baahan yahayMaxay tahay
namestringHaa
is_enabledbooleanMaya
briefstringMaya
tonestringMaya
word_countintegerMaya
languagestringMaya
posts_per_runintegerMaya
providerstringMaya
model_idstringMaya
model_familystringMaya
anchorsAiAnchor[]Maya
anchor_policystring<none, every_post, rotate>Maya
link_set_idstringMayaThe 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>Maya
cadence_hour_utcintegerMaya
cadence_dowintegerMaya
cadence_domintegerMaya
target_kindstring<none, sites, site_group, cms_targets>Maya
target_sitesstring[]Maya
target_site_group_idobjectMaya
target_cms_target_idsstring[]Maya
target_categorystringMaya
requires_capabilitiesstring[]Maya
capability_policystring<refuse, degrade, ask>Maya
image_providerstringMaya
image_modelstringMaya
featured_imagebooleanMaya
inline_image_countintegerMaya
inline_placementstring<after_intro, between_sections, end>Maya
image_stylestringMaya
publish_modestring<draft, schedule, publish>Maya
schedule_offset_hoursintegerMaya
schedule_stagger_minutesintegerMaya
org_idUuidMayaUUIDv7 identifier — sortable by creation time (docs/02 §8).

Jawaab

MagacaNoocLoo baahan yahayMaxay tahay
idUuidHaaUUIDv7 identifier — sortable by creation time (docs/02 §8).
namestringHaa
is_enabledbooleanHaa
briefstringMaya
tonestringMaya
word_countintegerMaya
languagestringMayaBCP-47, or empty for "the language the brief is written in".
posts_per_runintegerMaya⛔ 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.
providerstringMayaBlank = whatever the funding route resolves to.
model_idstringMayaBlank = the newest verified model in the family.
model_familystringMaya
anchorsAiAnchor[]Maya
anchor_policystring<none, every_post, rotate>Maya
link_set_idstringMayaThe 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>Haa
cadence_hour_utcintegerMaya
cadence_dowintegerMaya0 = Monday.
cadence_domintegerMaya⛔ 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_atobjectMaya
last_run_atobjectMaya
target_kindstring<none, sites, site_group, cms_targets>Maya
target_sitesstring[]Maya
target_site_group_idobjectMaya
target_cms_target_idsstring[]Maya
target_categorystringMaya
requires_capabilitiesstring[]MayaCapability 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>MayaWhat 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_providerstringMaya
image_modelstringMaya
featured_imagebooleanMaya
inline_image_countintegerMaya
inline_placementstring<after_intro, between_sections, end>Maya
image_stylestringMaya
publish_modestring<draft, schedule, publish>Haa⚖️ 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_hoursintegerMaya
schedule_stagger_minutesintegerMayaMinutes between consecutive posts in one run. ⛔ Not cosmetic: a network whose articles all appear in the same minute is a footprint.
blocking_providersstring[]MayaProviders 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_atstringHaa
updated_atstringMaya

Cilladaha ay bartaani soo celin karto

401 · 403 · 404 · 422 · 429