ai

PATCH /v1/ai/recipes/{recipeId}

Edit an AI posting recipe.

모든 ai 엔드포인트

인증

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

요청 본문

이름유형필수설명
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).

응답

이름유형필수설명
idUuidUUIDv7 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 · 422 · 429