---
title: "List tags."
method: GET
path: "/tags"
tags: ["tags"]
---

# List tags.

`GET /tags`

## Request

- Base URL: `https://restivity.ai/api/v1`
- URL: `https://restivity.ai/api/v1/tags`
- Auth: OAuth 2 (authorization code, authorization URL `https://restivity.ai/oauth/authorize`, token URL `https://restivity.ai/api/oauth/token`, scopes: `tags:read`)

Cursor-paginated list of the caller's non-deleted tags.

## Query parameters

- `cursor` string
- `limit` integer
- `sort_by` 'name'
- `sort_order` 'asc' | 'desc'

## Response `200`

Page of tags.

- object
  - `data` Tag[], required
    - `id` string, uuid, required
    - `user_id` string, uuid, required
    - `name` string, required
    - `color` string, required
    - `usage_count` integer, required
    - `deleted_at` string, nullable, required
  - `next_cursor` string, nullable, required: Opaque cursor for the next page. `null` when this is the last page.

## Other responses

- `400`: Invalid request shape.
- `401`: Missing or invalid access token.
- `403`: Token lacks the required scope.
- `422`: Request body failed schema validation.
- `429`: Rate-limit exceeded for this tier.

---

[API](https://skmtc.dev/restivity/apis/restivity-rest-api.md) · [All operations](https://skmtc.dev/restivity/apis/restivity-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/restivity/apis/restivity-rest-api/revisions/5764e41ebb3a?raw)
