Generate content for prompts
Content
Generate content for prompts
Start the content-generation agent for one or more prompts. Each prompt gets a draft (returned with its draftId and runId); generated content lands in the review queue as pending_review, never published directly. Poll GET /api/v1/content/{draftId} until generationStatus is completed or failed.
POST
Generate content for prompts
Authorizations
Organization-scoped API key. Available scopes:
- content:read: Read site pages, markdown content, and llms.txt files
- content:write: Create, update, and delete site pages and content
- prompts:read: Read prompts, topics, and prompt analysis results
- prompts:write: Create, update, archive prompts
- simulations:read: Read agent-simulation tasks, runs, environments, and analytics
- simulations:write: Create and trigger simulation runs
- logs:read: Read AI-traffic logs and request-level audit events
- analytics:read: Read analytics aggregates (rankings, mentions, sources, SOV)
- analytics:write: Write events to analytics
- products:read: Read product metadata and competitor data
- products:write: Update product settings and competitor lists
Body
application/json
Prompts to generate content for. Prompt text is loaded server-side; ids must belong to the product.
Required array length:
1 - 25 elementsMinimum string length:
1Product ID. Provide exactly one of productId or productSlug.
Minimum string length:
1Product slug. Provide exactly one of productId or productSlug.
Minimum string length:
1Available options:
recommended, solution-recommendation, comparison, explainer, implementation-guide, decision-guide, use-case-workflow, listicle, solution-guide, code-example, code-decision-guide, compatibility, faq, custom Minimum string length:
1Available options:
soft-sell, hard-sell, neutral Maximum string length:
10000