Tag
The tag resource.
Base/tag
GET
/tagList tags
Retrieve a paginated list of tags. Filter, order, and select columns with PostgREST query parameters.
Query parameters
selectstringComma-separated columns to return. Defaults to all.
orderstringColumn to sort by, e.g. `createdAt.desc`.
limitintegerMaximum rows to return.
offsetintegerRows to skip, for pagination.
GET/tag
curl --request GET \
--url '<your-host>/tag?select=*&limit=10' \
--header 'Authorization: Bearer <api-key>'Response
[
{
"name": "Example",
"table": "string",
"companyId": "xyz789",
"createdAt": "2026-01-01T00:00:00Z",
"createdBy": "string",
"updatedBy": "string"
}
]GET
/tagRetrieve a tag
Fetch a single tag by filtering on `name`.
Query parameters
namestringMatch on the tag's `name`, e.g. `eq.{id}`.
GET/tag
curl --request GET \
--url '<your-host>/tag?name=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'Response
{
"name": "Example",
"table": "string",
"companyId": "xyz789",
"createdAt": "2026-01-01T00:00:00Z",
"createdBy": "string",
"updatedBy": "string"
}POST
/tagCreate a tag
Create a new tag.
POST/tag
curl --request POST \
--url <your-host>/tag \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"name":"Example"}'Response
{
"name": "Example",
"table": "string",
"companyId": "xyz789",
"createdAt": "2026-01-01T00:00:00Z",
"createdBy": "string",
"updatedBy": "string"
}PATCH
/tagUpdate a tag
Update an existing tag, matched on `name`.
PATCH/tag
curl --request PATCH \
--url '<your-host>/tag?name=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"name":"Example"}'Response
{
"name": "Example",
"table": "string",
"companyId": "xyz789",
"createdAt": "2026-01-01T00:00:00Z",
"createdBy": "string",
"updatedBy": "string"
}DELETE
/tagDelete a tag
Delete a tag, matched on `name`. Returns 204 No Content.
Query parameters
namestringThe `name` of the tag to delete, e.g. `eq.{id}`.
DELETE/tag
curl --request DELETE \
--url '<your-host>/tag?name=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'204 No Content