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

# Retrieve Avatar

> Retrieve avatar by ID.



## OpenAPI

````yaml /openapi.json get /v1/avatars/{id}
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers: []
security: []
paths:
  /v1/avatars/{id}:
    get:
      tags:
        - Avatars
      summary: Retrieve Avatar
      description: Retrieve avatar by ID.
      operationId: get_avatar_v1_avatars__id__get
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            description: Avatar ID.
            title: Id
          description: Avatar ID.
      responses:
        '200':
          description: Requested Avatar
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvatarResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    AvatarResponse:
      properties:
        visibility:
          $ref: '#/components/schemas/Visibility'
        id:
          type: string
          title: Id
          description: Unique identifier of the object in the database.
          examples:
            - 01234567-89ab-cdef-0123-456789abcdef
        name:
          type: string
          title: Name
          examples:
            - John Doe
            - Jane Smith
        status:
          $ref: '#/components/schemas/AvatarStatus'
      type: object
      required:
        - visibility
        - id
        - name
        - status
      title: AvatarResponse
      description: Response model for an avatar.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Visibility:
      type: string
      enum:
        - public
        - private
      title: Visibility
      description: Visibility of the resource.
    AvatarStatus:
      type: string
      enum:
        - to-train
        - training
        - available
        - failed
      title: AvatarStatus
      description: Status of an avatar.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      description: Your Beyond Presence API Key.
      in: header
      name: x-api-key

````