ai

POST /v1/ai/recipes

Create an AI posting recipe.

ຈຸດສິ້ນສຸດ ai ທັງໝົດ

ການພິສູດຕົວຕົນ

ສົ່ງລະຫັດ API ເປັນ bearer token. ລະຫັດຕ້ອງມີສິດ links.edit; ລະຫັດທີ່ບໍ່ມີສິດດັ່ງກ່າວຈະຖືກປະຕິເສດດ້ວຍລະຫັດ 403, ບໍ່ແມ່ນ 404.

ບ່ອນທີ່ລະບົບຈັດການອົງກອນຂອງທ່ານໄປ

ຈຸດສິ້ນສຸດນີ້ຮັບເອົາ org_id ເປັນຊ່ອງຂໍ້ມູນໃນ JSON body.

ລະຫັດອົງກອນຂອງທ່ານແມ່ນຢູ່ໜ້າກະແຈ API ໃນແຜງຄວບຄຸມຂອງທ່ານ, ຖັດຈາກກະແຈ itself. ມັນແມ່ນລະຫັດດຽວກັນໃນທຸກໆການໂທທີ່ທ່ານເຮັດ.

ລອງໃຊ້ເບິ່ງ

ປ່ຽນແທນທຸກຢ່າງທີ່ຢູ່ໃນວົງເລັບມຸມດ້ວຍຄ່າຂອງທ່ານເອງ, ແລະ ປ່ຽນແທນຕົວແທນບ່ອນວ່າງຄີດ້ວຍຄີຈາກແຜງຄວບຄຸມຂອງທ່ານ.

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

ເຂົ້າສູ່ລະບົບແລ້ວບໍ? ໂຄງສົນທະນາ API ໃນໜ້າັດສະຫຼອງຂອງທ່ານຈະຕື່ມຂໍ້ມູນລະຫັດອົງກອນຕົວຈິງ ແລະ ລະຫັດລັບສ່ວນຕົວຂອງທ່ານໂດຍອັດຕະໂນມັດ, ແລະ ປະຕິບັດການຮ້ອງຂໍຜ່ານ API ຕົວຈິງ ເພື່ອໃຫ້ທ່ານສາມາດເຫັນຜົນຕອບຮັບທີ່ແທ້ຈິງໄດ້. ເປີດຈຸດສິ້ນສຸດນີ້ໃນຄອນໂສລ API

ລາຍລະອຽດ

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

ເນື້ອຫາຂອງຄຳຮ້ອງ

ຊື່ປະເພດຕ້ອງການສິ່ງທີ່ມັນເປັນ
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 · 422 · 429