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

> The caller's build/refine jobs for a self face, newest first (default: just
the latest). This is the durable re-attach handle: a client that lost its
job_id (quit/crash mid-build) calls this to find the current or last attempt
and resumes polling it. `kind` distinguishes refine jobs (best-effort, since both
kinds share the job table).



## OpenAPI

````yaml /api-reference/openapi.json get /v1/style/builds
openapi: 3.1.0
info:
  title: faces
  version: 0.101.0
servers: []
security: []
paths:
  /v1/style/builds:
    get:
      tags:
        - Style
      summary: List Builds
      description: >-
        The caller's build/refine jobs for a self face, newest first (default:
        just

        the latest). This is the durable re-attach handle: a client that lost
        its

        job_id (quit/crash mid-build) calls this to find the current or last
        attempt

        and resumes polling it. `kind` distinguishes refine jobs (best-effort,
        since both

        kinds share the job table).
      operationId: list_builds_v1_style_builds_get
      parameters:
        - name: self_face
          in: query
          required: true
          schema:
            type: string
            title: Self Face
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 1
            title: Limit
        - 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/BuildListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    BuildListResponse:
      properties:
        self_face:
          type: string
          title: Self Face
        jobs:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Jobs
      type: object
      required:
        - self_face
        - jobs
      title: BuildListResponse
      description: >-
        Jobs for a self face, newest first: the durable re-attach handle when
        the

        client lost its job_id (app quit/crash mid-build). Each entry also
        carries

        `kind` ("build" | "refine", best-effort) and `created_at`.
    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.