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

# Get current user

> Returns the signed-in user's record. Profile fields are in `data` by field name; the password is never included. `data.verified_at` is present once the email is verified.



## OpenAPI

````yaml /api-reference/openapi.json get /auth/{guard}/me
openapi: 3.1.0
info:
  title: Bludia Public API
  version: 1.0.0
  description: >-
    The Bludia public REST API (v1). Every request requires the
    `X-BLUDIA-API-KEY` header. With an `end_users` key, data and account routes
    also require `Authorization: Bearer <access_token>` from login. With a
    `platform` key, the API key alone grants full project access.
servers:
  - url: https://{host}/ext/api/v1
    description: Your Bludia API host. Copy it from a collection's API Endpoints panel.
    variables:
      host:
        default: YOUR_API_HOST
        description: API host shown in your dashboard
security:
  - ApiKey: []
    BearerAuth: []
  - ApiKey: []
tags:
  - name: Records
    description: Create, read, update, and delete records in a collection.
  - name: Authentication
    description: >-
      Register, log in, refresh, and log out end users through an authentication
      guard.
  - name: Account
    description: Endpoints for the signed-in end user.
paths:
  /auth/{guard}/me:
    get:
      tags:
        - Account
      summary: Get current user
      description: >-
        Returns the signed-in user's record. Profile fields are in `data` by
        field name; the password is never included. `data.verified_at` is
        present once the email is verified.
      operationId: me
      parameters:
        - name: guard
          in: path
          required: true
          description: Authentication guard slug, for example `users`.
          schema:
            type: string
          example: users
      responses:
        '200':
          description: The user.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CurrentUser'
              example:
                id: 42
                status: active
                created_at: '2026-11-01 08:30:00'
                updated_at: '2026-11-18 16:02:11'
                data:
                  email: sarah@example.com
                  full_name: Sarah Ahmed
                  verified_at: '2026-11-01 08:34:12'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      security:
        - ApiKey: []
          BearerAuth: []
components:
  schemas:
    CurrentUser:
      type: object
      properties:
        id:
          type: integer
        status:
          type: string
          enum:
            - active
            - pending
            - inactive
            - banned
            - suspended
        created_at:
          type: string
        updated_at:
          type: string
        data:
          type: object
          additionalProperties: true
      additionalProperties: true
    Message:
      type: object
      properties:
        message:
          type: string
    Error:
      type: object
      properties:
        status:
          type: boolean
          const: false
        message:
          type: string
        errors:
          description: Field errors, when available.
        request_id:
          type: string
  responses:
    Unauthorized:
      description: Missing or invalid API key or access token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Message'
          example:
            message: Missing API key.
    NotFound:
      description: Collection, guard, or record not found (or not visible).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Rate limit exceeded.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Message'
          example:
            message: Rate limit exceeded.
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-BLUDIA-API-KEY
      description: Your project API key, for example `bludia_production_k3x9qa_...`.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        End-user access token from login, register, or refresh. Required with
        `end_users` keys.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.