Skip to main content
GET
Get service capacity
This endpoint returns service-level queue and execution statistics. Fields include totalActive, maxSandboxes, pending, claimed, running, failed, utilization (percentage), and oldestQueuedAgeMs. The response is an advisory operational snapshot, not an admission guarantee or a forecast. Additional diagnostic fields may be returned. Use GET /browser-agent-status and its cap field for your account’s current limit; the service snapshot’s perUserCap is a legacy field. There is no dedicated method in the current SDKs or product MCP tools; call the endpoint with direct HTTP when needed.

Errors

Each status has an example body in the response examples. See errors and retries.

Authorizations

Authorization
string
header
required

Your pre.dev workspace API key (pdk_...) from Integrations, Built-in tab: https://pre.dev/projects/integrations?tab=built-in

Response

Service capacity snapshot.

Advisory service diagnostics. Fields may change; perUserCap is a legacy global value, not your account limit. Use GET /browser-agent-status for your cap.

totalActive
integer
maxSandboxes
integer
perUserCap
integer
pending
integer
running
integer
claimed
integer
failed
integer
oldestQueuedAgeMs
integer
utilization
number

Reported utilization percentage.