AI
Agents

Report the units a plan step will work on (session owner only)

Queues the objects the step will work on, so the panel can show them and measure progress. A unit already listed is left as it is.

post/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

Request body

stepinteger required
kindstring required

Response

Request fulfilled, document follows

registeredinteger required
units_totalinteger required

Changes

No recorded changes to this operation across all 5 revisions of this API.