Agents
Create agent session input events
Submits message, cancellation, or tool-result events to a managed agent session. Cancellation can recover a still-open turn whose backend execution has ended by marking it cancelled and abandoning unpublished outputs. Saved results, published files, and existing terminal outcomes are preserved. HTTP 202 confirms acceptance, not durable completion. See session events.
post/agents/sessions/{session_id}/events
Path parameters
session_idstring required
The ID of the session.
Headers
Idempotency-Keystring
An optional client-generated key that makes retries of submitted messages idempotent.
Request body
Response
The events were accepted.