latestOpenAPI 3.0.32026-08-227451,2751.8 MB
d0fc0114da66
AgentSession
Update an agent session
Partial update of an agent session. Currently supports writing status to drive a local-client lifecycle. A status write requires an instance_type of local — cloud-managed sessions (and legacy sessions with no instance_type) are driven by the cloudInstance endpoints instead — and is refused once the session holds a terminal session-level status. A request with no status only touches audit metadata and is always allowed. Uses If-Match for optimistic locking against concurrent updates.
patch/agentSession/{id}
Path parameters
idstring required
The ID of the agent session
Headers
If-Matchstring
If-Match header for optimistic locking. Required when latest_instance_status is non-null to prevent concurrent clients from overwriting each other.
Request body
Response
The updated agent session