---
title: "Read the X builds queue – Superbot API"
canonical_url: "https://superbot.gg/developers/builds#getXBuildQueue"
last_updated: "2026-10-01"
summary: "The queue in dispatch order, with the concurrency the dispatcher is actually using (which drops to 2 while masq is backing off)."
---

> Markdown twin of https://superbot.gg/developers/builds#getXBuildQueue (the HTML page is canonical).
> The site index for agents is /llms.txt; every content page has a twin at its path plus `.md`.

# Read the X builds queue

`GET /v1/x-builds/queue`

The queue in dispatch order, with the concurrency the dispatcher is actually using (which drops to 2 while masq is backing off).

- Operation id: `getXBuildQueue`
- Group: [Builds](https://superbot.gg/developers/builds.md)
- Auth: A caller key holding `builds:admin` (`Authorization: Bearer sbc_…` or `x-api-key: sbc_…`), or a signed-in session.
- Scopes: `builds:admin`

## Response 200

The queue.

`application/json`: XbQueueView.

- `paused` (boolean, required)
- `max_concurrent` (number, required)
- `max_queue` (number, required)
- `queued` (number, required)
- `running` (number, required)

## Errors

Every refusal carries `error`, `message`, `doc_url` and `request_id`; the gateway routes answer in the dialect you dialed.

| Status | Codes | When |
| --- | --- | --- |
| 401 | [`unauthorized`](https://superbot.gg/developers#errors-unauthorized) | The bearer is missing, malformed or unknown. |
| 403 | [`insufficient_scope`](https://superbot.gg/developers#errors-insufficient_scope) | The key lacks a scope (insufficient_scope), is revoked, or may not call this route. |

## Examples

```sh
curl -sS -X GET "https://superbot.gg/v1/x-builds/queue" \
  -H "Authorization: Bearer $SUPERBOT_API_KEY"
```

```js
const res = await fetch(`https://superbot.gg/v1/x-builds/queue`, {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.SUPERBOT_API_KEY}`,
  },
});
console.log(res.status, await res.json());
```

```python
import os
import requests

res = requests.request(
    "GET",
    "https://superbot.gg/v1/x-builds/queue",
    headers={
        "Authorization": f"Bearer {os.environ['SUPERBOT_API_KEY']}",
    },
)
print(res.status_code, res.json())
```
