Skip to main content
GET
/
labels
/
{id}
Get a label
curl --request GET \
  --url https://slog.ai/labels/{id} \
  --header 'slog-api-key: <api-key>'
{
  "label": {
    "id": "label_01jqlabel001",
    "name": "bug",
    "color": "#EF4444"
  }
}

Authorizations

slog-api-key
string
header
required

API key obtained from the Slog dashboard or returned by the signup/invite-redeem flows. Pass as the slog-api-key header.

Path Parameters

id
string
required

Resource ID (UPID) or, for tasks and projects, the human-readable reference such as ENG-42.

Query Parameters

fields
string

Comma-separated list of fields to return. Supports brace notation for nested objects: fields=id,title,assignee{name,email}. When omitted, a default set of fields is returned.

Response

The label.

label
object