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

> List all faces owned by the authenticated user.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/faces
openapi: 3.1.0
info:
  title: faces
  version: 0.101.0
servers: []
security: []
paths:
  /v1/faces:
    get:
      tags:
        - Faces
      summary: List Faces
      description: List all faces owned by the authenticated user.
      operationId: list_faces_v1_faces_get
      parameters:
        - name: tag
          in: query
          required: false
          schema:
            anyOf:
              - items:
                  type: string
                type: array
              - type: 'null'
            description: >-
              Filter to faces that have ALL of these tags (repeat for AND). Tag
              values are lowercased before match.
            title: Tag
          description: >-
            Filter to faces that have ALL of these tags (repeat for AND). Tag
            values are lowercased before match.
        - name: group_id
          in: query
          required: false
          schema:
            anyOf:
              - items:
                  type: string
                type: array
              - type: 'null'
            description: >-
              Filter to faces that are members of ANY of these groups
              (repeatable for OR / union semantics). Combines with ?tag= as:
              (tag1 AND tag2) ∩ (group1 OR group2).
            title: Group Id
          description: >-
            Filter to faces that are members of ANY of these groups (repeatable
            for OR / union semantics). Combines with ?tag= as: (tag1 AND tag2) ∩
            (group1 OR group2).
        - name: include
          in: query
          required: false
          schema:
            anyOf:
              - items:
                  type: string
                type: array
              - type: 'null'
            description: >-
              Optional enrichment fields to include on each face item.
              Repeatable or comma-separated. Recognized values: 'tags',
              'groups', 'profile', 'sharing', 'avatar'. 'avatar' populates
              `avatar_status` and `avatar_uploaded` (`avatar_status` is one of
              'none', 'current' or 'stale'), so a client can show a refresh
              affordance without a request per face. It is opt-in because
              deciding it reads the compiled-profile rows, which a bare listing
              does not fetch. 'sharing' populates `shared_with`, which is
              otherwise present but always empty on this route: it is the only
              way to see who a face is shared with in a listing. 'owner_follow'
              populates `owner_followed` (whether YOU follow each row's owner),
              so a wall of badges can style a Follow button per creator without
              fetching your whole following list first. Null on your own faces.
              'owner_avatar' populates `owner_avatar`: whether the row's owner's
              `me` face has a REAL picture rather than the placeholder, so a
              badge fetches /v1/faces/{owned_by}:me/avatar only for the creators
              who have one and draws the placeholder locally for the rest.
              Unknown values are silently ignored. The face description is
              always included; tags, groups, and the compiled-profile fields
              (component_counts, compile_tokens_synced, last_synced_at) are
              populated only when requested here, and returned as null
              otherwise.
            title: Include
          description: >-
            Optional enrichment fields to include on each face item. Repeatable
            or comma-separated. Recognized values: 'tags', 'groups', 'profile',
            'sharing', 'avatar'. 'avatar' populates `avatar_status` and
            `avatar_uploaded` (`avatar_status` is one of 'none', 'current' or
            'stale'), so a client can show a refresh affordance without a
            request per face. It is opt-in because deciding it reads the
            compiled-profile rows, which a bare listing does not fetch.
            'sharing' populates `shared_with`, which is otherwise present but
            always empty on this route: it is the only way to see who a face is
            shared with in a listing. 'owner_follow' populates `owner_followed`
            (whether YOU follow each row's owner), so a wall of badges can style
            a Follow button per creator without fetching your whole following
            list first. Null on your own faces. 'owner_avatar' populates
            `owner_avatar`: whether the row's owner's `me` face has a REAL
            picture rather than the placeholder, so a badge fetches
            /v1/faces/{owned_by}:me/avatar only for the creators who have one
            and draws the placeholder locally for the rest. Unknown values are
            silently ignored. The face description is always included; tags,
            groups, and the compiled-profile fields (component_counts,
            compile_tokens_synced, last_synced_at) are populated only when
            requested here, and returned as null otherwise.
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 500
            minimum: 1
            description: Maximum faces to return. Pair with `cursor` to page.
            default: 100
            title: Limit
          description: Maximum faces to return. Pair with `cursor` to page.
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              The `next_cursor` from a previous response, verbatim. Omit for the
              first page; keep going while `next_cursor` is present.
            title: Cursor
          description: >-
            The `next_cursor` from a previous response, verbatim. Omit for the
            first page; keep going while `next_cursor` is present.
        - name: q
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                minLength: 1
                maxLength: 200
              - type: 'null'
            description: >-
              Text search over alias, name and description. Matches a substring
              anywhere, not a prefix, and is case-insensitive.
            title: Q
          description: >-
            Text search over alias, name and description. Matches a substring
            anywhere, not a prefix, and is case-insensitive.
        - name: sort
          in: query
          required: false
          schema:
            type: string
            pattern: ^(created|alias|relevance|usage)$
            description: >-
              `created` (default, unchanged), `alias`, `relevance` (needs `q`)
              or `usage`. Every ordering breaks ties on alias, then uid, so
              paging cannot skip or repeat a face.
            default: created
            title: Sort
          description: >-
            `created` (default, unchanged), `alias`, `relevance` (needs `q`) or
            `usage`. Every ordering breaks ties on alias, then uid, so paging
            cannot skip or repeat a face.
        - name: order
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                pattern: ^(asc|desc)$
              - type: 'null'
            description: >-
              Which way to read `sort`. Omit it for the field's own direction,
              which is what every ordering did before this existed: `created`
              newest first, `usage` most used first, `relevance` best match
              first, `alias` A to Z. So `?sort=usage&order=asc` is least-used
              and `?sort=alias&order=desc` is Z to A. The tiebreak is never
              reversed.
            title: Order
          description: >-
            Which way to read `sort`. Omit it for the field's own direction,
            which is what every ordering did before this existed: `created`
            newest first, `usage` most used first, `relevance` best match first,
            `alias` A to Z. So `?sort=usage&order=asc` is least-used and
            `?sort=alias&order=desc` is Z to A. The tiebreak is never reversed.
        - name: since
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              ISO-8601 timestamp. Return only faces whose `updated_at` is newer:
              created, renamed, published, locked, compiled, decompiled or
              re-avatared. Pass back the largest `updated_at` you hold to
              refetch only what moved.
            title: Since
          description: >-
            ISO-8601 timestamp. Return only faces whose `updated_at` is newer:
            created, renamed, published, locked, compiled, decompiled or
            re-avatared. Pass back the largest `updated_at` you hold to refetch
            only what moved.
        - name: include_published
          in: query
          required: false
          schema:
            type: boolean
            description: >-
              Also include faces published system-wide by other users. Each such
              item has published=true and a chat handle of <owned_by>:<alias>.
              Defaults to false (owned faces only; no breaking change).
            default: false
            title: Include Published
          description: >-
            Also include faces published system-wide by other users. Each such
            item has published=true and a chat handle of <owned_by>:<alias>.
            Defaults to false (owned faces only; no breaking change).
        - name: include_shared
          in: query
          required: false
          schema:
            type: boolean
            description: >-
              Also include faces other users have shared with you specifically,
              either by naming your account, or by putting the face on the
              roster of a workspace you actively belong to. Each such item
              carries `via` saying which of those applies (a face reachable both
              ways appears ONCE with both). Independent of include_published,
              which covers faces open to everyone. Defaults to false.
            default: false
            title: Include Shared
          description: >-
            Also include faces other users have shared with you specifically,
            either by naming your account, or by putting the face on the roster
            of a workspace you actively belong to. Each such item carries `via`
            saying which of those applies (a face reachable both ways appears
            ONCE with both). Independent of include_published, which covers
            faces open to everyone. Defaults to false.
        - name: from_users
          in: query
          required: false
          schema:
            anyOf:
              - items:
                  type: string
                type: array
              - type: 'null'
            description: >-
              Allowlist: restrict published results to these owner usernames
              (repeatable). Mutually exclusive with not_from_users.
            title: From Users
          description: >-
            Allowlist: restrict published results to these owner usernames
            (repeatable). Mutually exclusive with not_from_users.
        - name: not_from_users
          in: query
          required: false
          schema:
            anyOf:
              - items:
                  type: string
                type: array
              - type: 'null'
            description: >-
              Blocklist: exclude these owner usernames from published results
              (repeatable). Mutually exclusive with from_users.
            title: Not From Users
          description: >-
            Blocklist: exclude these owner usernames from published results
            (repeatable). Mutually exclusive with from_users.
        - name: owner
          in: query
          required: false
          schema:
            anyOf:
              - items:
                  type: string
                type: array
              - type: 'null'
            description: >-
              Filter to faces owned by these accounts (repeatable for OR /
              union, the same shape as ?group_id=). Case-insensitive. ANDs with
              every other filter: ?owner=head&q=engine&sort=usage means what it
              reads as. An unknown username is an empty page, not a 404: a
              creator with nothing published and a creator who does not exist
              look the same from here (GET /v1/users/{username} tells them
              apart). NARROWS what you can already see and never widens it, so
              pair it with include_published=true to read someone else's wall.
            title: Owner
          description: >-
            Filter to faces owned by these accounts (repeatable for OR / union,
            the same shape as ?group_id=). Case-insensitive. ANDs with every
            other filter: ?owner=head&q=engine&sort=usage means what it reads
            as. An unknown username is an empty page, not a 404: a creator with
            nothing published and a creator who does not exist look the same
            from here (GET /v1/users/{username} tells them apart). NARROWS what
            you can already see and never widens it, so pair it with
            include_published=true to read someone else's wall.
        - name: following
          in: query
          required: false
          schema:
            type: boolean
            description: >-
              Restrict to faces owned by accounts you follow. IMPLIES
              include_published=true, because the faces of people you follow are
              reachable only as published ones; without that it would always
              return an empty page, which is the sort of answer a client cannot
              tell from a mistake of its own. Combines with ?owner= as an
              intersection. Following nobody returns an empty page, never the
              whole corpus.
            default: false
            title: Following
          description: >-
            Restrict to faces owned by accounts you follow. IMPLIES
            include_published=true, because the faces of people you follow are
            reachable only as published ones; without that it would always
            return an empty page, which is the sort of answer a client cannot
            tell from a mistake of its own. Combines with ?owner= as an
            intersection. Following nobody returns an empty page, never the
            whole corpus.
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FaceListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    FaceListResponse:
      properties:
        object:
          type: string
          title: Object
          default: list
        data:
          items:
            $ref: '#/components/schemas/FaceObject'
          type: array
          title: Data
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
        has_more:
          type: boolean
          title: Has More
          default: false
      type: object
      required:
        - data
      title: FaceListResponse
      description: List response for faces.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    FaceObject:
      properties:
        alias:
          type: string
          title: Alias
        uid:
          anyOf:
            - type: string
            - type: 'null'
          title: Uid
        object:
          type: string
          title: Object
          default: face
        created:
          type: integer
          title: Created
        owned_by:
          type: string
          title: Owned By
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        specialty:
          anyOf:
            - type: string
            - type: 'null'
          title: Specialty
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        basic_facts:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Basic Facts
        default_tools:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Default Tools
        default_model:
          anyOf:
            - type: string
            - type: 'null'
          title: Default Model
        formula:
          anyOf:
            - type: string
            - type: 'null'
          title: Formula
        profile_addendum:
          anyOf:
            - type: string
            - type: 'null'
          title: Profile Addendum
        published:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Published
        via:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Via
        shared_with:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Shared With
        read_only:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Read Only
        warnings:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Warnings
        fidelity:
          anyOf:
            - type: number
            - type: 'null'
          title: Fidelity
        fidelity_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Fidelity At
        fidelity_competitor:
          anyOf:
            - type: string
            - type: 'null'
          title: Fidelity Competitor
        tags:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Tags
        groups:
          anyOf:
            - items:
                $ref: '#/components/schemas/FaceGroupItem'
              type: array
            - type: 'null'
          title: Groups
        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
        owner_followed:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Owner Followed
        owner_avatar:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Owner Avatar
        usage:
          anyOf:
            - additionalProperties:
                type: integer
              type: object
            - type: 'null'
          title: Usage
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
        compile_tokens_synced:
          anyOf:
            - type: integer
            - type: 'null'
          title: Compile Tokens Synced
        last_synced_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Synced 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:
        - alias
        - created
        - owned_by
        - styles
      title: FaceObject
      description: Public representation of a face.
    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
    FaceGroupItem:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
      type: object
      required:
        - id
        - name
      title: FaceGroupItem
      description: Embedded group summary on a face response.

````

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