> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openinary.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Worker Statistics

> Current state of the background video processing worker

**Self-hosted only.** Cloud exposes `/queue/events` only.

Reports what the background worker is doing right now: its limits, and how many jobs it is running.

```bash theme={null}
curl https://media.example.com/queue/worker/stats \
  -H "Authorization: Bearer <api_key>"
```

```
GET /queue/worker/stats
```

**Auth:** API Key required

## Response

```json theme={null}
{
  "maxConcurrent": 2,
  "pollInterval": 1000,
  "isRunning": true,
  "processingCount": 1
}
```

| Field | Type | Notes |
| - | - | - |
| `maxConcurrent` | number | Maximum number of jobs the worker processes at once |
| `pollInterval` | number | How often, in milliseconds, the worker polls for new jobs |
| `isRunning` | boolean | Whether the worker's polling loop is currently active |
| `processingCount` | number | Number of jobs currently being processed |

## Related

> [card] [Queue Statistics](https://docs.openinary.dev/api-reference/queue/stats.md)
>
> Job counts per status.

> [card] [List Jobs](https://docs.openinary.dev/api-reference/queue/jobs.md)
>
> View individual job details with filtering.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.