Skip to content

Get a work item relation definition ​

GET/api/v2/workspaces/{slug}/work-item-relation-definitions/{pk}/

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:requiredstring

The 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:optionalstring

Comma-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 ​

StatusCodeCause
400invalid_requestfields names an unknown field.
401unauthorizedMissing or invalid credentials.
403forbiddenYour role or token scope doesn't allow this.
404not_foundNo such definition or workspace, it's outside your tenant, or the workspace's plan doesn't include it.
406not_acceptableThe Accept header asks for a representation the API can't produce.
429rate_limitedThrottled. Honor the Retry-After header before retrying.
Get a work item relation definition
bash
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"
Response200
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
}