Skip to main content
POST
Generate content for prompts

Authorizations

x-api-key
string
header
required

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
promptIds
string[]
required

Prompts to generate content for. Prompt text is loaded server-side; ids must belong to the product.

Required array length: 1 - 25 elements
Minimum string length: 1
productId
string

Product ID. Provide exactly one of productId or productSlug.

Minimum string length: 1
productSlug
string

Product slug. Provide exactly one of productId or productSlug.

Minimum string length: 1
contentType
enum<string>
Available options:
recommended,
solution-recommendation,
comparison,
explainer,
implementation-guide,
decision-guide,
use-case-workflow,
listicle,
solution-guide,
code-example,
code-decision-guide,
compatibility,
faq,
custom
customRuleDocPath
string
Minimum string length: 1
brandPositioning
enum<string>
Available options:
soft-sell,
hard-sell,
neutral
systemPrompt
string
Maximum string length: 10000

Response

Successful response

ok
enum<boolean>
required
Available options:
true
data
object
required