---
title: "Agent Draft Counts"
method: GET
path: "/api/v1/agents/draft-counts"
tags: ["agents"]
---

# Agent Draft Counts

`GET /api/v1/agents/draft-counts`

True per-agent draft totals for the agents list and queue tab badges, keyed by
agent id. The per-agent drafts LIST caps at the 500 newest rows across all statuses,
so any count derived from it silently understates a 1000+ draft agent (the newest
rows are mostly sent). This aggregates over everything: status counts straight from
GROUP BY, and `safe` classified over every pending draft the same way the review
queue and bulk approve do (minus rows a worker is already draining), so every
surface shows the same number.

## Headers

- `authorization` string, nullable — Bearer <token>

## Response `200`

Successful Response

- EnvelopeDictStrAgentDraftCounts
  - `data` object, required
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time
    - `total` integer, nullable
    - `truncated` boolean, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/minro/apis/minro-cs-platform.md) · [All operations](https://skmtc.dev/minro/apis/minro-cs-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/minro/minro-cs-platform/revisions/eb854265cf29/schema)
