Skip to main content
GET /api/v1/cloud/environments/{environment_id}/work/stats Returns queue statistics for a self_hosted Environment.

Path parameters

Headers

Example request

Example response

HTTP 200 OK

Response fields

Returns a Work queue stats object.

Errors

See Errors for the full error envelope.

Notes

  • depth counts queued items that are claimable now.
  • pending counts queued items delivered within the recent redelivery window but not yet acknowledged.
  • workers_polling only counts poll requests that included Worker-ID.

Cloud environment setup

Choose the container, network, and dependencies your agent runs in.