---
title: "List requests"
method: GET
path: "/v2/request-queues/{queueId}/requests"
tags: ["Storage/Request queues/Requests"]
---

# List requests

`GET /v2/request-queues/{queueId}/requests`

Returns a list of requests. This endpoint is paginated using
cursor (pagination by `exclusiveStartId` is deprecated) and limit parameters.

## Path parameters

- `queueId` string, required

## Query parameters

- `clientKey` string
- `exclusiveStartId` string
- `limit` number, double
- `cursor` string
- `filter` string[]

## Response `200`

- ListOfRequestsResponse — Response containing a list of requests from the request queue.
  - `data` ListOfRequests, required — A paginated list of requests from the request queue.
    - `items` Request[], required — The array of requests.
      - `uniqueKey` string — A unique key used for request de-duplication. Requests with the same unique key are considered identical.
      - `url` string — The URL of the request.
      - `method` 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH'
      - `retryCount` integer — The number of times this request has been retried.
      - `loadedUrl` string, nullable — The final URL that was loaded, after redirects (if any).
      - `payload` union — The request payload, typically used with POST or PUT requests.
        - string
        - object
      - `headers` object, nullable — HTTP headers sent with the request.
      - `userData` RequestUserData — Custom user data attached to the request. Can contain arbitrary fields.
      - `noRetry` boolean, nullable — Indicates whether the request should not be retried if processing fails.
      - `errorMessages` string[], nullable — Error messages recorded from failed processing attempts.
      - `handledAt` string, date-time, nullable — The timestamp when the request was marked as handled, if applicable.
      - `id` string — A unique identifier assigned to the request.
    - `limit` integer, required — The maximum number of requests returned in this response.
    - `exclusiveStartId` string — The ID of the last request from the previous page, used for pagination.
    - `cursor` string — A cursor string used for current page of results.
    - `nextCursor` string — A cursor string to be used to continue pagination.

## Other responses

- `400` — Bad request - invalid input parameters or request body.
- `401` — Unauthorized - authentication required or invalid token.
- `402` — Payment required - the user has exceeded their usage limit, does not have enough credits, or the request lacks authentication and payment credentials.
- `403` — Forbidden - insufficient permissions to perform this action.
- `404` — Not found - the requested resource does not exist.
- `405` — Method not allowed.
- `429` — Too many requests - rate limit exceeded.

---

[API](https://skmtc.net/apify/apis/apify-api.md) · [All operations](https://skmtc.net/apify/apis/apify-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apify/apify-api/versions/01a71794279b/schema)
