curl --request POST \
--url https://api.avidoai.com/v0/reporting \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>' \
--data '
{
"title": "Monthly Performance Report",
"description": "Comprehensive analysis of AI model performance for December 2024",
"assignee": "user_789012",
"query": {
"datasource": "task",
"timezone": "America/New_York",
"filters": [
{
"type": "string",
"column": "type",
"operator": "eq",
"value": [
"STATIC"
]
}
],
"groupBy": [
{
"column": "type",
"type": "string"
},
{
"column": "createdAt",
"type": "date",
"dateTrunc": "month"
}
],
"measurements": [
{
"type": "count"
},
{
"type": "avg",
"column": "score"
}
],
"orderBy": [
{
"column": "createdAt",
"direction": "desc"
},
{
"column": "count",
"direction": "asc"
}
]
}
}
'{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"orgId": "org_123456",
"applicationId": "456e7890-e89b-12d3-a456-426614174000",
"title": "Monthly Performance Report",
"description": "Comprehensive analysis of AI model performance for December 2024",
"assignee": "user_789012",
"createdAt": "2024-01-05T12:34:56.789Z",
"modifiedAt": "2024-01-05T12:34:56.789Z"
}
}Creates a new report.
curl --request POST \
--url https://api.avidoai.com/v0/reporting \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>' \
--data '
{
"title": "Monthly Performance Report",
"description": "Comprehensive analysis of AI model performance for December 2024",
"assignee": "user_789012",
"query": {
"datasource": "task",
"timezone": "America/New_York",
"filters": [
{
"type": "string",
"column": "type",
"operator": "eq",
"value": [
"STATIC"
]
}
],
"groupBy": [
{
"column": "type",
"type": "string"
},
{
"column": "createdAt",
"type": "date",
"dateTrunc": "month"
}
],
"measurements": [
{
"type": "count"
},
{
"type": "avg",
"column": "score"
}
],
"orderBy": [
{
"column": "createdAt",
"direction": "desc"
},
{
"column": "count",
"direction": "asc"
}
]
}
}
'{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"orgId": "org_123456",
"applicationId": "456e7890-e89b-12d3-a456-426614174000",
"title": "Monthly Performance Report",
"description": "Comprehensive analysis of AI model performance for December 2024",
"assignee": "user_789012",
"createdAt": "2024-01-05T12:34:56.789Z",
"modifiedAt": "2024-01-05T12:34:56.789Z"
}
}Your unique Avido API key
Your unique Avido Application ID
Request body for creating a new report
Title of the report
"Monthly Performance Report"
Detailed description of the report
"Comprehensive analysis of AI model performance for December 2024"
User ID of the person assigned to this report
"user_789012"
Optional reporting query configuration defining datasource, filters, groupBy, measurements, and ordering
Show child attributes
Successfully created report
Successful response containing the report data
A report for tracking and analyzing AI application performance
Show child attributes