List Reports
GEThttps://api.confident-ai.com/v2/reports
Lists the reports in your Confident AI project one page at a time, newest first, without their sections. Narrow the page with reportTemplateId, status, or a startDate/endDate window; retrieve a report by id to read its sections.
curl -X GET "https://api.confident-ai.com/v2/reports" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"reports": [
{
"id": "<REPORT-ID>",
"reportTemplateId": "<REPORT-TEMPLATE-ID>",
"status": "IN_PROGRESS",
"error": null,
"metadata": {
"reportTitle": "Weekly Health Check",
"description": "Production health for the last week.",
"dateRange": {
"startDate": "2025-01-01T00:00:00.000Z",
"endDate": "2025-01-08T00:00:00.000Z"
},
"generatedAt": "2025-01-08T00:00:00.000Z"
},
"createdAt": "2025-01-08T00:00:00.000Z",
"updatedAt": "2025-01-08T00:00:00.000Z"
}
],
"totalReports": 12,
"page": 1,
"pageSize": 25
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Query parameters
reportTemplateIdstringOnly return reports written under this report template.
statusenumstartDatestringOnly return reports created at or after this ISO 8601 datetime.
endDatestringOnly return reports created at or before this ISO 8601 datetime.
pageintegerdefault: 1The page to return. Defaults to 1.
pageSizeintegerdefault: 25The number of results per page, at most 100. Defaults to 25.
Response
List Reports succeeded.
successbooleanIndicates if the request was successful.
dataobjectOne page of reports, with the total across all pages.
Show 4 propertiesHide 4 properties
reportslist of objectsThe reports for the current page, newest first.
Show 7 propertiesHide 7 properties
idstringThe id of the report, generated by Confident AI.
reportTemplateIdstring | nullThe id of the report template this report is written under, or null once that template has been deleted, which leaves the report unreachable on the platform.
statusenumWhere a report is in its life: IN_PROGRESS while its sections are still being written, COMPLETED once it is readable, ERRORED when writing it failed.
Show 3 enum valuesHide 3 enum values
IN_PROGRESSCOMPLETEDERRORED
errorstring | nullWhy the report failed, when it did.
metadataobject | nullThe report's stored header information. A field the report was written without comes back as null.
Show 4 propertiesHide 4 properties
reportTitlestring | nullThe report's title, as rendered in its header.
descriptionstring | nullOne line on what the report covers.
dateRangeobject | nullThe window a report describes, shown in its header.
Show 2 propertiesHide 2 properties
startDatestringThe start of the window, as an ISO 8601 datetime.
endDatestringThe end of the window, as an ISO 8601 datetime.
generatedAtstring | nullWhen the report was written. Always stamped by Confident AI.
createdAtstringWhen the report was created.
updatedAtstringWhen the report was last updated.
totalReportsintegerThe total number of reports matching the filters.
pageintegerThe page this response covers.
pageSizeintegerThe number of reports per page.
deprecatedbooleanIndicates if this endpoint is deprecated.