> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onyx.app/llms.txt
> Use this file to discover all available pages before exploring further.

# List Accepted Users



## OpenAPI

````yaml GET /manage/users/accepted
openapi: 3.1.0
info:
  title: Onyx API
  description: Onyx API for AI-powered enterprise search and chat
  version: Development
servers:
  - url: https://cloud.onyx.app/api
security: []
paths:
  /manage/users/accepted:
    get:
      tags:
        - public
      summary: List Accepted Users
      operationId: list_accepted_users
      parameters:
        - name: q
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Q
        - name: page_num
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Page Num
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
            maximum: 1000
            minimum: 1
            default: 10
            title: Page Size
        - name: roles
          in: query
          required: false
          schema:
            type: array
            items:
              $ref: '#/components/schemas/UserRole'
            default: []
            title: Roles
        - name: is_active
          in: query
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: 'null'
            title: Is Active
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedReturn_FullUserSnapshot_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    UserRole:
      type: string
      enum:
        - limited
        - basic
        - admin
        - curator
        - global_curator
        - slack_user
        - ext_perm_user
      title: UserRole
      description: >-
        User roles

        - Basic can't perform any admin actions

        - Admin can perform all admin actions

        - Curator can perform admin actions for
            groups they are curators of
        - Global Curator can perform admin actions
            for all groups they are a member of
        - Limited can access a limited set of basic api endpoints

        - Slack are users that have used onyx via slack but dont have a web
        login

        - External permissioned users that have been picked up during the
        external permissions sync process but don't have a web login
    PaginatedReturn_FullUserSnapshot_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/FullUserSnapshot'
          type: array
          title: Items
        total_items:
          type: integer
          title: Total Items
      type: object
      required:
        - items
        - total_items
      title: PaginatedReturn[FullUserSnapshot]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    FullUserSnapshot:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        email:
          type: string
          title: Email
        role:
          $ref: '#/components/schemas/UserRole'
        is_active:
          type: boolean
          title: Is Active
        password_configured:
          type: boolean
          title: Password Configured
      type: object
      required:
        - id
        - email
        - role
        - is_active
        - password_configured
      title: FullUserSnapshot
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Authorization header with Bearer token

````