KumkuatKumkuat
API reference › Reports

Generate all stale sections

POST/api/v1/reports/{report_id}/generate

POST/api/v1/reports/{report_id}/generate

Generate all stale sections

Regenerate all stale sections of a report. Returns cached output for fresh sections.

PARAMETERS
report_idpath · stringREQUIRED
Custom report id.
e.g. string
modelquery · string
Model override.
e.g. string
forcequery · string
Set to 1 to regenerate sections that are not stale.
e.g. string
In the full reference
REQUEST
curl -X POST "https://gateway.kumkuat.ai/api/v1/reports/string/generate" \
  -H "X-API-Key: YOUR_KEY"
RESPONSE
200OK
{
  "errors": [
    {}
  ],
  "generated_count": 1,
  "report": {
    "created_at": "string",
    "id": "string",
    "is_template": false,
    "layout_config": {},
    "title": "Weekly narrative scorecard",
    "updated_at": "string",
    "workspace_id": "string"
  },
  "stale_count": 1
}
Try it — sign in first
Runs on a sandbox key: 2000 requests a month. Your real key is for production.