v2

latestOpenAPI 3.0.32026-07-261513102.9 KB

Users

List all users in your organization with optional filtering by seat assignment and role status. Supports cursor-based pagination.

get/v1/users

Query parameters

seat_filter'all' | 'assigned' | 'unassigned'

Filter users by seat assignment status

role_filter'all' | 'member' | 'admin'

Filter users by role

limitinteger

Maximum number of users to return per page

cursorstring

Pagination cursor from previous response's next_cursor field

Headers

x-coderabbitai-api-keystring required

Your CodeRabbit API key

Response

List of users with seat and subscription info

seats_purchasedinteger required

Total number of seats purchased in the subscription

seats_assignedinteger required

Number of seats currently assigned to users

seat_assignment_mode'automatic' | 'manual' required

The seat assignment mode for the organization

next_cursorstring nullable

Cursor for the next page of results, or null if no more results