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

# Update current user profile

> Updates settings for the authenticated user.

**Updatable fields:**
- `language`: User's preferred language
- `skip_help_step`: Whether to skip help steps in the UI
- `agent_instructions`: Custom instructions for AI agents
- `terms_accepted`: Accept the latest terms and conditions (can only be set to true)

**Note:** Setting `terms_accepted` to false will result in a 400 error.




## OpenAPI

````yaml /api-reference/openapi-v3.yaml patch /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:
    patch:
      tags:
        - Users
      summary: Update current user profile
      description: >
        Updates settings for the authenticated user.


        **Updatable fields:**

        - `language`: User's preferred language

        - `skip_help_step`: Whether to skip help steps in the UI

        - `agent_instructions`: Custom instructions for AI agents

        - `terms_accepted`: Accept the latest terms and conditions (can only be
        set to true)


        **Note:** Setting `terms_accepted` to false will result in a 400 error.
      operationId: api_v3_users_me_partial_update
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedCurrentUserMeUpdateRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedCurrentUserMeUpdateRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedCurrentUserMeUpdateRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CurrentUserMeResponse'
          description: ''
      security:
        - bearerAuth: []
components:
  schemas:
    PatchedCurrentUserMeUpdateRequest:
      type: object
      properties:
        language:
          $ref: '#/components/schemas/Language782Enum'
        agent_instructions:
          type: string
          nullable: true
        skip_help_step:
          type: boolean
        terms_accepted:
          type: boolean
    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
    Language782Enum:
      enum:
        - ar
        - en
        - fr
        - de
      type: string
      description: |-
        * `ar` - Arabic
        * `en` - English
        * `fr` - French
        * `de` - German
    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.

````