Authentifizierung
Senden Sie einen API-Schlüssel als Bearer-Token. Der Schlüssel muss über die Berechtigung links.edit verfügen; ein Schlüssel ohne diese wird mit 403 statt 404 abgelehnt.
Hier kommt Ihre Organisations-ID hin
Dieser Endpunkt akzeptiert org_id als Feld im JSON-Body.
Die ID Ihrer Organisation finden Sie im Dashboard auf dem Bildschirm für API-Schlüssel direkt neben dem Schlüssel selbst. Sie ist bei jedem Ihrer Aufrufe dieselbe.
Ausprobieren
Ersetzen Sie alles in spitzen Klammern durch Ihre eigenen Werte und den Platzhalter für den Schlüssel durch einen Schlüssel aus Ihrem Dashboard.
curl -X POST https://api.zinndigital.com/v1/ai/recipes \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "name": <string> }'Angemeldet? Die API-Konsole in Ihrem Dashboard trägt automatisch Ihre echte Organisations-ID sowie Ihren eigenen Schlüssel ein und führt die Anfrage gegen die Live-API aus, sodass Sie die tatsächliche Antwort sehen können. Öffnen Sie diesen Endpunkt in der API-Konsole
Details
⛔ 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.
Anfragekörper
| Name | Typ | Erforderlich | Was es ist |
|---|---|---|---|
name | string | Ja | — |
is_enabled | boolean | Nein | — |
brief | string | Nein | — |
tone | string | Nein | — |
word_count | integer | Nein | — |
language | string | Nein | — |
posts_per_run | integer | Nein | — |
provider | string | Nein | — |
model_id | string | Nein | — |
model_family | string | Nein | — |
anchors | AiAnchor[] | Nein | — |
anchor_policy | string<none, every_post, rotate> | Nein | — |
link_set_id | string | Nein | 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> | Nein | — |
cadence_hour_utc | integer | Nein | — |
cadence_dow | integer | Nein | — |
cadence_dom | integer | Nein | — |
target_kind | string<none, sites, site_group, cms_targets> | Nein | — |
target_sites | string[] | Nein | — |
target_site_group_id | object | Nein | — |
target_cms_target_ids | string[] | Nein | — |
target_category | string | Nein | — |
requires_capabilities | string[] | Nein | — |
capability_policy | string<refuse, degrade, ask> | Nein | — |
image_provider | string | Nein | — |
image_model | string | Nein | — |
featured_image | boolean | Nein | — |
inline_image_count | integer | Nein | — |
inline_placement | string<after_intro, between_sections, end> | Nein | — |
image_style | string | Nein | — |
publish_mode | string<draft, schedule, publish> | Nein | — |
schedule_offset_hours | integer | Nein | — |
schedule_stagger_minutes | integer | Nein | — |
org_id | Uuid | Nein | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
Antwort
| Name | Typ | Erforderlich | Was es ist |
|---|---|---|---|
id | Uuid | Ja | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
name | string | Ja | — |
is_enabled | boolean | Ja | — |
brief | string | Nein | — |
tone | string | Nein | — |
word_count | integer | Nein | — |
language | string | Nein | BCP-47, or empty for "the language the brief is written in". |
posts_per_run | integer | Nein | ⛔ 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 | Nein | Blank = whatever the funding route resolves to. |
model_id | string | Nein | Blank = the newest verified model in the family. |
model_family | string | Nein | — |
anchors | AiAnchor[] | Nein | — |
anchor_policy | string<none, every_post, rotate> | Nein | — |
link_set_id | string | Nein | 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> | Ja | — |
cadence_hour_utc | integer | Nein | — |
cadence_dow | integer | Nein | 0 = Monday. |
cadence_dom | integer | Nein | ⛔ 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 | Nein | — |
last_run_at | object | Nein | — |
target_kind | string<none, sites, site_group, cms_targets> | Nein | — |
target_sites | string[] | Nein | — |
target_site_group_id | object | Nein | — |
target_cms_target_ids | string[] | Nein | — |
target_category | string | Nein | — |
requires_capabilities | string[] | Nein | 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> | Nein | 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 | Nein | — |
image_model | string | Nein | — |
featured_image | boolean | Nein | — |
inline_image_count | integer | Nein | — |
inline_placement | string<after_intro, between_sections, end> | Nein | — |
image_style | string | Nein | — |
publish_mode | string<draft, schedule, publish> | Ja | ⚖️ 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 | Nein | — |
schedule_stagger_minutes | integer | Nein | 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[] | Nein | 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 | Ja | — |
updated_at | string | Nein | — |
Fehler, die dieser Endpunkt zurückgeben kann
401 · 403 · 422 · 429