curl --request GET \
--url 'https://api.coderabbit.ai/v1/users?seat_filter=all&role_filter=all&limit=100' \
--header 'x-coderabbitai-api-key: <api-key>'{
"seats_purchased": 50,
"seats_assigned": 30,
"seat_assignment_mode": "manual",
"users": [
{
"user_id": "121358802",
"seat_assigned": true,
"role": "cr_admin"
},
{
"user_id": "22605247",
"seat_assigned": false,
"role": "cr_member"
}
],
"next_cursor": "MjI2MDUyNDc="
}List all users in your organization with optional filtering by seat assignment and role status. Supports cursor-based pagination.
curl --request GET \
--url 'https://api.coderabbit.ai/v1/users?seat_filter=all&role_filter=all&limit=100' \
--header 'x-coderabbitai-api-key: <api-key>'{
"seats_purchased": 50,
"seats_assigned": 30,
"seat_assignment_mode": "manual",
"users": [
{
"user_id": "121358802",
"seat_assigned": true,
"role": "cr_admin"
},
{
"user_id": "22605247",
"seat_assigned": false,
"role": "cr_member"
}
],
"next_cursor": "MjI2MDUyNDc="
}Documentation Index
Fetch the complete documentation index at: https://docs.coderabbit.ai/llms.txt
Use this file to discover all available pages before exploring further.
Users List
Authorizations
API key for authentication. You can create an API key from the CodeRabbit dashboard.
Headers
Your CodeRabbit API key
Query Parameters
Filter users by seat assignment status
all, assigned, unassigned Filter users by role
all, member, admin Maximum number of users to return per page
1 <= x <= 100Pagination cursor from previous response's next_cursor field
Response
List of users with seat and subscription info
Total number of seats purchased in the subscription
Number of seats currently assigned to users
The seat assignment mode for the organization
automatic, manual Show child attributes
Show child attributes
Cursor for the next page of results, or null if no more results
Was this page helpful?