If-Match must carry the current revision (the ETag from a read). {"archive": true}
archives at the current revision and ignores every other field; there is no unarchive.
Otherwise omitted fields keep their current values, the merged config is re-validated
against today's catalog (or the catalog_revision sent), and a new revision is written,
even when only name/description changed. handle and harness are immutable.
Authenticate with a signed-in session token (an API key cannot call this route).
Path parameters
The org's slug or id. A caller with no role in the org gets 404.
The saved agent's id (UUID). Handles are not accepted here.
Headers
Current revision as an entity tag ("3", W/"3" or bare 3).
Request body
Any subset. handle or harness present is 422 IMMUTABLE_FIELD.
true archives and ignores every other field.
null clears it.
Defaults to the current catalog revision.
1 fields
Merged key by key over the current defaults.
3 fields
2 fields
A model id the harness lists in GET /o/{org}/agents/available.
standardfast2 item fields
oauthmcpMerged key by key over the current capabilities.
2 fields
1 fields
1 fields
1 item fields
Responses
200The agent at its new revision (or, for archive, at the unchanged revision with archived: true).
Launch-boundary managed harnesses.
claudecodexopencodeThe desired configuration stored with one revision.
10 fields
Launch-boundary managed harnesses.
claudecodexopencode1 fields
3 fields
2 fields
A model id the harness lists in GET /o/{org}/agents/available.
standardfast2 item fields
oauthmcp2 fields
1 fields
1 fields
1 item fields
What the config resolved to against the catalog when this revision was saved.
9 fields
standardfast3 item fields
401No bearer, an unknown, revoked or expired one, or an API key on a route keys cannot call.
A sentence for a person.
Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, PLAN_REQUIRED.
The machine code on routes that name it this way.
404No such agent for the caller (NOT_FOUND).
A sentence for a person.
Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, PLAN_REQUIRED.
The machine code on routes that name it this way.
412If-Match is not the current revision, a concurrent write won, or the agent is already archived (STALE_ETAG).
A sentence for a person.
Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, PLAN_REQUIRED.
The machine code on routes that name it this way.
422Body refused: IMMUTABLE_FIELD (handle or harness sent), or any create-time validation code (see createSavedAgent), including CONNECTION_NOT_OWNED.
A sentence for a person.
Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, PLAN_REQUIRED.
The machine code on routes that name it this way.
428If-Match missing or unparseable (IF_MATCH_REQUIRED).
A sentence for a person.
Stable machine code, e.g. AUTH_FAILED, NOT_FOUND, VALIDATION_ERROR, RATE_LIMITED, PLAN_REQUIRED.
The machine code on routes that name it this way.