Skip to Content
Levain LabsLevain Labs
API ReferenceRuntimes

List Runtime Agents

List the coding agents found on a runtime's machine.

List the coding agents found on a runtime's machine.

The runner reports them once the machine agreed to observation (observe_allowed on the runtime): one per CLI and repository, most recently active first. On a personal runtime only its owner sees them.

GET
/api/v1/runtimes/{runtime_id}/agents

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

runtime_id*Runtime Id

Header Parameters

X-API-Key?string|null

Response Body

application/json

application/json

curl -X GET "https://api.levainlabs.com/api/v1/runtimes/string/agents"
[
  {
    "id": "string",
    "engine": "string",
    "repo": "string",
    "observe": true,
    "agent_id": "string",
    "agent_slug": "string",
    "engine_version": "string",
    "sessions": 0,
    "last_active_at": "string"
  }
]