tag_ids in search requests to narrow results.
Creating, updating, and deleting tags requires the
ADMIN or OWNER role. Any authenticated user can read tags.POST /v1/tags
Create a new tag for the current tenant. Returns201 on success.
Request body
Tag name. Maximum 100 characters.
Tag color as a 6-character hex string without the
# prefix (e.g. FF5733). Must match [0-9A-Fa-f]{6}. Defaults to 000000 (black).Optional description for the tag. Maximum 500 characters.
Example
GET /v1/tags
List all tags for the current tenant.| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 20 | Items per page (1–100). |
offset | integer | 0 | Items to skip. |
GET /v1/tags/
Get a single tag by ID.PATCH /v1/tags/
Update a tag’s name, color, and/or description. Include only the fields you want to change.Request body
New tag name (1–100 characters).
New color as a 6-character hex string (e.g.
3498DB).New description. Pass an empty string to clear it.
DELETE /v1/tags/
Delete a tag and remove it from all path part associations. Returns204 No Content on success.
Deleting a tag immediately removes it from every path part it was applied to. Existing search filters referencing this
tag_id will return no matches for this tag.TagResponse
Tag UUID.
Tag name.
Tag color as a 6-character hex string (without
#).Optional tag description.
UUID of the tenant that owns this tag.
ISO 8601 creation timestamp.
ISO 8601 last-updated timestamp.
Applying tags to path parts
Tags are applied and removed at the path part level using bulk operations. A single request can add or remove up to 10 tags at once.POST /v1/path-parts//tags
Bulk add tags to a path part. The operation is idempotent — tags already applied are silently skipped. Returns400 if any tag_id does not exist.
DELETE /v1/path-parts//tags
Bulk remove tags from a path part. Tags not currently applied are silently skipped.Request body (both endpoints)
Array of tag UUIDs to add or remove. Maximum 10 items per request.
Filtering search results by tags
Passtag_ids in your POST /v1/chunks/search request body to restrict search results to chunks tagged with all of the specified tags (AND logic).