---
title: "Returns the amount of messages in input queues of all steps in the defined flow."
method: GET
path: "/stats/queues/{flow_id}"
tags: ["stats"]
---

# Returns the amount of messages in input queues of all steps in the defined flow.

`GET /stats/queues/{flow_id}`

This request is authorized for any member of the given workspace.

## Path parameters

- `flow_id` string, required

## Response `200`

OK

- object
  - `data` object, required
    - `id` string, required
    - `type` 'flow-queue-stats', required
    - `attributes` object, required
      - `stats` object[], required
        - `step_id` string, required
        - `total` integer, required
        - `ready` integer, required
        - `unacked` integer, required
        - `rebounds` integer, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2.md) · [All operations](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/elastic-io-rest-api-documentation-v2/revisions/411f9f98c01e/schema)
