API Reference
Trigger content generation for a brief
AuthorizationBearer <token>
Session JWT signed with HS256. Verification pins the algorithm and rejects expired tokens, per RFC8725.
In: header
Path Parameters
domainId*string
Domain ID
briefId*string
Brief ID
Header Parameters
Idempotency-Key?string
One key per user action, 1 to 255 printable ASCII characters. A retry that sends the same key and the same request gets the first response back, with the Idempotent-Replayed header, instead of running again.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/domains/string/content-briefs/string/content/generate" \ -H "Content-Type: application/json" \ -d '{}'{ "briefId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "status": "running", "articleId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "progress": 60, "currentStep": "Generating sections", "error": "Source crawl timed out"}