Get a work item relation definition
Return one relation definition by id, with its two labels.
This read works on every plan, but a definition the workspace's plan doesn't include returns 404, the same as an unknown id. Without custom relations, only the default definitions are found. Without timeline dependencies, Implements isn't found. See Plans.
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.
pk:requiredstring (uuid)The id of the relation definition.
Response shaping
fields:optionalstringComma-separated list of fields to return. Fields you don't request are left out of the response instead of coming back as null, so a missing key means you didn't ask for it and null means the value is null. id is always included, whether or not you name it.
Pass all to get every requestable field. An unknown field name returns 400 with the list of valid names and the closest match, so a typo is caught instead of being silently ignored.
Requestable here: color, created_at, created_by_id, description, external_id, external_source, id, inward, is_active, is_default, logo_props, name, outward, sort_order, updated_at, updated_by_id.
See Sparse fields.
Scopes
workspaces.work_item_relation_definitions:read
Errors
| Status | Code | Cause |
|---|---|---|
400 | invalid_request | fields names an unknown field. |
401 | unauthorized | Missing or invalid credentials. |
403 | forbidden | Your role or token scope doesn't allow this. |
404 | not_found | No such definition or workspace, it's outside your tenant, or the workspace's plan doesn't include it. |
406 | not_acceptable | The Accept header asks for a representation the API can't produce. |
429 | rate_limited | Throttled. Honor the Retry-After header before retrying. |
curl -X GET \
"https://api.plane.so/api/v2/workspaces/my-team/work-item-relation-definitions/7a4c9e12-5f3b-4d68-8e01-2b6d9f4a3c85/" \
-H "X-Api-Key: $PLANE_API_KEY"import requests
response = requests.get(
"https://api.plane.so/api/v2/workspaces/my-team/work-item-relation-definitions/7a4c9e12-5f3b-4d68-8e01-2b6d9f4a3c85/",
headers={"X-Api-Key": "your-api-key"},
)
print(response.json())const response = await fetch(
"https://api.plane.so/api/v2/workspaces/my-team/work-item-relation-definitions/7a4c9e12-5f3b-4d68-8e01-2b6d9f4a3c85/",
{
method: "GET",
headers: {
"X-Api-Key": "your-api-key",
},
},
);
const data = await response.json();{
"id": "7a4c9e12-5f3b-4d68-8e01-2b6d9f4a3c85",
"name": "Tests",
"description": "A QA work item that verifies a feature",
"outward": "tests",
"inward": "tested by",
"is_default": false,
"is_active": true,
"color": "#16a34a",
"logo_props": {},
"sort_order": 262140.0,
"external_id": null,
"external_source": null,
"created_at": "2026-03-02T10:15:27.531904Z",
"updated_at": "2026-03-02T10:15:27.531904Z",
"created_by_id": "16c61a3a-512a-48ac-b0be-b6b46fe6f430",
"updated_by_id": null
}
