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

# Fetch current user's details



## OpenAPI

````yaml get /v1/users/details
openapi: 3.0.0
info:
  title: Thena Platform
  description: The Thena Platform API description
  version: 1.0.0
  contact: {}
servers:
  - url: https://platform.thena.ai
    description: Platform
  - url: http://localhost:8000
    description: Local
security:
  - ApiKey: []
tags: []
paths:
  /v1/users/details:
    get:
      tags:
        - Users
      summary: Fetch current user's details
      parameters: []
      responses:
        '200':
          description: Operation successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponseDto'
        '401':
          description: User is not authenticated!
        '403':
          description: User does not have access to this resource!
        '404':
          description: Resource not found!
        '429':
          description: Too many requests!
        '500':
          description: Something went wrong!
        '503':
          description: This service/resource is currently unavailable.
components:
  schemas:
    UserResponseDto:
      type: object
      properties:
        id:
          type: string
          description: The id of the time off
        name:
          type: string
          description: The name of the user
        email:
          type: string
          description: The email of the user
        userType:
          type: string
          description: The user type of the user
        status:
          type: string
          description: The status of the user
        isActive:
          type: boolean
          description: The is active of the user
        lastLoginAt:
          type: string
          description: The last login date of the user
        avatarUrl:
          type: string
          description: The avatar url of the user
        timezone:
          type: string
          description: The timezone of the user
        createdAt:
          type: string
          description: The created date of the time off
        updatedAt:
          type: string
          description: The updated date of the time off
      required:
        - id
        - name
        - email
        - userType
        - status
        - isActive
        - lastLoginAt
        - avatarUrl
        - timezone
        - createdAt
        - updatedAt
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: 'Enter your API key '

````