List custom role credit limits
list_role_credit_limitsList every active custom role in an organization with its monthly credit limit, so external systems can review and manage role-based credit limits programmatically.
Instructions
This endpoint lists every active custom role in an organization together with its monthly credit limit, so external systems can manage credit limits programmatically. A monthly_credit_limit of null means the role sets no limit of its own. The limit applies to each member of the role individually; when a user belongs to multiple roles, the highest limit across their roles wins.
Read operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Opaque cursor from a previous response's `next_cursor`; omit for the first page. | |
| account | No | Named private Gumloop account; selects private credentials and user/team identity. | |
| user_id | No | Your user id -- you must be an organization admin to manage custom role credit limits. | |
| page_size | No | Number of roles per page. | |
| organization_id | Yes | The ID of the organization. |