Skip to main content
POST
Generate Atomic Content

Authorizations

Authorization
string
header
required

API key starting with sk_. Generate one in Settings > API Keys.

Path Parameters

id
string
required

Content ID.

Body

application/json
type
enum<string>
required

Generation type: optimize (rewrite) or replace (from scratch).

Available options:
optimize,
replace
settings
object

Optional generation settings.

Response

202 - application/json

Default Response

id
string
required

Unique identifier of the content generation.

status
enum<string>
required

Current status of the generation.

Available options:
queued,
pending,
review,
success,
failed,
cancelled