Skip to content

List registered labels​

GET
/api/labels

The label registry (REDESIGN-V03 §7.2). Labels used to be bare
free-text, so a typo silently forked the taxonomy. Creating a label is
now a discrete act: a task write carrying an unknown label is rejected
unless it also carries create_label.

Authorizations​

bearerAuth

API token created via POST /api/tokens or the db:create-token CLI command

Type
HTTP (bearer)

Responses​

Registered labels

application/json
JSON
{
"data": {
"labels": [
{
"id": 0,
"user_id": 0,
"name": "string",
"facet": "string",
"icon": "string",
"color": "string",
"created_at": "string"
}
],
"count": 0
}
}

Samples​

Powered by VitePress OpenAPI