AI
Agents

The chat's current run

The run that has not ended (running, waiting, paused or capped); else the chat's newest run when it ended failed (its last_error says why; retry starts a new run) or stopped, and nothing newer superseded it (a user turn after the stop does). 404 otherwise.

get/agents/sessions/{session_id}/run

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/agents/sessions/{session_id}/run
  • 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

Response

Request fulfilled, document follows

Changes

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