ai

PATCH /v1/ai/recipes/{recipeId}

Edit an AI posting recipe.

എല്ലാ ai എൻഡ്‌പോയിന്റുകളും

പ്രമാണീകരണം

ബെയറർ ടോക്കണായി ഒരു API കീ അയയ്ക്കുക. കീക്ക് links.edit അനുമതി ഉണ്ടായിരിക്കണം; അനുമതിയില്ലാത്ത കീ 404 അല്ല, 403 നൽകി നിരസിക്കപ്പെടും.

നിങ്ങളുടെ ഓർഗനൈസേഷൻ ഐഡി നൽകേണ്ട ഇടം

ഈ എൻഡ്‌പോയിന്റ് JSON ബോഡിയിൽ ഒരു ഫീൽഡായി org_id സ്വീകരിക്കുന്നു.

നിങ്ങളുടെ ഡാഷ്‌ബോർഡിലെ 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 കൺസോൾ നിങ്ങളുടെ യഥാർത്ഥ ഓർഗനൈസേഷൻ ഐഡിയും നിങ്ങളുടെ സ്വന്തം കീയും പൂരിപ്പിക്കുകയും, യഥാർത്ഥ പ്രതികരണം (response) നിങ്ങൾക്ക് കാണുന്നതിനായി ലൈവ് API-ലേക്ക് അഭ്യർത്ഥന (request) പ്രവർത്തിപ്പിക്കുകയും ചെയ്യുന്നു. ഈ എൻഡ്പോയിന്റ് 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