ai

POST /v1/ai/recipes

Create an AI posting recipe.

ಎಲ್ಲಾ ai ಎಂಡ್‌ಪಾಯಿಂಟ್‌ಗಳು

ದೃಢೀಕರಣ

ಬೇರರ್ ಟೋಕನ್ ಆಗಿ API ಕೀಯನ್ನು ಕಳುಹಿಸಿ. ಕೀಯು links.edit ಅನುಮತಿಯನ್ನು ಹೊಂದಿರಬೇಕು; ಅದನ್ನು ಹೊಂದಿರದ ಕೀಯನ್ನು 404 ಬದಲಿಗೆ 403 ನೊಂದಿಗೆ ತಿರಸ್ಕರಿಸಲಾಗುತ್ತದೆ.

ನಿಮ್ಮ ಸಂಸ್ಥೆಯ ಐಡಿ ಬರುವ ಸ್ಥಳ

ಈ ಎಂಡ್‌ಪಾಯಿಂಟ್ JSON ಬಾಡಿಯಲ್ಲಿ ಒಂದು ಕ್ಷೇತ್ರವಾಗಿ org_id ಅನ್ನು ತೆಗೆದುಕೊಳ್ಳುತ್ತದೆ.

ನಿಮ್ಮ ಸಂಸ್ಥೆಯ ಐಡಿಯು ನಿಮ್ಮ ಡ್ಯಾಶ್‌ಬೋರ್ಡ್‌ನಲ್ಲಿರುವ API ಕೀಗಳ ಪರದೆಯ ಮೇಲೆ, ಕೀ ಯ ಪಕ್ಕದಲ್ಲೇ ಇರುತ್ತದೆ. ನೀವು ಮಾಡುವ ಪ್ರತಿಯೊಂದು ಕರೆ(call)ಯಲ್ಲೂ ಇದು ಒಂದೇ ಐಡಿ ಆಗಿರುತ್ತದೆ.

ಪ್ರಯತ್ನಿಸಿ

ಕೋನೀಯ ಬ್ರಾಕೆಟ್‌ಗಳಲ್ಲಿರುವ ಯಾವುದೇ ಅಂಶವನ್ನು ನಿಮ್ಮ ಸ್ವಂತ ಮೌಲ್ಯಗಳೊಂದಿಗೆ ಮತ್ತು ಕೀ ಪ್ಲೇಸ್‌ಹೋಲ್ಡರ್ ಅನ್ನು ನಿಮ್ಮ ಡ್ಯಾಶ್‌ಬೋರ್ಡ್‌ನಲ್ಲಿರುವ ಕೀಯೊಂದಿಗೆ ಬದಲಾಯಿಸಿ.

curl -X POST https://api.zinndigital.com/v1/ai/recipes \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "name": <string> }'

ಸೈನ್ ಇನ್ ಆಗಿದ್ದೀರಾ? ನಿಮ್ಮ ಡ್ಯಾಶ್‌ಬೋರ್ಡ್‌ನಲ್ಲಿರುವ API ಕನ್ಸೋಲ್ ನಿಮ್ಮ ನೈಜ ಸಂಸ್ಥೆಯ ID ಮತ್ತು ನಿಮ್ಮ ಸ್ವಂತ ಕೀಲಿಯನ್ನು ಭರ್ತಿ ಮಾಡುತ್ತದೆ, ಮತ್ತು ಲೈವ್ API ವಿರುದ್ಧ ವಿನಂತಿಯನ್ನು ರನ್ ಮಾಡುತ್ತದೆ ಆದ್ದರಿಂದ ನೀವು ನಿಜವಾದ ಪ್ರತಿಕ್ರಿಯೆಯನ್ನು ನೋಡಬಹುದು. 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.

ಅನ್ವಯದ ದೇಹ

ಹೆಸರುಪ್ರಕಾರಅಗತ್ಯವಿದೆಏನಿದು
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).

ಪ್ರತಿಕ್ರಿಯೆ

ಹೆಸರುಪ್ರಕಾರಅಗತ್ಯವಿದೆಏನಿದು
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 · 422 · 429