cURL
curl --request POST \ --url https://connvo-dev.convex.cloud/api/run/monitoring/performanceQueries/getFunctionPerformanceBreakdown \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "args": { "timeWindowMs": 123 } } '
{ "status": "success", "errorMessage": "<string>", "errorData": {}, "value": { "functions": [ { "avgExecutionTime": 123, "callCount": 123, "errorCount": 123, "functionName": "<string>", "p95ExecutionTime": 123, "p99ExecutionTime": 123, "sloBreaches": 123, "sloCompliant": true, "successRate": 123 } ], "summary": { "overallSuccessRate": 123, "sloComplianceRate": 123, "sloCompliantFunctions": 123, "totalCalls": 123, "totalFunctions": 123 } } }
Function-level performance breakdown
Standard user authentication token issued via WorkOS. Provide as Authorization: Bearer <user-token>.
Authorization: Bearer <user-token>
Show child attributes
Convex executed your request and returned a result
success
error