AI
Agents

Notify connector agent of an async connection job result

Reads the FutureRequest identified by job_id, constructs a system event message, and starts an agent turn. Covers both connection creation and edit — the FE never constructs the message text.

post/agents/sessions/{session_id}/notify-job

Request

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

Request body

job_idinteger required
event_type'connection_created' | 'connection_updated' required
connection_namestring required

Response

Request accepted, processing continues off-line

session_idstring required
turn_idstring required

Changes

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