Report status and retrieval
Steps
- Call
intelligenceReport(id)with thereport.idfrom the request. - Read
generationStatus. Continue to poll while the value isIN_PROGRESS. - When the value is
SUCCESS, read the report content in the same query. - When the value is
ERROR, readgenerationErrors[].message.
Sample request
query ReportStatus {
intelligenceReport(id: "<report-id>") {
id
name
generationStatus
finishedAt
generationErrors {
message
}
}
}
Sample response
{
"data": {
"intelligenceReport": {
"id": "<report-id>",
"name": "Example Industries — supplier risk",
"generationStatus": "SUCCESS",
"finishedAt": "2026-09-02T09:12:00Z",
"generationErrors": []
}
}
}
Next call: none. Query the content fields of the report type you requested. See the IntelligenceReport interface and its implementations in the Craft API reference.
Error example
{
"data": {
"intelligenceReport": {
"id": "<report-id>",
"generationStatus": "ERROR",
"finishedAt": "2026-09-02T09:12:00Z",
"generationErrors": [{ "message": "Source data unavailable for this company" }]
}
}
}