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

# Get the calling user's profile

> Returns the profile for the user who owns the caller's tenant — `username`, `first_name`, `last_name`, `bio`, `avatar_url`, plus `email` (mirrored read-only from the auth identity record).

The `avatar_url` resolves to the uploaded avatar when present, or to a deterministic placeholder generated from `username` when none is set. Profile is virtual — there's no items-table row per user; this endpoint reads from the underlying user record. For OIDC-shaped userinfo, use `GET /auth/userinfo` instead. See [Profile](/concepts/profile).



## OpenAPI

````yaml /openapi.json get /profile/me
openapi: 3.1.0
info:
  title: Marfa API
  version: 4.2.0
  description: Typed data layer for structured personal data
servers: []
security: []
paths:
  /profile/me:
    get:
      tags:
        - Profile
      summary: Get the calling user's profile
      description: >-
        Returns the profile for the user who owns the caller's tenant —
        `username`, `first_name`, `last_name`, `bio`, `avatar_url`, plus `email`
        (mirrored read-only from the auth identity record).


        The `avatar_url` resolves to the uploaded avatar when present, or to a
        deterministic placeholder generated from `username` when none is set.
        Profile is virtual — there's no items-table row per user; this endpoint
        reads from the underlying user record. For OIDC-shaped userinfo, use
        `GET /auth/userinfo` instead. See [Profile](/concepts/profile).
      responses:
        '200':
          description: Profile
          content:
            application/json:
              schema:
                type: object
                properties:
                  username:
                    type: string
                    nullable: true
                  first_name:
                    type: string
                    nullable: true
                  last_name:
                    type: string
                    nullable: true
                  bio:
                    type: string
                    nullable: true
                  avatar_url:
                    type: string
                  email:
                    type: string
                  email_verified:
                    type: boolean
                  created_at:
                    type: string
                  updated_at:
                    type: string
                required:
                  - username
                  - first_name
                  - last_name
                  - bio
                  - avatar_url
                  - email
                  - email_verified
                  - created_at
                  - updated_at
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - unauthorized
                      message:
                        type: string
                      details:
                        type: object
                        additionalProperties:
                          nullable: true
                    required:
                      - code
                      - message
                required:
                  - error
        '404':
          description: No profile bound to this credential
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - not_found
                      message:
                        type: string
                      details:
                        type: object
                        additionalProperties:
                          nullable: true
                    required:
                      - code
                      - message
                required:
                  - error
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key or OAuth Token
      description: Pass an API key (marfa_k1_...) or OAuth access token (marfa_at_...)

````