v3
OpenAPI 3.1.02026-07-31350397683.8 KBEnd Conversations
End multiple running conversations by marking them in Redis for the LiveKit agent to terminate.
This endpoint:
- Checks that each test result exists and is in RUNNING status
- Writes control objects to Redis for the LiveKit agent to pick up
- Schedules a 30-second fallback watchdog for each conversation
- Returns which conversations were successfully marked for ending and which failed
The fallback watchdog ensures that if LiveKit fails to respond, the conversation status will be updated after 30 seconds to prevent it from appearing stuck forever.
post/v1/end-conversations
Headers
X-API-Keystring required
API key required to authenticate requests.
Request body
Response
Successful Response