POST/api/v1/reports
Create a custom report
REQUEST BODY · APPLICATION/JSON · REQUIRED
{
"title": "Weekly narrative scorecard"
}
REQUEST
curl -X POST "https://gateway.kumkuat.ai/api/v1/reports" \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Weekly narrative scorecard"
}'
import requests
r = requests.post("https://gateway.kumkuat.ai/api/v1/reports", headers={"X-API-Key": "YOUR_KEY"}, json={
"title": "Weekly narrative scorecard"
})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://gateway.kumkuat.ai/api/v1/reports", {
method: "POST",
headers: { "X-API-Key": "YOUR_KEY", "Content-Type": "application/json" },
body: JSON.stringify({
"title": "Weekly narrative scorecard"
})
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
201Created
{
"auto_generated": true,
"report": {
"created_at": "string",
"id": "string",
"is_template": false,
"layout_config": {},
"title": "Weekly narrative scorecard",
"updated_at": "string",
"workspace_id": "string"
}
}
