AI
Agents
The units of work a run's steps do, one page at a time
Each unit (a dataset to delete, say) with its state: queued, running, done, failed or skipped. Pages of 50, oldest first; pass next_cursor back as cursor. step and state narrow the list.
get/agents/sessions/{session_id}/runs/{run_id}/units
Request
- Base URL: https://app.mammoth.io/api/v2
- URL: https://app.mammoth.io/api/v2/agents/sessions/{session_id}/runs/{run_id}/units
- Auth: one of:
- HTTP bearer
- API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID
Path parameters
session_idstring required
run_idinteger required
Query parameters
stepinteger nullable
state'queued' | 'running' | 'done' | 'failed' | 'skipped' | 'null' nullable
cursorinteger
Response
Request fulfilled, document follows
Changes
No recorded changes to this operation across all 5 revisions of this API.