Skip to content

Operations

GET /v1/operations/{id} · scope operations:read

Reads consult the real backend, with a 2 s cache. If the backend does not respond, the last known state is returned with stale: true and never a 500: a polling client must not lose its operation to a backend hiccup, nor be pushed into retrying the mutation.

Terminal window
curl https://api.truo.cloud/v1/operations/op_01JQ8XKM4N7P2R9TAB12CD34EF \
-H "Authorization: Bearer $TRUO_TOKEN"

operationId: operations.get

GET /v1/operations · scope operations:read

Terminal window
curl https://api.truo.cloud/v1/operations \
-H "Authorization: Bearer $TRUO_TOKEN"

operationId: operations.list