ai

PATCH /v1/ai/recipes/{recipeId}

Edit an AI posting recipe.

ሁሉም የ ai ማጠናቀቂያ ነጥቦች

ማረጋገጫ

የAPI ቁልፉን እንደ bearer token ይላኩ። ቁልፉ የlinks.edit ፈቃድ ሊኖረው ይገባል፤ ይህ ፈቃድ የሌለው ቁልፍ በ404 ሳይሆን በ403 ውድቅ ይደረጋል።

የድርጅትዎ መታወቂያ የሚገባበት ቦታ

ይህ ማቆሚያ ነጥብ (endpoint) org_idን በJSON አካል ውስጥ እንደ ሜዳ ይወስዳል።

የድርጅትዎ መለያ ቁጥር (ID) በዳሽቦርድዎ ላይ በሚገኙት የኤፒአይ ቁልፎች (API keys) ማያ ገጽ ላይ ከቁልፉ አጠገብ ይገኛል። በሚያደርጉት እያንዳንዱ ጥያቄ ላይ የሚጠቀሙበት መለያ ቁጥር አንድ አይነት ነው።

ሞክሩት

በቅንፍ ውስጥ ያለውን ማንኛውንም ነገር በራስዎ እሴቶች ይተኩ፣ እና ቁልፍ ቦታ ያዢውን ከዳሽቦርድዎ በመጣ ቁልፍ ይተኩ።

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 ኮንሶል ውስጥ ይክፈቱ

ዝርዝሮች

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 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 · 422 · 429