Get Status • AI Agent SDK

get_status: Get sandbox status information.

get_status

Method

</div>

This is a method of the SandboxProtocol class in the protocols module.

Get sandbox status information.

Signature

python
def get_status() -> Dict[str, Any]

Returns

ResponseField Dict[str, Any]
  • available: Whether sandbox is available
  • type: Sandbox type
  • running: Whether sandbox is running
  • resource_usage: Current resource usage

Source

View on GitHub

praisonaiagents/sandbox/protocols.py at line 342