Skip to main content
PATCH
Update a fleet

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Headers

If-Match
string | null

Optional source-version tag from GET. Stale values return 412 with the current etag.

Path Parameters

workspace_id
string
required

UUIDv7 of the workspace.

fleet_id
string
required

UUIDv7 of the fleet.

Body

application/json

PATCH /v1/workspaces/{workspace_id}/fleets/{fleet_id} — a partial update.

Every field is optional and presence-based; an empty body is a no-op that touches no row. config_json and trigger_markdown both drive the stored configuration and are mutually exclusive. Sent together they are refused, because there is no answer to which one wins.

config_json
string | null

A configuration document, replacing the stored one directly.

source_markdown
string | null

A replacement SKILL.md, cross-checked against the name.

status
string | null

The transition asked for: active, stopped or killed.

paused is refused — it belongs to the platform's anomaly gate, and accepting it here would let a caller forge a system-halt provenance.

trigger_markdown
string | null

An authored TRIGGER.md, reparsed into the configuration and the name.

Response

OK

What a PATCH answers with — one of three shapes.

fleet_id
string
required

The fleet the request named.

config_revision
integer<int64> | null

Always null on this response. Use it to tell "no write" apart from a revision number.