pod_status
Get pod status (provisioning/active/failed) and optionally wait for SSH connection. Returns current state and SSH string.
Instructions
Get the current status (provisioning / active / failed) for a pod.
With wait_for_ssh=True, blocks (polls every 5s) until ssh_connection is
available — that's when you can SSH in. Returns the SSH connection string
in ssh_connection (e.g. "root@1.2.3.4 -p 22000"). Use it from your Bash
tool: ssh -o StrictHostKeyChecking=no <ssh_connection> "<cmd>".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pod_id | Yes | The id returned by pod_create. | |
| wait_for_ssh | No | If True, poll until ssh_connection is populated or timeout_s elapses. | |
| timeout_s | No | Max seconds to wait when wait_for_ssh=True. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||