Get a label
GET/api/v2/workspaces/{slug}/projects/{project_id}/labels/{pk}/
Retrieve one label by id. Reach for this when you already hold a label id — from a work item's label_ids, or from a webhook payload — and need its current name, color, or parent.
If you only know the label by name or by your own identifier, use List labels with search or external_id instead.
Path Parameters
slug:requiredstringThe workspace slug. It appears in your Plane URLs — in https://app.plane.so/my-team/projects/, the slug is my-team.
project_id:requiredstring (uuid)The project the label belongs to.
pk:requiredstring (uuid)The label id.
Scopes
projects.labels:read
Errors
| Status | Code | Cause |
|---|---|---|
401 | unauthorized | Missing or invalid credentials. |
403 | forbidden | Your role or token scope can't read labels. |
404 | resource_not_found | No such label in this project, or the workspace or project is outside your tenant. |
429 | rate_limited | Throttled. Honor the Retry-After header before retrying. |
A real label under the wrong project is a 404
Labels are project-scoped. Pairing a valid label id with a different project's project_id returns 404, the same response you get for an id that doesn't exist anywhere — existence outside your reach is never leaked.
Get a label
bash
curl -X GET \
"https://api.plane.so/api/v2/workspaces/my-team/projects/4af68566-94a4-4eb3-94aa-50dc9427067b/labels/9c1f0b3d-6d2e-4c9a-8b41-2f7e5a0d6c88/" \
-H "X-Api-Key: $PLANE_API_KEY"python
import requests
response = requests.get(
"https://api.plane.so/api/v2/workspaces/my-team/projects/4af68566-94a4-4eb3-94aa-50dc9427067b/labels/9c1f0b3d-6d2e-4c9a-8b41-2f7e5a0d6c88/",
headers={"X-Api-Key": "your-api-key"},
)
print(response.json())javascript
const response = await fetch(
"https://api.plane.so/api/v2/workspaces/my-team/projects/4af68566-94a4-4eb3-94aa-50dc9427067b/labels/9c1f0b3d-6d2e-4c9a-8b41-2f7e5a0d6c88/",
{
method: "GET",
headers: {
"X-Api-Key": "your-api-key",
},
}
);
const data = await response.json();Response200
json
{
"id": "9c1f0b3d-6d2e-4c9a-8b41-2f7e5a0d6c88",
"name": "Regression",
"description": "Worked before the last release",
"color": "#e5484d",
"sort_order": 65535,
"parent_id": "2b7d5e94-3c1a-4f60-9a8d-7e1c4b0f2d35",
"external_id": null,
"external_source": null,
"created_at": "2026-01-14T09:22:41.478363Z",
"created_by_id": "16c61a3a-512a-48ac-b0be-b6b46fe6f430"
}Response404
json
{
"type": "https://api.plane.so/errors/resource-not-found",
"title": "Not Found",
"status": 404,
"code": "resource_not_found",
"detail": "No label matches the given query."
}
