post
https://platform.perso.ai/api/v1/session//event/create/
Record a session lifecycle event.
Event Types
| Event | Description | When to Use |
|---|---|---|
SESSION_START | Session has started | After WebRTC connection is established |
SESSION_DURING | Session heartbeat | Periodically during active session |
SESSION_END | Session ended normally | When user ends the session |
SESSION_ERROR | Session ended with error | When an error occurs |
SESSION_LOG | Custom log entry | For debugging/analytics |
Example
Select "CreateSessionEventRequest" from the Examples dropdown to see the request format.
