List Report Templates
GEThttps://api.confident-ai.com/v1/report-templates
Lists the report templates in your Confident AI project, oldest first. Fetch a single template for its sections.
curl -X GET "https://api.confident-ai.com/v1/report-templates" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"reportTemplates": [
{
"id": "REPORT-TEMPLATE-ID",
"name": "Weekly Health Check",
"description": "Give me an overall health check for the last week.",
"type": "EXECUTIVE_REPORT",
"enabled": true,
"createdAt": "2024-01-01T00:00:00.000Z"
}
]
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Response
The report templates in your project.
successbooleanIndicates if the request was successful.
dataobjectThe report templates in your project.
Show 1 propertyHide 1 property
reportTemplateslist of objectsThe list of report templates.
Show 6 propertiesHide 6 properties
idstringThe unique identifier of the report template.
namestringThe name of the report template.
descriptionstringThe question the report answers, which drives what data the generator retrieves.
typeenumThe kind of report this template generates.
Show 1 enum valueHide 1 enum value
EXECUTIVE_REPORT
enabledbooleanWhether the template's schedule is enabled. A disabled template generates nothing.
createdAtstringWhen the report template was created.
deprecatedbooleanIndicates if this endpoint is deprecated.