Push session events
POST
Single entry point for user-initiated events (text submission, cancellation, regeneration, edit, stop, steer, queue hold/release/move, model config change). Accepts one or more events processed in array order. Answers 204, or with receipt set, 200 with the delivery receipt: duplicate when the session already accepted the idempotency key, so no new events follow for it./v1/sessions/{id}/eventsAuthorization
header
Authorization: Bearer <token>
An access token from Settings → Access tokens, with the scopes this call needs. Authentication
Path parameters
idstringrequiredRequest body
application/json · required
eventsarray<TextSubmitted | Stopped | SessionSuggestionResolved | ...>required- Items
- 1 to 100
idempotencyKeystring | null- Length
- 1 to 512
deliveryIdstring | null- Length
- 1 to 512
threadIdinteger- Range
- 0 to 9007199254740991
receiptbooleanResponses
SessionPushEventsResultapplication/json
statusstringrequired- Value in
- "accepted" | "duplicate"