Ir al contenido

Operations

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

Se consulta el backend real al leer, con caché de 2 s. Si el backend no responde se devuelve el último estado conocido con stale: true y nunca un 500: un cliente haciendo polling no debe perder su operación por un hipo del backend, ni ser empujado a reintentar la mutación.

Ventana de terminal
curl https://api.truo.cloud/v1/operations/op_01JQ8XKM4N7P2R9TAB12CD34EF \
-H "Authorization: Bearer $TRUO_TOKEN"

operationId: operations.get

GET /v1/operations · scope operations:read

Ventana de terminal
curl https://api.truo.cloud/v1/operations \
-H "Authorization: Bearer $TRUO_TOKEN"

operationId: operations.list