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

# Read an application's automatic build fixing setting

> Read whether Ankra automatically runs its fix-build lane - deterministic repairs first, a one-shot mission agent opening a pull request as the fallthrough - when a build of the application's tracked branch fails. On by default: the flag exists to opt out, and automatic dispatch is bounded to one mission per application per UTC day.



## OpenAPI

````yaml https://platform.ankra.app/openapi.json get /org/applications/{application_id}/auto-fix-builds
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://platform.ankra.app
security: []
paths:
  /org/applications/{application_id}/auto-fix-builds:
    get:
      tags:
        - Applications API
      summary: Read an application's automatic build fixing setting
      description: >-
        Read whether Ankra automatically runs its fix-build lane - deterministic
        repairs first, a one-shot mission agent opening a pull request as the
        fallthrough - when a build of the application's tracked branch fails. On
        by default: the flag exists to opt out, and automatic dispatch is
        bounded to one mission per application per UTC day.
      operationId: get_application_auto_fix_builds
      parameters:
        - in: path
          name: application_id
          required: true
          schema:
            title: Application Id
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationAutoFixBuilds'
          description: Successful Response
        '401':
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DemoDetailError'
          description: Not found ("Application not found")
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    ApplicationAutoFixBuilds:
      description: >-
        An application's automatic build fixing setting: whether a failed build
        of the tracked branch dispatches Ankra's fix-build lane without a click.
        On by default.
      properties:
        enabled:
          title: Enabled
          type: boolean
      required:
        - enabled
      type: object
      title: ApplicationAutoFixBuilds
    DemoDetailError:
      description: >-
        The FastAPI-style detail envelope the demo routes use for
        400/403/404/409/502 responses.
      properties:
        detail:
          type: string
      required:
        - detail
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object

````