cURL
curl --request POST \ --url https://connvo-dev.convex.cloud/api/run/realtime/batchedOperations/flushAllBatches \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "args": {} }'
{ "status": "success", "errorMessage": "<string>", "errorData": {}, "value": "<string>" }
Flush all pending batches (for testing or shutdown)
Standard user authentication token issued via WorkOS. Provide as Authorization: Bearer <user-token>.
Authorization: Bearer <user-token>
Convex executed your request and returned a result
success
error