cURL
curl --request POST \ --url https://api.trillet.ai/v2/api/active-calls/{roomName}/remove-agent \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --header 'x-workspace-id: <x-workspace-id>' \ --data ' { "participantIdentity": "<string>" } '
{ "success": true, "message": "Agent removed from call", "roomName": "call-abc123", "mutedTracks": ["TR_abc123"] }
Remove the AI agent from an active call to allow human takeover. The agent is muted rather than disconnected.