Fetch a paginated list of tags with optional search.
Parameters
| Parameter | Type | Default | Description |
|---|
search | String | - | Filter by name |
cursor | String | null | Cursor for pagination |
limit | Int | 20 | Items per page |
Example
Response:
Get Single Tag
Fetch a specific tag by ID.
Parameters
| Parameter | Type | Required | Description |
|---|
id | ID! | Yes | Tag ID |
Example
Response:
Tag Fields
| Field | Type | Description |
|---|
id | ID! | Unique identifier |
name | String! | Tag display name |
slug | String! | URL-safe identifier |
description | String | Tag description |
Tags can be used to filter content and assets:
When filtering by multiple tags, the query uses AND logic. Only items with all specified tags are returned.