---
title: "Update Revision"
method: PATCH
path: "/v2/revisions/{build_id}"
tags: ["Revisions"]
---

# Update Revision

`PATCH /v2/revisions/{build_id}`

Update a revision's configuration, name, description, or handover targets. Returns the updated revision.

## Path parameters

- `build_id` string, uuid, required

## Request body

- object
  - `config` object — Build configuration object
  - `handoverTargetIds` string[] — Agent IDs that this agent can hand over work to
  - `revision_name` string, nullable — Optional user-defined name for this revision. Pass null to clear.
  - `revision_description` string, nullable — Optional user-defined description for this revision. Pass null to clear.

## Response `200`

Default Response

- object
  - `build` object, required — The updated build
    - `id` string, uuid, required
    - `copilot_id` string, uuid, required
    - `agent_id` string, uuid, required
    - `name` string, required
    - `revision_name` string, nullable
    - `revision_description` string, nullable
    - `config` union, required
      - object
        - `version` 'v1', required
        - `data` object, required
          - `model` string, required
          - `temperature` number, nullable
          - `max_output_tokens` number, nullable
          - `top_p` number, nullable
          - `store` boolean, nullable
          - `tools` unknown, required
          - `input` union, required
            - string
            - object[]
              - …
          - `text` object, nullable
            - `format` union
              - …
          - `files` string[], nullable, required
          - `skills` string[], nullable, required
      - object
        - `version` 'v2', required — Schema version discriminator — must be "v2" for the current schema
        - `data` object, required — Agent configuration payload
          - `models` object, required — Model configuration for each capability the agent uses
            - `agent` object, required — Primary Claude agent model configuration
              - …
            - `browsing` object, required — Browsing/computer-use model configuration
              - …
          - `input` union, required — Initial agent instructions — either a single system prompt string or a list of structured messages
            - string
            - object[]
              - …
          - `files` string[], nullable, required — IDs of team files that should be available to the agent
          - `skills` string[], nullable, required — IDs of skills (team or system) that should be available to the agent
          - `plugins` string[], nullable, required — Plugins to load — either a built-in plugin name (e.g. "code-review") or a GitHub URL (e.g. "https://github.com/owner/repo")
          - `subAgents` string[], nullable, required — IDs of other agents (in the same team) to expose to this agent as Claude Code subagents. Each sub-agent runs with its own AOP and connections; the parent can delegate to them via the Agent tool.
          - `options` object — Optional runtime options controlling how the agent executes
            - `browserProvider` 'browserbase' | 'browser-use' — Browser infrastructure provider
            - `evaluationSchemaId` string — ID of the evaluation schema to apply to runs of this agent
            - `benchmarkExpectedOutcomes` object[] — Expected outcomes used when running benchmark scenarios
              - …
    - `status` string, nullable, required
    - `revision_number` number, nullable, required
    - `parent_build_id` string, nullable, required
    - `created_by` string, nullable, required
    - `created_by_name` string, nullable
    - `created_at` string, nullable, required
    - `updated_at` string, nullable, required
    - `schedules` object[]
      - `id` string, required
      - `build_id` string, required
      - `agent_id` string, required
      - `user_id` string, required
      - `enabled` boolean, required
      - `frequency` 'every_5_minutes' | 'every_15_minutes' | 'hourly' | 'daily' | 'workday' | 'weekly' | 'monthly' | 'custom', required
      - `time` string, nullable, required
      - `timezone` string, required
      - `day` string, nullable, required
      - `day_of_month` number, nullable, required
      - `cron` string, nullable, required
      - `source` string, nullable, required
      - `task` string, nullable, required
      - `recurring` boolean, nullable, required
      - `auto_disabled_at` string, nullable, required
      - `auto_disabled_reason` string, nullable, required
      - `consecutive_missing_connection_failures` integer, required
      - `first_missing_connection_failure_at` string, nullable, required
      - `last_missing_connection_failure_at` string, nullable, required
      - `created_at` string, required
      - `updated_at` string, required
      - `user_name` string, nullable
      - `user_email` string, nullable

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response
- `409` — Default Response
- `500` — Default Response

---

[API](https://skmtc.net/duvo/apis/duvo-public-api.md) · [All operations](https://skmtc.net/duvo/apis/duvo-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/duvo/duvo-public-api/versions/dafcf3d868a9/schema)
