> ## 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.

# Get Current User Permissions

<Info>
  **Required permission:** Basic access (`basic`) — any signed-in user or service account.
</Info>

Returns the caller's resolved permissions, with implied permissions already expanded.
Use it to check what a token can do before calling an endpoint.

`is_manager` is `true` when the caller is a **Group Manager** of at least one group,
and `managed_group_ids` lists those groups. A Group Manager holds their management permissions only inside those groups.

<Note>
  This endpoint applies to Onyx **v4.7 and later**. It replaces `GET /get-user-role`,
  which was removed with the role model in v4.7. For older versions,
  see [Get User Role](/developers/api_reference/user_management/get_user_role).
</Note>


## OpenAPI

````yaml GET /me/permissions
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:
  /me/permissions:
    get:
      tags:
        - public
      summary: Get Current User Permissions
      operationId: get_current_user_permissions
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserPermissionsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    UserPermissionsResponse:
      properties:
        permissions:
          items:
            type: string
          type: array
          title: Permissions
        is_manager:
          type: boolean
          title: Is Manager
        managed_group_ids:
          items:
            type: integer
          type: array
          title: Managed Group Ids
      type: object
      required:
        - permissions
        - is_manager
        - managed_group_ids
      title: UserPermissionsResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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

````