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

# Get current user profile

> Returns information on the authenticated user including:
- Profile: id, username, full_name, email
- Permissions: admin access, document management, API key management, monitoring permission
- Settings: language preference, help step preference
- Compliance: terms acceptance status
- Company: id, name, login_method
- Group memberships: list of groups the user belongs to, with their role (owner/member) in each





## OpenAPI

````yaml /api-reference/openapi-v3.yaml get /api/v3/users/me
openapi: 3.0.3
info:
  title: Paradigm API
  version: xenial-xerus (v3)
  description: >-
    A versatile and adaptable tool designed to integrate Generative AI into your
    applications
servers:
  - url: https://paradigm.lighton.ai
security: []
tags:
  - name: Agents
    description: Operations about agents
  - name: Threads
    description: Operations about agents conversation threads
  - name: Tools
    description: Operations about native tools
  - name: Models
    description: Operations about AI models
  - name: MCP
    description: Operations about MCP servers
  - name: Sources
    description: Operations about sources used by agents conversation threads
  - name: Artifacts
    description: Operations about artifacts generated by agents conversation threads
  - name: Agent
    description: >-
      Operations about agents (deprecated). Please use the 'Agents' API
      component instead.
  - name: Files
    description: Operations about files
  - name: Files Processing
    description: Operations about files processing
  - name: Tags
    description: Operations about tags
  - name: Workspaces
    description: Operations about workspaces
  - name: Users
    description: Operations about users
  - name: User Groups
    description: Operations about user groups
  - name: Companies
    description: Operations about companies
  - name: SCIM
    description: Operations about SCIM
paths:
  /api/v3/users/me:
    get:
      tags:
        - Users
      summary: Get current user profile
      description: >+
        Returns information on the authenticated user including:

        - Profile: id, username, full_name, email

        - Permissions: admin access, document management, API key management,
        monitoring permission

        - Settings: language preference, help step preference

        - Compliance: terms acceptance status

        - Company: id, name, login_method

        - Group memberships: list of groups the user belongs to, with their role
        (owner/member) in each

      operationId: api_v3_users_me_retrieve
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CurrentUserMeResponse'
          description: Current user profile
        '401':
          description: Authentication failed - missing or invalid API key
      security:
        - bearerAuth: []
components:
  schemas:
    CurrentUserMeResponse:
      type: object
      description: |-
        Serializer for GET /api/v3/users/me/ endpoint.
        Returns organized user profile data with logical grouping.
      properties:
        profile:
          $ref: '#/components/schemas/Profile'
        company:
          $ref: '#/components/schemas/UserMeCompany'
        permissions:
          $ref: '#/components/schemas/Permissions'
        settings:
          $ref: '#/components/schemas/Settings'
        compliance:
          $ref: '#/components/schemas/Compliance'
        group_memberships:
          type: array
          items:
            $ref: '#/components/schemas/UserMeGroupMembership'
      required:
        - company
        - compliance
        - group_memberships
        - permissions
        - profile
        - settings
    Profile:
      type: object
      properties:
        id:
          type: integer
        username:
          type: string
        first_name:
          type: string
        last_name:
          type: string
        email:
          type: string
          format: email
      required:
        - email
        - first_name
        - id
        - last_name
        - username
    UserMeCompany:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        login_method:
          type: string
        ldap_logout_url:
          type: string
          nullable: true
        group:
          $ref: '#/components/schemas/UserMeCompanyGroup'
      required:
        - group
        - id
        - login_method
        - name
    Permissions:
      type: object
      properties:
        is_admin:
          type: boolean
        can_manage_documents:
          type: boolean
        can_manage_api_keys:
          type: boolean
        has_monitoring_permission:
          type: boolean
      required:
        - can_manage_api_keys
        - can_manage_documents
        - has_monitoring_permission
        - is_admin
    Settings:
      type: object
      properties:
        language:
          type: string
        agent_instructions:
          type: string
        skip_help_step:
          type: boolean
      required:
        - agent_instructions
        - language
        - skip_help_step
    Compliance:
      type: object
      properties:
        terms_accepted:
          type: boolean
      required:
        - terms_accepted
    UserMeGroupMembership:
      type: object
      properties:
        group:
          $ref: '#/components/schemas/UserMeGroupInfo'
        role:
          type: string
      required:
        - group
        - role
    UserMeCompanyGroup:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
      required:
        - id
        - name
    UserMeGroupInfo:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        category:
          type: string
      required:
        - category
        - id
        - name
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer authentication header of the form `Bearer <token>`, where
        `<token>` is your auth token.

````