---
title: "Get Jobs Stats"
method: GET
path: "/admin/jobs/stats"
tags: ["Admin"]
---

# Get Jobs Stats

`GET /admin/jobs/stats`

## Request

- Base URL: `https://api.kolens.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kolens.ai/admin/jobs/stats`
- Auth: none declared

Aggregate counters for the dashboard header.

Returns:
  - current ``queued`` / ``running`` counts
  - ``failed_last_24h`` / ``completed_last_24h`` counts
  - ``p50_duration_seconds`` / ``p95_duration_seconds`` over the
    completed jobs in the last 24h (None when no samples)
  - ``by_data_source`` — total job count per data_source bucket
  - ``active_workers`` — list of distinct worker_ids currently
    attached to a running job

## Headers

- `x-admin-secret` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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