Skip to main content
PATCH
Change a fleet's name, model, network or lifecycle

Authorizations

Authorization
string
header
required

Send a dashboard session token, an account API key (agt_t), or a command-line credential (afc_) as a Bearer token. Each endpoint lists accepted credential types.

Headers

If-Match
string
required

Required current strong resource tag.

Path Parameters

workspace_id
string
required

Workspace identifier (version 7 universally unique identifier, or UUID).

fleet_id
string
required

Fleet identifier (version 7 universally unique identifier, or UUID).

Body

application/json

PATCH a fleet under its required resource tag. An omitted field keeps its value; an explicit null is refused. Only a signed-in person may change http_egress or package_domains.

http_egress
enum<string>

public lets the fleet's HTTP tools reach any public host; restricted keeps them to the hosts of its approved access.

Available options:
restricted,
public
model_ref
string

The workspace model the fleet's next run uses.

Minimum string length: 1
name
string

Validated instance slug.

Required string length: 1 - 64
package_domains
boolean

Whether the fleet's HTTP tools may also reach the package registries.

status
enum<string>

archived archives the fleet. Terminal.

Available options:
archived

Response

Current fleet

Shared fleet resource, returned by create, read and every change.

budget_used_nanos
string
required

Exact lifetime spend in nanos.

Pattern: ^(0|[1-9][0-9]*)$
created_at
string<date-time>
required

Creation timestamp, such as 2026-10-24T05:00:00.000Z.

etag
string
required

Strong resource tag for every change.

events_processed
string
required

Exact lifetime event count.

grants
object[]
required

The secrets and integrations it asked for, and where each stands.

http_egress
enum<string>
required

Where the fleet's HTTP tools may reach: restricted to the hosts of its approved access, or public. A new fleet is restricted.

Available options:
restricted,
public
id
string
required

Fleet identity.

memory_access
object
required

Current independent shared-memory permissions.

model_ref
string
required

The workspace model the fleet's runs use; copy one from GET /v1/workspaces/{workspace_id}/models.

name
string
required

Validated instance slug.

package_domains
boolean
required

Whether its HTTP tools may also reach the package registries. A new fleet may not.

pending_approvals
integer<int64>
required

Current unanswered approval gates.

schedules
object[]
required

Stored schedule observations.

status
string
required

active or archived.

triggers
object[]
required

What else may wake it, as its rows hold them.

updated_at
string<date-time>
required

Last update timestamp, such as 2026-10-24T05:00:00.000Z.