Skip to main content
GET
List custom role credit limits

Authorizations

Authorization
string
header
required

A personal API key or an OAuth 2.0 access token. Personal API keys also require the x-auth-key header with your user ID.

Path Parameters

organization_id
string
required

The ID of the organization.

Query Parameters

user_id
string
required

Your user id -- you must be an organization admin to manage custom role credit limits.

page_size
integer
default:20

Number of roles per page.

Required range: x <= 100
cursor
string

Opaque cursor from a previous response's next_cursor; omit for the first page.

Response

Custom roles with their credit limits

roles
object[]
next_cursor
string | null

Cursor for the next page, or null when there are no more roles.