Skip to content

List work item relation definitions ​

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

Return the workspace's relation definitions as a paginated list, in sort_order order. Use it to find the id and the two labels of a relation type before you create a work item relation.

Inactive definitions are included, with is_active: false.

The plan decides what you see

This read works on every plan, but it returns only the definitions the workspace's plan includes. Without custom relations, you get only the three default definitions. Without timeline dependencies, Implements is left out. 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.

Pagination ​

per_page:optionalinteger

Page size. Defaults to 50, maximum 200.

offset:optionalinteger

Number of rows to skip from the start of the result set. Maximum 10000. Use the next value from the response instead of computing offsets yourself.

count:optionalboolean

Defaults to true. Set to false to skip the COUNT(*) behind total_count. The field is then omitted from the response.

Response shaping ​

fields:optionalstring

Comma-separated list of fields to return on each row. 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, or a pagination parameter is invalid.
401unauthorizedMissing or invalid credentials.
403forbiddenYour role or token scope doesn't allow this.
404not_foundNo such workspace, or it's outside your tenant.
406not_acceptableThe Accept header asks for a representation the API can't produce.
429rate_limitedThrottled. Honor the Retry-After header before retrying.
List work item relation definitions
bash
curl -X GET \
  "https://api.plane.so/api/v2/workspaces/my-team/work-item-relation-definitions/" \
  -H "X-Api-Key: $PLANE_API_KEY"
Response200
json
{
  "data": [
    {
      "id": "d1e5a7c3-0b4f-4e28-9a61-7c3b2f8e5d14",
      "name": "Relates to",
      "description": "General purpose link between two related work items",
      "outward": "relates to",
      "inward": "relates to",
      "is_default": true,
      "is_active": true,
      "color": "",
      "logo_props": {},
      "sort_order": 65535.0,
      "external_id": null,
      "external_source": null,
      "created_at": "2026-01-08T14:02:11.204518Z",
      "updated_at": "2026-01-08T14:02:11.204518Z",
      "created_by_id": null,
      "updated_by_id": null
    },
    {
      "id": "2b7f4c91-6e3a-4d05-b8c2-9f1a3e6d7b40",
      "name": "Duplicate",
      "description": "Marks a work item as a duplicate of another",
      "outward": "duplicate",
      "inward": "duplicate",
      "is_default": true,
      "is_active": true,
      "color": "",
      "logo_props": {},
      "sort_order": 131070.0,
      "external_id": null,
      "external_source": null,
      "created_at": "2026-01-08T14:02:11.204518Z",
      "updated_at": "2026-01-08T14:02:11.204518Z",
      "created_by_id": null,
      "updated_by_id": null
    },
    {
      "id": "5c9e2a18-7d4b-4f63-a0e5-1b8d6c3f9a27",
      "name": "Implements",
      "description": "Indicates a work item implements or is implemented by another",
      "outward": "implements",
      "inward": "implemented by",
      "is_default": true,
      "is_active": true,
      "color": "",
      "logo_props": {},
      "sort_order": 196605.0,
      "external_id": null,
      "external_source": null,
      "created_at": "2026-01-08T14:02:11.204518Z",
      "updated_at": "2026-01-08T14:02:11.204518Z",
      "created_by_id": null,
      "updated_by_id": null
    },
    {
      "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
    }
  ],
  "next": null,
  "previous": null,
  "pagination": {
    "style": "offset"
  },
  "total_count": 4
}