Browse documentation
Start an idempotent content generation job.
POST /v1/brands/{brand_id}/content/generations (content:generate, beta)
Headers: Idempotency-Key (required), Content-Type: application/json.
Body | Rules |
|---|---|
| one of the 11 formats and in |
| UUID of a content_topic recommendation in this brand |
|
|
| optional, ≤ 4,000 chars; treated as untrusted data and never placed in a system prompt |
|
|
|
|
|
|
| boolean (default false) |
At least one source is required. There are no model, provider or URL fields.
Processing order: write capability (scope + api.generation.enabled + enrollment) → brand authorization → content-type allowlist → source resolution in the brand → idempotency → atomic job admission (credits + concurrency + row) → audit → enqueue.
Response 202:
Poll GET /v1/jobs/{job_id}. When it succeeds, read GET …/content/{result.content_id}?include=body.