Create Session Event

Record a session lifecycle event.

Event Types

EventDescriptionWhen to Use
SESSION_STARTSession has startedAfter WebRTC connection is established
SESSION_DURINGSession heartbeatPeriodically during active session
SESSION_ENDSession ended normallyWhen user ends the session
SESSION_ERRORSession ended with errorWhen an error occurs
SESSION_LOGCustom log entryFor debugging/analytics

Example

Select "CreateSessionEventRequest" from the Examples dropdown to see the request format.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string
file | null
string
enum
required
  • SESSION_START - Session Start
  • SESSION_DURING - Session During
  • SESSION_LOG - Session Log
  • SESSION_END - Session End
  • SESSION_ERROR - Session Error
  • SESSION_TTS - Session TTS
  • SESSION_STT - Session STT
  • SESSION_LLM - Session LLM
  • SESSION_DASHBOARD - Session Dashboard
Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

400

Bad Request - Invalid input data or parameters.

401

Unauthorized - Invalid or missing authentication credentials.

403

Forbidden - You do not have permission to perform this action.

404

Not Found - The requested resource could not be found.

405

Method Not Allowed - Invalid HTTP method

406

Not Acceptable - Invalid request accept headers

415

Unsupported Media Type - Invalid content type

500

Internal Server Error - An unexpected error occurred.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json