Missions

Log event

Logs a new event against the specified run and returns the created event. Events form the run's audit trail and can reference a plan step or agent.

post/ai/missions/{mission_id}/runs/{run_id}/events

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/ai/missions/{mission_id}/runs/{run_id}/events
  • Auth: HTTP bearer

Path parameters

mission_idstring uuid required

Unique identifier of the mission.

run_idstring uuid required

Unique identifier of the run.

Request body

type'status_change' | 'step_started' | 'step_completed' | 'step_failed' | 'tool_call' | 'tool_result' | 'message' | 'error' | 'custom' required
summarystring required
step_idstring
agent_idstring
payloadobject
idempotency_keystring

Prevents duplicate events on retry

Response

Successful Response

Changes

No operation changes recorded.