API resources
Operations
Poll asynchronous work using an opaque operation ID.
Request
bash
curl https://app.trovv.io/api/v1/operations/OPERATION_ID -H "Authorization: Bearer $TROVV_API_KEY"States
- accepted, queued, running, partially_succeeded, succeeded, failed, uncertain, cancelled
Polling
Use bounded exponential backoff and stop at a terminal state. Keep the operation ID and request ID together. Webhook events can replace polling for supported lifecycle events.
Was this page helpful?