Dashboard
Get success rate trend data
Retrieve 7-day rolling average trend of simulation outcomes for visualization. Returns daily aggregated data showing successful vs failed runs.
get/dashboard/success-rate-trend
Request
- Base URLhttps://api-trial.cognigy.ai/testing
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
projectIdstring required
Project identifier
scenarioIdsstring[]
Filter by scenario/simulation reference IDs (comma-separated or array). If not provided, includes all scenarios.
timeWindow'7d' | '30d' | '3m'
Time window for data aggregation. Options: 7d (last 7 days), 30d (last 30 days), 3m (last 3 months)
Response
Success rate trend data retrieved successfully
Example response
{
"data": [
{
"date": "2024-01-15",
"totalRuns": 25,
"successfulRuns": 22,
"failedRuns": 3,
"successPercentage": 88
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.