---
title: "List queues"
method: GET
path: "/v1/workspaces/{workspace_id}/queues"
tags: ["Queues"]
---

# List queues

`GET /v1/workspaces/{workspace_id}/queues`

## Request

- Base URL: `https://api.stacksync.com`
- URL: `https://api.stacksync.com/v1/workspaces/{workspace_id}/queues`
- Auth: HTTP bearer

The live queues of the workspace in one region, newest first.

## Path parameters

- `workspace_id` integer, required

## Query parameters

- `limit` integer: Maximum number of items returned, at most 200
- `offset` integer: Number of items skipped before the first one returned
- `region` 'besg' | 'usnv', required

## Response `200`

OK

- QueueList
  - `data` Queue[], required
    - `queue_id` string, required
    - `queue_name` string, required
    - `queue_resource_id` string, required
    - `status` 'running' | 'paused', required
    - `consumer_workflow_id` string, nullable, required: The workflow that receives the flushed records, if any
    - `flush_batch_size` integer, required: Records sent to the consumer workflow per flush
    - `flush_record_max_age` integer, nullable, required: Seconds a record may wait before the queue flushes
    - `flush_rate_limit_max_flush_count` integer, nullable, required: Maximum flushes per rate limit window
    - `flush_rate_limit_time_window` integer, nullable, required: The rate limit window, in seconds
    - `flush_strategy` 'fifo' | 'lifo', required
    - `parent_folder_id` string, nullable, required
    - `created_time` string, date-time, required
    - `last_modified_time` string, date-time, required
    - `region` 'besg' | 'usnv', required
  - `has_more` boolean, required: Whether more items follow this page: request the next one with offset + limit
  - `limit` integer, required
  - `offset` integer, required

## Other responses

- `400`: Bad Request
- `403`: Forbidden

---

[API](https://skmtc.dev/stacksync/apis/stacksync-api.md) - [All operations](https://skmtc.dev/stacksync/apis/stacksync-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stacksync/apis/stacksync-api/revisions/21f4ba4b214e?raw)
