---
title: "How many agents the org is running at once against its limit, and which missions wait"
method: GET
path: "/sandboxes/capacity"
tags: ["sandboxes"]
---

# How many agents the org is running at once against its limit, and which missions wait

`GET /sandboxes/capacity`

## Request

- Base URL: `https://api.letsship.ai/v1`
- URL: `https://api.letsship.ai/v1/sandboxes/capacity`
- Auth: none declared

Each agent runs in its own sandbox, so this counts running agents. Read from the platform's capacity, which is checked every minute. `limit` is how many agents the org runs at once, by its plan or its own agreement; `platformSaturated` means every agent slot on the platform is taken, so even an org under its limit waits.

## Query parameters

- `orgId` string

## Response `200`

Capacity

- SandboxCapacityResponse
  - `orgId` string, required
  - `running` integer, required
  - `limit` integer, nullable, required
  - `waiting` SandboxCapacityWaiter[], required
    - `issueId` string, required
    - `projectId` string, required
    - `role` string, required
    - `reason` 'org' | 'platform', required
    - `waitedMs` integer, required
  - `platformSaturated` boolean, required
  - `capturedAt` integer, required

## Other responses

- `401`: Unauthenticated
- `404`: No such org for the caller
- `503`: Capacity not read recently

---

[API](https://skmtc.dev/letsship/apis/ship-api.md) · [All operations](https://skmtc.dev/letsship/apis/ship-api/llms.txt) · [OpenAPI document](https://skmtc.dev/letsship/apis/ship-api/revisions/e6eac1bcadd4?raw)
