Tag
The tag resource.
Basehttps://rest.carbon.ms/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.
GEThttps://rest.carbon.ms/tag
curl --request GET \
--url 'https://rest.carbon.ms/tag?select=*&limit=10' \
--header 'Authorization: Bearer <api-key>'Response
[
{
"name": "Example",
"table": "string",
"companyId": "xyz789",
"createdAt": "2026-01-01T00:00:00Z",
"createdBy": "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}`.
GEThttps://rest.carbon.ms/tag
curl --request GET \
--url 'https://rest.carbon.ms/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"
}POST
/tagCreate a tag
Create a new tag.
POSThttps://rest.carbon.ms/tag
curl --request POST \
--url https://rest.carbon.ms/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"
}PATCH
/tagUpdate a tag
Update an existing tag, matched on `name`.
PATCHhttps://rest.carbon.ms/tag
curl --request PATCH \
--url 'https://rest.carbon.ms/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"
}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}`.
DELETEhttps://rest.carbon.ms/tag
curl --request DELETE \
--url 'https://rest.carbon.ms/tag?name=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'204 No Content