curl --request GET \
--url https://api.testdino.com/api/public/v1/{projectId}/analytics/test-cases/performance \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"metadata": {
"dateRange": "<string>",
"selectedBranches": [
"<string>"
],
"totalUniqueTestCases": 123,
"totalTestCaseExecutions": 123,
"baselineDuration": 123,
"baselineCalculationMethod": "<string>",
"categoryDistributionMethod": "<string>",
"categoryThresholds": {
"excellent": {
"min": 123,
"max": 123
},
"good": {
"min": 123,
"max": 123
},
"average": {
"min": 123,
"max": 123
},
"poor": {
"min": 123,
"max": 123
},
"critical": {
"min": 123,
"max": null
}
}
},
"categoryCounts": {
"excellent": 123,
"good": 123,
"average": 123,
"poor": 123,
"critical": 123
},
"poorTests": [
{
"title": "<string>",
"fileName": "<string>",
"filePath": "<string>",
"averageDuration": 123,
"executionCount": 123
}
],
"criticalTests": [
{
"title": "<string>",
"fileName": "<string>",
"filePath": "<string>",
"averageDuration": 123,
"executionCount": 123
}
]
}
}Test case execution performance trends over time.
Returns duration trends, pass/fail rate changes, and performance regressions per test case. Use it to track whether your suite is getting faster or slower, or to flag individual tests that are degrading.
curl --request GET \
--url https://api.testdino.com/api/public/v1/{projectId}/analytics/test-cases/performance \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"metadata": {
"dateRange": "<string>",
"selectedBranches": [
"<string>"
],
"totalUniqueTestCases": 123,
"totalTestCaseExecutions": 123,
"baselineDuration": 123,
"baselineCalculationMethod": "<string>",
"categoryDistributionMethod": "<string>",
"categoryThresholds": {
"excellent": {
"min": 123,
"max": 123
},
"good": {
"min": 123,
"max": 123
},
"average": {
"min": 123,
"max": 123
},
"poor": {
"min": 123,
"max": 123
},
"critical": {
"min": 123,
"max": null
}
}
},
"categoryCounts": {
"excellent": 123,
"good": 123,
"average": 123,
"poor": 123,
"critical": 123
},
"poorTests": [
{
"title": "<string>",
"fileName": "<string>",
"filePath": "<string>",
"averageDuration": 123,
"executionCount": 123
}
],
"criticalTests": [
{
"title": "<string>",
"fileName": "<string>",
"filePath": "<string>",
"averageDuration": 123,
"executionCount": 123
}
]
}
}Project PAT (tdp_) token with public-api scope
The project identifier (e.g. project_abc123). Must match the project associated with your PAT.
Predefined date range filter. Takes precedence over startDate/endDate if both are provided. For custom ranges, omit this and use startDate+endDate instead.
7d, 14d, 30d, 60d, 90d Filter results by environment name (e.g. production, staging). Use the /filters endpoint to discover available environments.
Comma-separated branches to scope performance data within the selected environment.
Start of a custom date range (ISO 8601 date, e.g. 2026-03-01). Must be used together with endDate. Ignored if dateRange is also provided.
End of a custom date range (ISO 8601 date, e.g. 2026-03-31). Must be used together with startDate. Ignored if dateRange is also provided.
Was this page helpful?