List workflow pins
Return the pins on one work item type as a paginated list. Each pin fixes the workflow a project uses for the type, so the projects listed here can't change their own pick. See Pins.
Under required mode, the list is empty because mandating a workflow deletes every pin for the type.
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.
type_id:requiredstring (uuid)The work item type whose pins you want. It can be any type in the workspace.
Ordering
order_by:optionalstringField to sort by. Prefix with - for descending. Defaults to -created_at, newest pin first.
created_at,-created_atid,-id
Pagination
per_page:optionalintegerPage size. Defaults to 50, maximum 200.
offset:optionalintegerNumber of rows to skip from the start of the result set. Use the next value from the response instead of computing offsets yourself.
paginate:optionalstringSet to cursor to switch to the keyset envelope, which skips the COUNT query and returns next_cursor and has_more instead of next and total_count. Leave it out to get the default offset envelope.
count:optionalbooleanDefaults to true. Set to false to skip the COUNT(*) behind total_count. The field is then omitted from the response.
Response shaping
fields:optionalstringComma-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: created_at, id, project_id, updated_at, work_item_type_id, workflow_id.
See Sparse fields.
Scopes
workspaces.workflows:read
Errors
| Status | Code | Cause |
|---|---|---|
401 | unauthorized | Missing or invalid credentials. |
402 | payment_required | The Workspace governance feature isn't on your plan, or is turned off. |
403 | forbidden | Your role or token scope can't view workspace workflows. |
404 | not_found | No such work item type in this workspace. |
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. |
Readable in any workspace
The pin reads don't check whether the workspace has governance turned on. In an ungoverned workspace, they return whatever pins exist, which is normally none.
curl -X GET \
"https://api.plane.so/api/v2/workspaces/my-team/work-item-types/d1e7a4c9-2b58-4f36-9a0e-7c3b5d81f240/governance/pins/?per_page=50" \
-H "X-Api-Key: $PLANE_API_KEY"import requests
response = requests.get(
"https://api.plane.so/api/v2/workspaces/my-team/work-item-types/d1e7a4c9-2b58-4f36-9a0e-7c3b5d81f240/governance/pins/",
headers={"X-Api-Key": "your-api-key"},
params={"per_page": 50},
)
print(response.json())const params = new URLSearchParams({ per_page: "50" });
const response = await fetch(
`https://api.plane.so/api/v2/workspaces/my-team/work-item-types/d1e7a4c9-2b58-4f36-9a0e-7c3b5d81f240/governance/pins/?${params}`,
{
headers: {
"X-Api-Key": "your-api-key",
},
},
);
const data = await response.json();{
"data": [
{
"id": "0b6d3f92-7e15-4a48-9c27-5f8e1a4d6b30",
"project_id": "4af68566-94a4-4eb3-94aa-50dc9427067b",
"workflow_id": "a1f4c7e2-3b98-4d61-8e25-6c0b9d7f3a14",
"work_item_type_id": "d1e7a4c9-2b58-4f36-9a0e-7c3b5d81f240",
"created_at": "2026-01-14T09:22:41.478363Z",
"updated_at": "2026-01-14T09:22:41.478363Z"
},
{
"id": "6f2a8c41-9d37-4b05-a1e8-3c7b2d9f5e16",
"project_id": "7c19e5b3-2d84-4f6a-b0e7-93a1c5d8f246",
"workflow_id": "a1f4c7e2-3b98-4d61-8e25-6c0b9d7f3a14",
"work_item_type_id": "d1e7a4c9-2b58-4f36-9a0e-7c3b5d81f240",
"created_at": "2026-01-14T09:22:41.478363Z",
"updated_at": "2026-01-14T09:22:41.478363Z"
}
],
"next": null,
"previous": null,
"total_count": 2,
"pagination": {
"style": "offset"
}
}{
"data": [
{
"id": "0b6d3f92-7e15-4a48-9c27-5f8e1a4d6b30",
"project_id": "4af68566-94a4-4eb3-94aa-50dc9427067b",
"workflow_id": "a1f4c7e2-3b98-4d61-8e25-6c0b9d7f3a14",
"work_item_type_id": "d1e7a4c9-2b58-4f36-9a0e-7c3b5d81f240",
"created_at": "2026-01-14T09:22:41.478363Z",
"updated_at": "2026-01-14T09:22:41.478363Z"
}
],
"next_cursor": "b3A9MTcx",
"has_more": true,
"pagination": {
"style": "cursor"
}
}
