---
title: "Job counts per background queue"
method: GET
path: "/api/v1/admin/queues"
---

# Job counts per background queue

`GET /api/v1/admin/queues`

## Request

- Base URL: `https://memchats.com`
- URL: `https://memchats.com/api/v1/admin/queues`
- Auth: HTTP bearer

Operator only: an ADMIN_SECRET bearer token or a session on the admin allow-list. Read `pending` rather than `waiting`: embedding jobs carry a priority, so they live in the prioritized set and `waiting` reads 0 with hundreds of jobs queued.

## Response `200`

Counts per queue

## Other responses

- `401`: Not an operator
- `503`: REDIS_URL not configured

---

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