Skip to content

Agent runs

Run log: trigger, state, modules touched, tokens, cost and sale price. Summary and result are not returned here: read them with the agents.run_result command, only with read access to all modules touched. Kept 90 days (the cost register remains).

Module: AI agents (agents).

  • GET /api/v1/agent_runs - List with filters, sorting and pagination (scope agents:read)
  • GET /api/v1/agent_runs/{id} - A record by id (scope agents:read)
  • id (string, uuid; read): Unique identifier (UUID).
  • agent_id (string, uuid; read)
  • version_id (string, uuid; read)
  • trigger (string; read)
  • state (string; read)
  • dry_run (boolean; read)
  • tainted (boolean; read)
  • modules (array; read)
  • started_at (string, date-time; read)
  • finished_at (string, date-time; read)
  • cost_usd (number; read)
  • sell_amount (number; read)
  • sell_currency (string; read)
  • error (string; read)