Skip to main content
GET
/
v3beta1
/
enterprise
/
queue
Get Queue
curl --request GET \
  --url https://api.devin.ai/v3beta1/enterprise/queue \
  --header 'Authorization: Bearer <token>'
{
  "queue_size": 5,
  "status": "normal"
}

Permissions

Requires a service user with the ViewAccountMetrics permission at the enterprise level.

Status Thresholds

The status field indicates the current queue pressure based on the number of queued sessions:
StatusConditionDescription
normalqueue_size ≤ 10Queue is operating normally
elevated11 ≤ queue_size ≤ 50Queue pressure is elevated
highqueue_size > 50Queue pressure is high

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Response

200 - application/json

Successful Response

Response model for queue endpoint.

queue_size
integer
required
status
enum<string>
required
Available options:
normal,
elevated,
high