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

# Get Current User Info

> Return current authenticated user information.

Args:
    user: Authenticated user from dependency injection.

Returns:
    UserInfo with user ID, email, organization ID and name.

Raises:
    HTTPException: 500 if unable to fetch user information.



## OpenAPI

````yaml https://api.pragmatiks.io/openapi.json get /auth/me
openapi: 3.1.0
info:
  title: Pragma API
  version: 0.1.0
servers: []
security: []
paths:
  /auth/me:
    get:
      tags:
        - auth
      summary: Get Current User Info
      description: |-
        Return current authenticated user information.

        Args:
            user: Authenticated user from dependency injection.

        Returns:
            UserInfo with user ID, email, organization ID and name.

        Raises:
            HTTPException: 500 if unable to fetch user information.
      operationId: auth-get_current_user_info
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserInfo'
components:
  schemas:
    UserInfo:
      properties:
        user_id:
          type: string
          title: User Id
        email:
          anyOf:
            - type: string
            - type: 'null'
          title: Email
        organization_id:
          type: string
          title: Organization Id
        organization_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Organization Name
      type: object
      required:
        - user_id
        - email
        - organization_id
        - organization_name
      title: UserInfo
      description: |-
        User information response model.

        Attributes:
            user_id: Unique user identifier.
            email: User's primary email address.
            organization_id: Organization identifier.
            organization_name: Name of the user's organization.

````