인증
Bearer 토큰으로 API 키를 전송하세요. 키는 반드시 links.edit 권한을 가지고 있어야 하며, 권한이 없는 키는 404가 아닌 403으로 거부됩니다.
조직 ID가 들어가는 위치
이 엔드포인트는 JSON 본문의 필드로 org_id을(를) 받습니다.
조직 ID는 대시보드의 API 키 화면에서 키 바로 옆에 있습니다. 이는 실행하는 모든 호출에서 동일한 ID입니다.
무료 체험하기
대괄호 안에 있는 모든 내용을 사용자 지정 값으로 바꾸고, 키 플레이스홀더는 대시보드의 키로 바꾸세요.
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 콘솔이 실제 조직 ID와 본인의 키를 자동으로 채우고 라이브 API를 대상으로 요청을 실행하므로 실제 응답을 확인할 수 있습니다. 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 | 예 | — |
요청 본문
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
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 · 404 · 422 · 429