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

# List Api Keys

> List all API keys for the authenticated user.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/auth/api-keys
openapi: 3.1.0
info:
  title: faces
  version: 0.101.0
servers: []
security: []
paths:
  /v1/auth/api-keys:
    get:
      tags:
        - API Keys
      summary: List Api Keys
      description: List all API keys for the authenticated user.
      operationId: list_api_keys_v1_auth_api_keys_get
      parameters:
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/APIKeyListResponse'
                title: Response List Api Keys V1 Auth Api Keys Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    APIKeyListResponse:
      properties:
        id:
          type: string
          title: Id
        key_prefix:
          type: string
          title: Key Prefix
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        created_at:
          type: string
          format: date-time
          title: Created At
        last_used_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Used At
        expires_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Expires At
        revoked:
          type: boolean
          title: Revoked
        scopes:
          items:
            type: string
          type: array
          title: Scopes
        budget_usd:
          anyOf:
            - type: number
            - type: 'null'
          title: Budget Usd
        spent_usd:
          type: number
          title: Spent Usd
        allowed_face_ids:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Allowed Face Ids
        allowed_llm_models:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Allowed Llm Models
      type: object
      required:
        - id
        - key_prefix
        - name
        - created_at
        - last_used_at
        - expires_at
        - revoked
        - scopes
        - budget_usd
        - spent_usd
        - allowed_face_ids
        - allowed_llm_models
      title: APIKeyListResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

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