> ## 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 Style Versions

> The styles kept for this face: the active one and the step before it.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/style/versions/{self_face}
openapi: 3.1.0
info:
  title: faces
  version: 0.101.0
servers: []
security: []
paths:
  /v1/style/versions/{self_face}:
    get:
      tags:
        - Style
      summary: List Style Versions
      description: 'The styles kept for this face: the active one and the step before it.'
      operationId: list_style_versions_v1_style_versions__self_face__get
      parameters:
        - name: self_face
          in: path
          required: true
          schema:
            type: string
            title: Self Face
        - 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/VersionsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    VersionsResponse:
      properties:
        self_face:
          type: string
          title: Self Face
        versions:
          items:
            $ref: '#/components/schemas/VersionInfo'
          type: array
          title: Versions
      type: object
      required:
        - self_face
        - versions
      title: VersionsResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    VersionInfo:
      properties:
        version:
          type: integer
          title: Version
        medium:
          anyOf:
            - type: string
            - type: 'null'
          title: Medium
        active:
          type: boolean
          title: Active
        can_revert:
          type: boolean
          title: Can Revert
          default: false
        model:
          anyOf:
            - type: string
            - type: 'null'
          title: Model
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
        sources_printed:
          anyOf:
            - type: integer
            - type: 'null'
          title: Sources Printed
        job_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Job Id
      type: object
      required:
        - version
        - active
      title: VersionInfo
    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.