ማረጋገጫ
የAPI ቁልፉን እንደ bearer token ይላኩ። ቁልፉ የlinks.edit ፈቃድ ሊኖረው ይገባል፤ ይህ ፈቃድ የሌለው ቁልፍ በ404 ሳይሆን በ403 ውድቅ ይደረጋል።
የድርጅትዎ መታወቂያ የሚገባበት ቦታ
ይህ ማቆሚያ ነጥብ (endpoint) org_idን በJSON አካል ውስጥ እንደ ሜዳ ይወስዳል።
የድርጅትዎ መለያ ቁጥር (ID) በዳሽቦርድዎ ላይ በሚገኙት የኤፒአይ ቁልፎች (API keys) ማያ ገጽ ላይ ከቁልፉ አጠገብ ይገኛል። በሚያደርጉት እያንዳንዱ ጥያቄ ላይ የሚጠቀሙበት መለያ ቁጥር አንድ አይነት ነው።
ሞክሩት
በቅንፍ ውስጥ ያለውን ማንኛውንም ነገር በራስዎ እሴቶች ይተኩ፣ እና ቁልፍ ቦታ ያዢውን ከዳሽቦርድዎ በመጣ ቁልፍ ይተኩ።
curl -X POST https://api.zinndigital.com/v1/ai/recipes \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "name": <string> }'ገብተዋል? የመቆጣጠሪያ ማዕከልዎ ውስጥ ያለው የኤፒአይ ኮንሶል ትክክለኛውን የድርጅት መታወቂያዎን እና የራስዎን ቁልፍ ይሞላል፣ እና ትክክለኛውን ምላሽ ማየት እንዲችሉ ጥያቄውን በቀጥታ ከሚሰራው ኤፒአይ ጋር ያካሂደዋል። ይህን ኤንድፖይንት በ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.
የጥያቄ አካል
| ስም | ዓይነት | የሚያስፈልግ | ምንነቱ |
|---|---|---|---|
name | string | አዎ | — |
is_enabled | boolean | አይ | — |
brief | string | አይ | — |
tone | string | አይ | — |
word_count | integer | አይ | — |
language | string | አይ | — |
posts_per_run | integer | አይ | — |
provider | string | አይ | — |
model_id | string | አይ | — |
model_family | string | አይ | — |
anchors | AiAnchor[] | አይ | — |
anchor_policy | string<none, every_post, rotate> | አይ | — |
link_set_id | string | አይ | 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… |
cadence | string<manual, daily, weekly, monthly> | አይ | — |
cadence_hour_utc | integer | አይ | — |
cadence_dow | integer | አይ | — |
cadence_dom | integer | አይ | — |
target_kind | string<none, sites, site_group, cms_targets> | አይ | — |
target_sites | string[] | አይ | — |
target_site_group_id | object | አይ | — |
target_cms_target_ids | string[] | አይ | — |
target_category | string | አይ | — |
requires_capabilities | string[] | አይ | — |
capability_policy | string<refuse, degrade, ask> | አይ | — |
image_provider | string | አይ | — |
image_model | string | አይ | — |
featured_image | boolean | አይ | — |
inline_image_count | integer | አይ | — |
inline_placement | string<after_intro, between_sections, end> | አይ | — |
image_style | string | አይ | — |
publish_mode | string<draft, schedule, publish> | አይ | — |
schedule_offset_hours | integer | አይ | — |
schedule_stagger_minutes | integer | አይ | — |
org_id | Uuid | አይ | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
ምላሽ
| ስም | ዓይነት | የሚያስፈልግ | ምንነቱ |
|---|---|---|---|
id | Uuid | አዎ | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
name | string | አዎ | — |
is_enabled | boolean | አዎ | — |
brief | string | አይ | — |
tone | string | አይ | — |
word_count | integer | አይ | — |
language | string | አይ | BCP-47, or empty for "the language the brief is written in". |
posts_per_run | integer | አይ | ⛔ 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. |
provider | string | አይ | Blank = whatever the funding route resolves to. |
model_id | string | አይ | Blank = the newest verified model in the family. |
model_family | string | አይ | — |
anchors | AiAnchor[] | አይ | — |
anchor_policy | string<none, every_post, rotate> | አይ | — |
link_set_id | string | አይ | 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… |
cadence | string<manual, daily, weekly, monthly> | አዎ | — |
cadence_hour_utc | integer | አይ | — |
cadence_dow | integer | አይ | 0 = Monday. |
cadence_dom | integer | አይ | ⛔ 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_at | object | አይ | — |
last_run_at | object | አይ | — |
target_kind | string<none, sites, site_group, cms_targets> | አይ | — |
target_sites | string[] | አይ | — |
target_site_group_id | object | አይ | — |
target_cms_target_ids | string[] | አይ | — |
target_category | string | አይ | — |
requires_capabilities | string[] | አይ | 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_policy | string<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_provider | string | አይ | — |
image_model | string | አይ | — |
featured_image | boolean | አይ | — |
inline_image_count | integer | አይ | — |
inline_placement | string<after_intro, between_sections, end> | አይ | — |
image_style | string | አይ | — |
publish_mode | string<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_hours | integer | አይ | — |
schedule_stagger_minutes | integer | አይ | Minutes between consecutive posts in one run. ⛔ Not cosmetic: a network whose articles all appear in the same minute is a footprint. |
blocking_providers | string[] | አይ | 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_at | string | አዎ | — |
updated_at | string | አይ | — |
ይህ ማብቂያ ሊመልሳቸው የሚችሉ ስህተቶች
401 · 403 · 422 · 429