---
title: "List tags"
method: GET
path: "/v1/tag"
tags: ["list"]
---

# List tags

`GET /v1/tag`

## Request

- Base URL: `http://localhost:3030`
- URL: `http://localhost:3030/v1/tag`
- Auth: HTTP bearer

Lists the tags used on list items, each with the number of items that have it, most used first.

Not paginated: `has_more` is always `false`.

## Response `200`

A page of tags.

- CollectionTag
  - `object` 'list', required: The object's type. Always `list`.
  - `data` Tag[], required: The results on this page.
    - `object` 'tag', required: The object's type. Always `tag`.
    - `name` string, required: The tag's text.
    - `item_count` integer, required: Number of list items with the tag.
  - `has_more` boolean, required: Whether there are more results after this page.
  - `next_cursor` string, nullable, required: The cursor for the next page. Send it as `cursor`. Null on the last page.
  - `suppressed` integer, required: The number of matching results withheld because the plan does not include them.
  - `total` Total, required: The number of matching results.
    - `value` integer, required: The number of matching results.
    - `relation` 'eq' | 'gte', required: One of `eq` (exact) or `gte` (at least `value`). Counts above 10,000 are `gte`.

## Other responses

- `401`: `credential_missing`, `credential_invalid` or `credential_expired`. The request has no valid credential.
- `403`: `scope_missing`, `person_required`, `api_key_not_accepted` or `entitlement_missing`. The credential or plan does not allow this request. `detail` names the reason.
- `422`: `parameter_invalid`, `id_malformed` or a cursor code. A parameter is missing or invalid. `errors` lists each one.
- `429`: `rate_limited`. Too many requests. Retry after the `Retry-After` interval. Nothing is charged.

---

[API](https://skmtc.dev/placestack/apis/placestack-api.md) · [All operations](https://skmtc.dev/placestack/apis/placestack-api/llms.txt) · [OpenAPI document](https://skmtc.dev/placestack/apis/placestack-api/revisions/0ccdf0882668?raw)
