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

# Obtener usuario actual

> Retorna el perfil del usuario autenticado a partir del JWT enviado en la solicitud.



## OpenAPI

````yaml /generated/specs/auth.json get /api/auth/users/me
openapi: 3.0.0
info:
  title: Raul API - Acceso
  description: Autenticacion, sesiones, usuarios y seguridad base.
  version: 2.0.0
  contact: {}
servers:
  - url: https://api.raul.ugps.io
    description: Production
security: []
tags:
  - name: Auth
    description: Autenticacion y gestion de usuarios
paths:
  /api/auth/users/me:
    get:
      tags:
        - Auth
      summary: Obtener usuario actual
      description: >-
        Retorna el perfil del usuario autenticado a partir del JWT enviado en la
        solicitud.
      operationId: AuthController_getCurrentUser
      parameters: []
      responses:
        '200':
          description: Datos del usuario actual
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserListItemDto'
        '401':
          description: No autenticado
        '404':
          description: Usuario no encontrado
      security:
        - bearerAuth: []
components:
  schemas:
    UserListItemDto:
      type: object
      properties:
        id:
          type: string
          description: ID del usuario
        email:
          type: string
          description: Email del usuario
        nombre:
          type: string
          description: Nombre del usuario
        rol:
          type: string
          description: Rol del usuario
        activo:
          type: boolean
          description: Estado activo del usuario
        fecha_creacion:
          type: object
          description: Fecha de creación
          nullable: true
        avatar_url:
          type: object
          description: URL del avatar del usuario
          nullable: true
        email_signature_html:
          type: object
          description: Firma de email en HTML
          nullable: true
      required:
        - id
        - email
        - nombre
        - rol
        - activo
        - fecha_creacion
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token authentication

````