cURL
curl --request POST \ --url https://connvo-dev.convex.cloud/api/run/monitoring/performanceQueries/getPerformanceTrends \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "args": { "bucketSizeMs": 123, "functionName": "<string>", "timeWindowMs": 123 } } '
{ "status": "success", "errorMessage": "<string>", "errorData": {}, "value": { "timeSeries": [ { "avgLatency": 123, "callCount": 123, "errorCount": 123, "p95Latency": 123, "successRate": 123, "timestamp": 123 } ], "trends": { "errorTrend": "improving", "latencyTrend": "improving", "throughputTrend": "increasing" } } }
Performance trend analysis
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