Hanzo
OpenapiBot

List returns the caller org's live bot runs, read from the bot runtime and…

List returns the caller org's live bot runs, read from the bot runtime and projected into the console contract with each run's live session URL derived…

GET /v1/bot/runs

Addresshttps://api.hanzo.ai/v1/bot/runs
MethodGET
Operationget_bot_runs
AuthAuthorization: Bearer $HANZO_API_KEY

List returns the caller org's live bot runs, read from the bot runtime and projected into the console contract with each run's live session URL derived here.

The org is ALWAYS the validated principal's org, NEVER a request field, and it is what scopes the runtime's answer — so one tenant can never enumerate another's runs. A runtime that cannot answer is an error, not an empty list: [] would tell the caller "your org has no runs", which is a different claim from "we could not ask", and the difference is the whole reason this endpoint exists.

Request

GET /v1/bot/runs takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200BotRunsok

200 body — 7 fields.

FieldInTypeAlwaysDescription
botsbodyBotRun[]Bots is the org's live runs.
bots[].runIdbodystringRunID is the run's id in the bot runtime, and the node id its live VNC session is registered under.
bots[].sessionUrlbodystringSessionURL is the live session the hanzo.app /vnc panel embeds to watch or attach to this run.
bots[].startedAtbodystringStartedAt is when the run began, RFC 3339, as the runtime stamped it.
bots[].statusbodystringStatus is the run's state as the runtime reports it; "running" when the runtime names none of its own.
bots[].surfacebodystringSurface is what the bot drives: the desktop or terminal sandbox it runs in.
bots[].taskbodystringTask is the instruction the bot is executing.

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Bot API · All Hanzo APIs · Interactive reference

How is this guide?

On this page