---
title: "List Caches"
method: GET
path: "/api/v1/caches"
tags: ["Caches"]
---

# List Caches

`GET /api/v1/caches`

Retrieves a paginated list of caches. Can be filtered by `flow_id`, `for_flow`, `scope`, and `name`.

## Query parameters

- `filter[flow_id]` string
- `filter[for_flow]` string
- `filter[scope]` string
- `filter[id]` string
- `filter[,]` string
- `filter[name]` string
- `filter[LIKE]` string
- `filter[flow]` string
- `include` string
- `page` integer
- `per_page` integer

## Response `200`

Successful response

- CachesListResponse
  - `data` Caches[]
    - `id` integer — Unique identifier
    - `scope` string
    - `ttl` string
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `name` string
    - `flow_id` integer
    - `cache_template_id` integer
    - `content` string
    - `ttl_unit` string
    - `ttl_number` string
    - `flow` string
  - `meta` PaginationMeta
    - `current_page` integer
    - `from` integer, nullable
    - `last_page` integer
    - `path` string
    - `per_page` integer
    - `to` integer, nullable
    - `total` integer
  - `links` PaginationLinks
    - `first` string, uri
    - `last` string, uri
    - `prev` string, uri, nullable
    - `next` string, uri, nullable

## Other responses

- `401` — Unauthenticated
- `403` — Unauthorized

---

[API](https://skmtc.net/wearepatchworks/apis/patchworks-core-api.md) · [All operations](https://skmtc.net/wearepatchworks/apis/patchworks-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wearepatchworks/patchworks-core-api/revisions/89261af4dd80/schema)
