This uses AI credits. The article is written asynchronously — the call returns a
slug immediately. Poll Start Generation until it finishes, then read it with Get Article.How it works
- Provide a
title, atopicId(the topic cluster the article belongs to), alengthtier, and optionally a tone orcustomInstructions. - The outline, target keywords, and FAQ prompts are generated for you — you don’t need to provide or author them.
- A draft is created and generation starts. The response is
{ slug, articleId, generating, started, status }(plusrequiredCredits/message/alreadyRunningwhen relevant). - Poll the status with that
slug; when it is no longer generating, fetch the finished article.
Notes
- Topic is required. Every article belongs to a topic cluster. Pass a
topicIdfrom Topics, or create one with Create Topic. The topic name is taken from the cluster. - Length sets the cost. Choose a
lengthtier — short (~100 credits), medium (~200), or long (~300). - Custom instructions (
customInstructions) are optional, per-article writing guidance. Your brand’s default content guidelines (Brand Settings → About) are always applied automatically. - Language is optional. Omit it and the article uses your brand’s Writing Language (Settings → Content & CMS → Articles), falling back to your brand’s default language. Pass a language code such as
esto write this one article in a different language. Codes are usually two letters, with three exceptions: Chinese iszh_CNorzh_TW, and Hebrew isiw(the legacy code, nothe). Whichever applies is recorded on the article, so later refreshes, audits, and editor commands stay in that language even if the brand setting changes. - Set
startGeneration: falseto create the draft only, then call Start Generation later.

