Tags
Manage the workspace and project tags you apply to tasks and posts.
Native session access
GET and POST /api/v1/tags accept native session tokens. Send Authorization: Bearer with X-Project-Feed-Workspace. Reads require active workspace membership and omit inaccessible project tags. Creation uses the same workspace and project admin checks as API keys; viewers cannot write. Send an Idempotency-Key on creation and reuse it with the same body when retrying. Other catalog routes remain closed to session tokens.
For a task tag picker, pass the task's projectId to the list endpoint. It returns workspace tags plus that project's tags, including id, name, color, scope, and projectId. Follow nextCursor while hasMore is true. For a task without a project, use scope=workspace.
Endpoints
Signed-in sessions can read accessible tags and manage tags within their project permissions. Workspace viewers cannot create, edit, delete, or promote tags. Promotion still requires permission to manage workspace tags. Tag edits, deletion, and promotion have no revision precondition; refresh state after an unknown outcome before retrying.
Tag object
Responses that contain a tag object use this shape. The list endpoint wraps tag objects in a paginated result; deletion returns only the tag ID and a deletion flag.
id- The tag ID.
name- Lowercase, with hyphens instead of spaces.
color- Hex color, or null when none is set.
description- Text or null.
scopeworkspaceorproject.projectId- The owning project for a project tag, otherwise null.
usageCount- How many posts use the tag. Tags on tasks are not counted.
createdAt,updatedAt- Unix timestamps in milliseconds. updatedAt equals createdAt until the tag is edited or promoted.
Scopes and plans
Listing tags needs any one of tags:read, tasks:read, or posts:read, so a key that already reads tasks or posts can read the catalog. Creating, renaming, deleting, and promoting needs tags:write or projects:write. Free workspace keys are read-only, and of the scopes on this page only tasks:read and posts:read are available to them. See Scopes.
Limits
- Names: up to 50 characters.
- Descriptions: up to 500 characters.
- Colors: six-digit hex values such as #3B82F6.
- List page size: 200 tags at most, 100 by default.
- A task holds up to 100 tags. One request that sets tags on a task or post can name up to 50 in total across tagIds and tagNames.
The list uses cursor pagination, described in Conventions. A page can hold fewer tags than limit when some project tags are hidden from the key's user, so keep following nextCursor until hasMore is false.
Next steps
- Tags on a task: add, replace, and remove the tags on one task.
- Posts: replace the tags on a post.