API Reference

Get agent status

Whether the agent is up and busy: sandbox state, last activity, and the next scheduled wake.

Requires the results:read scope.

Response. ```json { "status": { "sandbox": "alive", "running": false, "lastActivityAt": 1789832474865, "lastTurnAt": 1789832490530, "pendingWakes": 2, "nextWakeAt": 1790002800000 } }


`running` is derived: a turn that started in the last 30 minutes and has not finished. It covers the whole account, so a turn started from chat, Slack, a webhook or a scheduled wake counts, not just this token's messages. A `dead` sandbox is normal between turns; the next message or wake spawns one. `pendingWakes` counts scheduled wakes, up to 100, and `nextWakeAt` is the earliest.
get/api/v1/agent/status

Request

  • Base URL: https://revnu.com
  • URL: https://revnu.com/api/v1/agent/status
  • Auth: HTTP bearer

Response

``json { "status": { "sandbox": "alive", "running": false, "lastActivityAt": 1789832474865, "lastTurnAt": 1789832490530, "pendingWakes": 2, "nextWakeAt": 1790002800000 } } ` running is derived: a turn that started in the last 30 minutes and has not finished. It covers the whole account, so a turn st

Changes

No recorded changes to this operation across all 1 revision of this API.