# Get automation metrics

Retrieve current-state metrics for one or more automations: contact counts and the **pending task queue** per automation UUID.
**`task_counts` is queue depth, not sent volume.** It counts tasks still waiting to run (status `in_progress`) per task type — it does **not** count what has been sent. Verified against `List tasks`: for four automations the `task_counts` values matched `filter[status]=in_progress` exactly, while actual sent volume (`filter[status]=closed`) was 5–250× higher.
For "how many were actually sent" — and for anything scoped to a date range — use [`GET /flows/api/tasks`](#operation/listTasks) with `filter[status]=closed` and a `filter[executed_at]` range. This endpoint has no date filter; its numbers are always current-state.

Endpoint: POST /flows/api/flows/metrics
Version: 2.0.0
Security: bearerAuth

## Request fields (application/json):

  - `uuids` (array, required)
    List of automation UUIDs.

