Terminate a cloud instance
Changed onTransitions a cloud instance from a non-terminal status to terminating. Requires write authorization.
Request
- Base URL: https://api.mabl.com
- URL: https://api.mabl.com/agentSession/{agent_session_id}/cloudInstance/{cloud_instance_id}/terminate
- Auth: one of:
- HTTP basic
- API key in header Authorization
Path parameters
The ID of the agent session
The ID of the cloud instance
Query parameters
The reason for terminating a cloud instance. 'infra_shutdown' covers any shutdown signal from the runtime environment (K8s pod eviction, Cloud Run instance cycling, etc.) — kept generic so it applies regardless of where the agent runs. 'dispatch_failed' means the instance never started — its start message failed to publish, or expired in the queue before any runner claimed it. 'agent_stalled' means the agent was still alive but stopped making progress, so a watchdog hard-killed it. 'agent_error' means the agent threw or exited unexpectedly while its work was still in flight.
The reason for terminating the instance
Headers
If-Match header according to http/1.1 spec section 14.24
Response
The updated cloud instance
Changes
- warning
added the new
flow_authoringenum value to theresponse property for the response status - warning
added the new
flow_authoringenum value to the/response property for the response status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- warning
- info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status
- info