ai

GET /v1/ai/recipes/{recipeId}

One AI posting recipe.

จุดสิ้นสุด ai ทั้งหมด

การยืนยันตัวตน

ส่ง API key ในรูปแบบ bearer token คีย์ดังกล่าวต้องมีสิทธิ์ links.view หากไม่มีสิทธิ์ ระบบจะปฏิเสธด้วยรหัส 403 แทนที่จะเป็น 404

ปลายทางนี้ไม่ต้องใช้รหัสองค์กร คีย์ของคุณระบุองค์กรที่เป็นเจ้าของอยู่แล้ว และการตอบกลับจะถูกจำกัดขอบเขตไว้เฉพาะองค์กรนั้น

ทดลองใช้เลย

แทนที่สิ่งใดๆ ที่อยู่ภายในวงเล็บแหลมด้วยค่าของคุณเอง และตัวยึดตำแหน่งคีย์ด้วยคีย์จากแดชบอร์ดของคุณ

curl -X GET https://api.zinndigital.com/v1/ai/recipes/{recipeId} \
  -H "Authorization: Bearer zdk_live_…"

เข้าสู่ระบบแล้วใช่ไหม คอนโซล API ในแดชบอร์ดของคุณจะเติมรหัสองค์กรจริงและคีย์ของคุณเองโดยอัตโนมัติ และทำการส่งคำขอไปยัง API จริง เพื่อให้คุณเห็นผลลัพธ์ที่เป็นข้อมูลจริง เปิดจุดสิ้นสุดนี้ในคอนโซล API

รายละเอียด

Requires `links.view`.

พารามิเตอร์

ชื่อประเภทจำเป็นต้องมีลักษณะของสิ่งนี้
recipeId (path)Uuidใช่

การตอบกลับ

ชื่อประเภทจำเป็นต้องมีลักษณะของสิ่งนี้
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 · 429