> ## 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.

# Get Faces Stats

> Return compile quota + chat usage stats for all owned faces in one call.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/faces/stats
openapi: 3.1.0
info:
  title: faces
  version: 0.101.0
servers: []
security: []
paths:
  /v1/faces/stats:
    get:
      tags:
        - Faces
      summary: Get Faces Stats
      description: Return compile quota + chat usage stats for all owned faces in one call.
      operationId: get_faces_stats_v1_faces_stats_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: object
                additionalProperties:
                  $ref: '#/components/schemas/ModelStatsEntry'
                title: Response Get Faces Stats V1 Faces Stats Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ModelStatsEntry:
      properties:
        compile_tokens_used:
          type: integer
          title: Compile Tokens Used
        compile_tokens_synced:
          type: integer
          title: Compile Tokens Synced
        compile_quota_reset_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Compile Quota Reset At
        last_synced_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Synced At
        chat_input_tokens:
          type: integer
          title: Chat Input Tokens
        chat_output_tokens:
          type: integer
          title: Chat Output Tokens
        chat_total_cost_usd:
          type: number
          title: Chat Total Cost Usd
        component_counts:
          anyOf:
            - items:
                type: integer
              type: array
            - type: 'null'
          title: Component Counts
        compiled:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Compiled
        avatar_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Avatar Status
        avatar_version:
          anyOf:
            - type: integer
            - type: 'null'
          title: Avatar Version
        avatar_uploaded:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Avatar Uploaded
        usage:
          anyOf:
            - additionalProperties:
                type: integer
              type: object
            - type: 'null'
          title: Usage
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
        styles:
          items:
            type: string
          type: array
          title: Styles
          description: >-
            The media this face has a built style in, for `"style": "<medium>"`
            on chat. An empty list when it has none.
          readOnly: true
      type: object
      required:
        - compile_tokens_used
        - compile_tokens_synced
        - compile_quota_reset_at
        - last_synced_at
        - chat_input_tokens
        - chat_output_tokens
        - chat_total_cost_usd
        - styles
      title: ModelStatsEntry
      description: >-
        Per-model stats: compile quota + chat billing usage + last sync
        timestamp.
    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.