Agents

List agent runs

Background runs, newest first. A key confined to a workspace lists that workspace’s. Each run’s steps_taken is empty here; read the run for them. An account keeps its 1000 newest runs that have ended, and every run still going. Members and owners may read them; viewers cannot.

Requires the member role or higher.

get/agent/runs

Request

  • Base URL: https://app.mandala.computer/api/v1
  • URL: https://app.mandala.computer/api/v1/agent/runs
  • Auth: HTTP bearer

Query parameters

computer_idstring

Only this computer’s runs.

status'running' | 'completed' | 'failed' | 'cancelled' | 'interrupted'

Only runs in this status. Anything else is a 400.

limitinteger

How many to return. Outside 1 to 100 is a 400.

beforestring

The id of the last run of the previous page. One this key cannot see is a 400.

Response

One page of runs.

has_moreboolean required

Whether another page follows; pass the last run’s id as before to get it.

Changes

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