Skip to main content
GET
Python SDK

Access

An MCP token or a Parable token can call this operation. See Authentication for the kinds of token. Your roles must grant tenant.user.view.

Errors

  • HTTP 403: You cannot view roles in this Workspace. Select a Workspace where you can view people and roles.

Authorizations

Authorization
string
header
required

A personal access token, which starts with pat_. A Parable token can call each operation that the roles of its owner allow. An MCP token can call only the read operations that are open to agents. A SQL token does not work on this API.

Headers

X-Tenant
string

Workspace slug. Overrides subdomain-based workspace resolution when provided.

Example:

"acme"

X-Request-ID
string<uuid>

Optional request correlation ID echoed back in the response.

Example:

"550e8400-e29b-41d4-a716-446655440000"

Query Parameters

limit
integer<int64>

Signed 64-bit integer; range bounded by JavaScript's safe-integer ceiling.

offset
integer<int64>

Signed 64-bit integer; range bounded by JavaScript's safe-integer ceiling.

Response

Successful response

data
object
required

Paginated response for listing workspace-assignable roles.

meta
object
required