List roles
Roles are the named permission levels a member can hold. List the roles you can see. Results are scoped to the path and to what your token is allowed to read.
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.
Query parameters
count:optionalbooleanSet to false to skip the COUNT(*) query behind total_count. The response then leaves out total_count.
is_system:optionalbooleanFilter by is_system.
namespace:optionalstringReturn only roles for this kind of resource: instance, workspace, or project.
instance- Instanceworkspace- Workspaceproject- Project
One of instance, project, workspace.
offset:optionalintegerNumber of rows to skip from the start of the result set.
order_by:optionalstringField to sort the list by. Prefix it with - for descending order, for example -created_at. Orders on computed fields sort by their logical order and use the default offset pagination.
paginate:optionalstringSet to cursor to switch to the keyset cursor envelope, which skips the COUNT query and is better for paging deep into a list. Leave it out to get the default offset envelope with total_count.
One of cursor.
per_page:optionalintegerPage size (max 200).
search:optionalstringA search term.
slug:optionalstringFilter by slug.
Response shaping
fields:optionalstringComma-separated list of fields to return. Fields you don't request are left out of each row instead of coming back as null. id is always included. Pass all to get every requestable field.
An unknown field name returns 400 with the list of valid names, so a typo is caught instead of being silently ignored. See Sparse fields.
Requestable here: based_on_id, description, id, is_system, level, name, namespace, permission_scheme_ids, permissions, slug, status, updated_at.
expand:optionalstringComma-separated relations to embed alongside the ids: permission_schemes (the permission schemes attached to the role, each with id, name, slug, namespace, and is_system).
Expanded objects get their own key: ?expand=permission_schemes keeps permission_scheme_ids and adds a permission_schemes array next to it. An unknown value returns 400. See Expanding relations.
Scopes
workspaces.roles:read
Errors
| Status | Code | Cause |
|---|---|---|
401 | unauthorized | Missing or invalid credentials. |
402 | payment_required | The feature this endpoint belongs to isn't enabled on your plan or is switched off. |
403 | forbidden | Your role or token scope doesn't allow this. |
404 | not_found | No such resource, or it's outside your tenant. |
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/roles/?is_system=false&namespace=project" \
-H "X-Api-Key: $PLANE_API_KEY"import requests
response = requests.get(
"https://api.plane.so/api/v2/workspaces/my-team/roles/",
headers={"X-Api-Key": "your-api-key"},
params={"is_system": "false", "namespace": "project"},
)
print(response.json())const params = new URLSearchParams({ is_system: "false", namespace: "project" });
const response = await fetch(`https://api.plane.so/api/v2/workspaces/my-team/roles/?${params}`, {
method: "GET",
headers: {
"X-Api-Key": "your-api-key",
},
});
const data = await response.json();{
"data": [
{
"id": "9c1f0b3d-6d2e-4c9a-8b41-2f7e5a0d6c88",
"name": "QA Reviewer",
"slug": "qa-reviewer",
"description": "Commenter access plus editing work items.",
"namespace": "project",
"is_system": false,
"level": 10,
"status": "active",
"based_on_id": "6e2a9d47-1c5b-4f83-a7d0-3b8e4f1c9a62",
"permission_scheme_ids": ["f3b8a1c6-2d7e-4a95-8c14-5e9d0b3f7a28"],
"permissions": [
"comment:create",
"comment:edit+creator",
"cycle:view",
"module:view",
"project:view",
"state:view",
"workitem:edit",
"workitem:view"
],
"updated_at": "2026-01-14T09:22:41.478363Z"
},
{
"id": "3d8f5a62-7b1e-4c94-a0d3-9e6c2f8b1a57",
"name": "Release Manager",
"slug": "release-manager",
"description": "Plans cycles and reads work items.",
"namespace": "project",
"is_system": false,
"level": 15,
"status": "active",
"based_on_id": null,
"permission_scheme_ids": [
"b51d7e09-8a3c-4f62-9e17-4c2a6d8f1b95",
"7a4c9e12-5f3b-4d68-8e01-2b6d9f4a3c85"
],
"permissions": [
"cycle:create",
"cycle:edit",
"cycle:manage_issues",
"cycle:view",
"project:view",
"workitem:view"
],
"updated_at": "2026-01-13T16:04:02.911204Z"
}
],
"next": null,
"previous": null,
"total_count": 2,
"pagination": {
"style": "offset"
}
}
