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

# Get Builder Run

> Get the status of a builder run



## OpenAPI

````yaml https://api.duvo.ai/v2/documentation/mintlify.json get /v2/builder-runs/{builder_run_id}/status
openapi: 3.0.3
info:
  title: Duvo Public API
  description: >-
    Public API for programmatic access to Duvo. Authenticate with API keys
    created in the Duvo dashboard.


    ## Rate limits


    Requests are counted per API key. Every response advertises the quota with
    the IETF RateLimit fields, so a client can self-throttle without waiting for
    a rejection:


    - `RateLimit-Policy: "default";q=<quota>;w=<window seconds>` — the policy in
    force: `q` requests per `w` seconds.

    - `RateLimit: "default";r=<remaining>;t=<seconds>` — the live state: `r`
    requests left, quota resetting in `t` seconds.

    - Read the quota from the headers rather than hard-coding it; it differs per
    environment.

    - The same numbers are also sent as `ratelimit-limit`, `ratelimit-remaining`
    and `ratelimit-reset`.


    Once the quota is exhausted the API answers `429 Too Many Requests` with
    `Retry-After` set to the seconds to wait; honor it instead of retrying
    immediately.
  version: 1.0.0
servers:
  - url: https://api.duvo.ai
    description: Production server
security: []
tags:
  - name: Runs
    description: Start, monitor, and manage agent runs (Runs in the Duvo UI)
  - name: Sandboxes
    description: Create sandboxes and upload files for agent runs
  - name: Queues
    description: Manage queues and their agent bindings
  - name: Cases
    description: Create, list, and manage cases and their labels within queues
  - name: Case Approvals
    description: Submit decisions on pending case approval requests issued by an agent run
  - name: Case Attachments
    description: Upload, list, download, and remove the files attached to a case
  - name: Automations
    description: >-
      List and manage automations — the workspace container that groups the
      agents and queues making up one end-to-end process
  - name: Agents
    description: Create and manage agents for automation workloads
  - name: Revisions
    description: Create and manage agent revisions — the underlying Setup for an Agent
  - name: Agent Folders
    description: Organize agents into folders
  - name: Agent Memory
    description: Read an agent's memory files (the Memory feature in the Duvo UI)
  - name: Suggestions
    description: >-
      List, apply, and dismiss an Agent's improvement suggestions (the
      suggestions inbox in the Duvo UI)
  - name: Notifications
    description: >-
      List, read, dismiss, and clear the authenticated user's team notifications
      (the Notification Center in the Duvo UI)
  - name: Schedules
    description: List schedules configured for an agent
  - name: Duvo Pulse
    description: >-
      Create, list, iterate on, and delete Duvo Pulse dashboards — live,
      agent-generated visualizations of your Duvo data
  - name: Case Triggers
    description: >-
      Configure case triggers that automatically dispatch agent runs (Runs in
      the Duvo UI) for cases added to a queue
  - name: Triggers
    description: >-
      Configure event triggers that start a Run automatically when an external
      event fires (e.g. an email arrives, a Linear issue is created, or a file
      changes in Google Drive)
  - name: Skills
    description: Manage team and system skills (reusable knowledge packs).
  - name: Files
    description: Manage team files.
  - name: Plugins
    description: Discover plugins that can be referenced from a revision.
  - name: Organizations
    description: Inspect organizations you belong to and the teams within them
  - name: Team
    description: Inspect the team and members associated with the API key
  - name: Invites
    description: >-
      Invite people to a team — one at a time or in bulk, scoped to a Clarity
      process or the whole team — and manage the team's shareable invite link
  - name: Integrations
    description: Browse the team's catalog of available integration types
  - name: Connections
    description: Manage your connected integrations
  - name: Credentials
    description: >-
      Manage logins (domain + username + password + TOTP) used by agents to sign
      in to websites and desktop applications, and attach them to assignment
      revisions
  - name: Secrets
    description: >-
      Manage env-var secrets injected into runs, and attach them to assignment
      revisions. Only metadata is exposed; values are never returned
  - name: Revision Integrations
    description: >-
      Attach integrations to assignment revisions, pin specific connections, and
      link queues
  - name: ClarityV2
    description: >-
      Manage Clarity v2 process snapshots, automation proposals, and the
      extra-capture-request follow-up loop
paths:
  /v2/builder-runs/{builder_run_id}/status:
    get:
      tags:
        - Automations
      summary: Get Builder Run
      description: Get the status of a builder run
      operationId: getBuilderRun
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: builder_run_id
          required: true
          description: The builder run identifier.
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  builder_run:
                    type: object
                    properties:
                      id:
                        type: string
                      status:
                        type: string
                        enum:
                          - not_started
                          - running
                          - completed
                          - failed
                          - cancelled
                          - waiting_for_input
                          - waiting_for_approve
                      build_id:
                        type: string
                      started_at:
                        type: string
                        nullable: true
                      completed_at:
                        type: string
                        nullable: true
                      checkpoint_config:
                        nullable: true
                        anyOf:
                          - type: object
                            properties:
                              version:
                                type: string
                                enum:
                                  - v1
                                description: >-
                                  Schema version discriminator — must be "v1"
                                  for the current code-step schema
                              data:
                                type: object
                                properties:
                                  language:
                                    type: string
                                    enum:
                                      - python
                                    description: Language the step's program is written in
                                  source:
                                    oneOf:
                                      - type: object
                                        properties:
                                          kind:
                                            type: string
                                            enum:
                                              - inline
                                          code:
                                            type: string
                                            minLength: 1
                                            description: >-
                                              Program held in the build config.
                                              Written to `main.py` and run with
                                              `python main.py`.
                                        required:
                                          - kind
                                          - code
                                        additionalProperties: false
                                      - type: object
                                        properties:
                                          kind:
                                            type: string
                                            enum:
                                              - files
                                          startCommand:
                                            type: string
                                            minLength: 1
                                            maxLength: 2000
                                            description: >-
                                              Command run from the root of the step's
                                              file system, e.g. "python main.py".
                                          bundle:
                                            description: >-
                                              The program's files, as a
                                              content-addressed manifest
                                            type: object
                                            properties:
                                              bucket:
                                                type: string
                                                minLength: 1
                                                description: >-
                                                  GCS bucket the bundle's blobs are stored
                                                  in
                                              files:
                                                maxItems: 200
                                                type: array
                                                items:
                                                  type: object
                                                  properties:
                                                    path:
                                                      type: string
                                                      minLength: 1
                                                      description: >-
                                                        Path the file is materialised at,
                                                        relative to the work dir
                                                    sha256:
                                                      type: string
                                                      minLength: 64
                                                      maxLength: 64
                                                      pattern: ^[0-9a-f]{64}$
                                                      description: >-
                                                        Digest of the file's bytes, and the key
                                                        its blob is stored at
                                                    sizeBytes:
                                                      type: integer
                                                      minimum: 0
                                                      maximum: 131072
                                                      description: UTF-8 byte length of the file's contents
                                                  required:
                                                    - path
                                                    - sha256
                                                    - sizeBytes
                                                  additionalProperties: false
                                                description: >-
                                                  The program's files, one manifest entry
                                                  each
                                            required:
                                              - bucket
                                              - files
                                            additionalProperties: false
                                        required:
                                          - kind
                                          - startCommand
                                        additionalProperties: false
                                    description: Where the step's program comes from
                                  files:
                                    default: []
                                    description: >-
                                      Team file paths this step can read at run
                                      time
                                    nullable: true
                                    type: array
                                    items:
                                      type: string
                                  timeoutMs:
                                    default: 600000
                                    description: >-
                                      Wall-clock budget for one execution of the
                                      step
                                    type: integer
                                    exclusiveMinimum: true
                                    maximum: 3600000
                                required:
                                  - language
                                  - source
                                  - files
                                  - timeoutMs
                                additionalProperties: false
                                description: Code step configuration payload
                            required:
                              - version
                              - data
                            additionalProperties: false
                          - type: object
                            properties:
                              version:
                                type: string
                                enum:
                                  - v1
                              data:
                                type: object
                                properties:
                                  model:
                                    type: string
                                  temperature:
                                    nullable: true
                                    type: number
                                    minimum: 0
                                    maximum: 2
                                  max_output_tokens:
                                    nullable: true
                                    type: number
                                    minimum: 0
                                    exclusiveMinimum: true
                                  top_p:
                                    nullable: true
                                    type: number
                                    minimum: 0
                                    maximum: 1
                                  store:
                                    type: boolean
                                    nullable: true
                                  tools: {}
                                  input:
                                    anyOf:
                                      - type: string
                                      - type: array
                                        items:
                                          type: object
                                          properties:
                                            role:
                                              type: string
                                              enum:
                                                - system
                                                - user
                                                - assistant
                                            content:
                                              anyOf:
                                                - type: string
                                                - type: array
                                                  items:
                                                    anyOf:
                                                      - type: object
                                                        properties:
                                                          type:
                                                            type: string
                                                            enum:
                                                              - input_text
                                                          text:
                                                            type: string
                                                        required:
                                                          - type
                                                          - text
                                                        additionalProperties: false
                                                      - type: object
                                                        properties:
                                                          type:
                                                            type: string
                                                            enum:
                                                              - input_image
                                                          detail:
                                                            nullable: true
                                                            type: string
                                                            enum:
                                                              - low
                                                              - high
                                                              - auto
                                                          file_id:
                                                            type: string
                                                            nullable: true
                                                          url:
                                                            type: string
                                                            nullable: true
                                                        required:
                                                          - type
                                                        additionalProperties: false
                                                      - type: object
                                                        properties:
                                                          type:
                                                            type: string
                                                            enum:
                                                              - input_file
                                                          file_id:
                                                            type: string
                                                        required:
                                                          - type
                                                          - file_id
                                                        additionalProperties: false
                                            type:
                                              nullable: true
                                              type: string
                                              enum:
                                                - message
                                          required:
                                            - role
                                            - content
                                          additionalProperties: false
                                  text:
                                    nullable: true
                                    type: object
                                    properties:
                                      format:
                                        nullable: true
                                        anyOf:
                                          - type: object
                                            properties:
                                              type:
                                                type: string
                                                enum:
                                                  - text
                                            required:
                                              - type
                                            additionalProperties: false
                                          - type: object
                                            properties:
                                              type:
                                                type: string
                                                enum:
                                                  - json_object
                                            required:
                                              - type
                                            additionalProperties: false
                                    additionalProperties: false
                                  files:
                                    default: []
                                    nullable: true
                                    type: array
                                    items:
                                      type: string
                                  skills:
                                    default: []
                                    nullable: true
                                    type: array
                                    items:
                                      type: string
                                required:
                                  - model
                                  - tools
                                  - input
                                  - files
                                  - skills
                                additionalProperties: false
                            required:
                              - version
                              - data
                            additionalProperties: false
                          - type: object
                            properties:
                              version:
                                type: string
                                enum:
                                  - v2
                                description: >-
                                  Schema version discriminator — must be "v2"
                                  for the current schema
                              data:
                                type: object
                                properties:
                                  models:
                                    type: object
                                    properties:
                                      agent:
                                        type: object
                                        properties:
                                          model:
                                            type: string
                                            x-extensible-enum:
                                              - claude-haiku-4-5-20251001
                                              - claude-sonnet-5
                                              - claude-sonnet-5[1m]
                                              - claude-opus-5
                                              - claude-opus-5[1m]
                                              - kimi-k3
                                              - kimi-k3-duvo
                                              - glm-5.2
                                              - glm-5.3-flash
                                              - deepseek-v4-flash
                                              - minimax-m3
                                              - qwen3.6-27b
                                              - d1-max
                                              - duvo-1-max
                                              - duvo-1-max-sonnet-1m
                                              - duvo-1-max-sonnet-4.5
                                              - duvo-1-max-sonnet-4.5-1m
                                              - duvo-1-max-opus
                                              - duvo-1-max-opus-4.5
                                              - gpt-4.1
                                              - gpt-4o
                                              - gpt-4o-mini
                                              - gpt-5
                                              - gpt-5.1
                                              - claude-sonnet-4-20250514
                                              - claude-sonnet-4-20250514[1m]
                                              - claude-sonnet-4-5-20250929
                                              - claude-sonnet-4-5-20250929[1m]
                                              - claude-sonnet-4-6
                                              - claude-sonnet-4-6[1m]
                                              - claude-opus-4-1-20250805
                                              - claude-opus-4-5-20251101
                                              - claude-opus-4-6
                                              - claude-opus-4-6[1m]
                                              - claude-opus-4-7
                                              - claude-opus-4-7[1m]
                                              - claude-opus-4-8
                                              - claude-opus-4-8[1m]
                                            description: >-
                                              Model identifier used for the primary
                                              agent loop (Claude, or an OSS model when
                                              the team's oss_models flag — or
                                              oss_models_public for the public subset
                                              — is enabled)
                                        required:
                                          - model
                                        additionalProperties: false
                                        description: Primary agent model configuration
                                      browsing:
                                        type: object
                                        properties:
                                          provider:
                                            type: string
                                            enum:
                                              - google
                                              - anthropic
                                            description: >-
                                              Provider backing the
                                              browsing/computer-use model
                                          model:
                                            type: string
                                            enum:
                                              - gemini-2.5-pro
                                              - gemini-2.5-flash
                                              - gemini-3-pro-preview
                                              - claude-haiku-4-5
                                              - claude-sonnet-4-5
                                              - claude-opus-4-1
                                            description: >-
                                              Model identifier for the browsing
                                              provider
                                        required:
                                          - provider
                                          - model
                                        additionalProperties: false
                                        description: >-
                                          Browsing/computer-use model
                                          configuration
                                    required:
                                      - agent
                                      - browsing
                                    additionalProperties: false
                                    description: >-
                                      Model configuration for each capability
                                      the agent uses
                                  input:
                                    anyOf:
                                      - type: string
                                      - type: array
                                        items:
                                          type: object
                                          properties:
                                            role:
                                              type: string
                                              enum:
                                                - system
                                                - user
                                                - assistant
                                            content:
                                              anyOf:
                                                - type: string
                                                - type: array
                                                  items:
                                                    anyOf:
                                                      - type: object
                                                        properties:
                                                          type:
                                                            type: string
                                                            enum:
                                                              - input_text
                                                          text:
                                                            type: string
                                                        required:
                                                          - type
                                                          - text
                                                        additionalProperties: false
                                                      - type: object
                                                        properties:
                                                          type:
                                                            type: string
                                                            enum:
                                                              - input_image
                                                          detail:
                                                            nullable: true
                                                            type: string
                                                            enum:
                                                              - low
                                                              - high
                                                              - auto
                                                          file_id:
                                                            type: string
                                                            nullable: true
                                                          url:
                                                            type: string
                                                            nullable: true
                                                        required:
                                                          - type
                                                        additionalProperties: false
                                                      - type: object
                                                        properties:
                                                          type:
                                                            type: string
                                                            enum:
                                                              - input_file
                                                          file_id:
                                                            type: string
                                                        required:
                                                          - type
                                                          - file_id
                                                        additionalProperties: false
                                            type:
                                              nullable: true
                                              type: string
                                              enum:
                                                - message
                                          required:
                                            - role
                                            - content
                                          additionalProperties: false
                                    description: >-
                                      Initial agent instructions — either a
                                      single system prompt string or a list of
                                      structured messages
                                  files:
                                    default: []
                                    description: >-
                                      Team files that should be available to the
                                      agent, each given as the relative file
                                      path returned in the `path` field of `GET
                                      /v2/teams/{teamId}/files` (for example
                                      `report.md` or `folder/doc.md`) — not the
                                      `id` field, which is a GCS object
                                      identifier.
                                    nullable: true
                                    type: array
                                    items:
                                      type: string
                                  skills:
                                    default: []
                                    description: >-
                                      IDs of skills (team or system) that should
                                      be available to the agent
                                    nullable: true
                                    type: array
                                    items:
                                      type: string
                                  plugins:
                                    default: []
                                    description: >-
                                      Plugins to load — either a built-in plugin
                                      name (e.g. "code-review") or a GitHub URL
                                      (e.g. "https://github.com/owner/repo")
                                    nullable: true
                                    type: array
                                    items:
                                      type: string
                                  subAgents:
                                    default: []
                                    description: >-
                                      Retired — Sub-Assignments was removed.
                                      Accepted for backwards compatibility and
                                      ignored.
                                    nullable: true
                                    type: array
                                    items:
                                      type: string
                                      format: uuid
                                  options:
                                    description: >-
                                      Optional runtime options controlling how
                                      the agent executes
                                    type: object
                                    properties:
                                      browserProvider:
                                        description: Browser infrastructure provider
                                        type: string
                                        enum:
                                          - browserbase
                                          - browser-use
                                      evaluationSchemaId:
                                        description: >-
                                          ID of the evaluation schema to apply to
                                          runs of this agent
                                        type: string
                                      benchmarkExpectedOutcomes:
                                        description: >-
                                          Expected outcomes used when running
                                          benchmark scenarios
                                        type: array
                                        items:
                                          type: object
                                          properties:
                                            description:
                                              type: string
                                              description: >-
                                                Human-readable description of the
                                                expected outcome
                                            criteria:
                                              type: string
                                              description: >-
                                                Pass/fail criteria used to evaluate the
                                                outcome
                                          required:
                                            - description
                                            - criteria
                                          additionalProperties: false
                                      supervisedMode:
                                        description: >-
                                          Run the agent under Duvo's permission
                                          classifier: every tool call is
                                          classified as allow/deny/ask, with 'ask'
                                          routed to human-in-the-loop approval.
                                          Mutually exclusive with browsing and
                                          computer-use connections.
                                        type: boolean
                                    additionalProperties: {}
                                required:
                                  - models
                                  - input
                                  - files
                                  - skills
                                  - plugins
                                  - subAgents
                                additionalProperties: false
                                description: Agent configuration payload
                            required:
                              - version
                              - data
                            additionalProperties: false
                      pending_user_questions:
                        nullable: true
                        type: object
                        properties:
                          questions:
                            minItems: 1
                            type: array
                            items:
                              type: object
                              properties:
                                question:
                                  type: string
                                header:
                                  default: ''
                                  type: string
                                options:
                                  default: []
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      label:
                                        type: string
                                      description:
                                        default: ''
                                        type: string
                                    required:
                                      - label
                                      - description
                                    additionalProperties: false
                                multiSelect:
                                  default: false
                                  type: boolean
                              required:
                                - question
                                - header
                                - options
                                - multiSelect
                              additionalProperties: false
                        required:
                          - questions
                        additionalProperties: false
                      schedule_suggested:
                        type: boolean
                      warnings:
                        nullable: true
                        type: array
                        items:
                          type: object
                          properties:
                            code:
                              type: string
                              enum:
                                - connection_not_in_team_catalog
                            detail:
                              type: string
                              description: >-
                                Human-readable specifics, e.g. the slugs that
                                did not resolve
                          required:
                            - code
                            - detail
                          additionalProperties: false
                    required:
                      - id
                      - status
                      - build_id
                      - started_at
                      - completed_at
                      - checkpoint_config
                      - pending_user_questions
                    additionalProperties: false
                    description: >-
                      Generation status and the checkpoint to review. Acceptance
                      saves the draft without activating it.
                required:
                  - builder_run
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                required:
                  - error
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                required:
                  - error
                additionalProperties: false
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                required:
                  - error
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                required:
                  - error
                additionalProperties: false
        '409':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                required:
                  - error
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                required:
                  - error
                additionalProperties: false
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key authentication. Get your API key from the Duvo dashboard.

````