---
title: "GET /api/v1/tiers"
method: GET
path: "/api/v1/tiers"
tags: ["Tiers"]
---

# GET /api/v1/tiers

`GET /api/v1/tiers`

Retrieves multiple tiers.

## Query parameters

- `ids` union
  - string[]
  - string, uuid — A UUID v4 string that identifies an entity.
- `pageNumber` number — The page number.
- `pageSize` number — The page size.
- `search` string — Search term to filter tiers by name or description.

## Headers

- `authorization` string, required — The API key to use for authentication. Can be created in the api keys section on the workspace settings page.

## Response `200`

Retrieves all tiers for the workspace.

- object[]
  - `createdAt` string, date-time, required
  - `id` string, uuid, required — A UUID v4 string that identifies an entity.
  - `updatedAt` string, date-time, required
  - `description` string, required — A description of the tier.
  - `maxAssistantMessages` integer, nullable, required — The maximum number of assistant messages allowed for this tier.
  - `name` string, required — The name of the tier.
  - `prompt` string, nullable, required — The prompt associated with the tier to be injected into the agent.
  - `workspaceId` string, uuid, required — The ID of the workspace this tier belongs to.

## Other responses

- `401` — Unauthorized.

---

[API](https://skmtc.dev/zaia/apis/public-api.md) · [All operations](https://skmtc.dev/zaia/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zaia/public-api/revisions/58da3b2ba49f/schema)
