Remove AI Agent (Human Takeover)
Remove the AI agent from an active call to allow human takeover. The agent is muted rather than disconnected.
POST
Headers
x-api-keystringrequiredAPI key used for authenticating requests to the API.
x-workspace-idstringrequiredWorkspace identifier for the API.
Path Parameters
roomNamestringrequiredThe LiveKit room name of the active call.
Request Body
participantIdentitystringrequiredIdentity of the AI agent participant to remove/mute.
Response Fields
successbooleanWhether the agent was removed successfully.
messagestringConfirmation message.
roomNamestringThe room name of the call.
mutedTracksarrayArray of track SIDs that were muted.
{
"success": true,
"message": "Agent removed from call",
"roomName": "call-abc123",
"mutedTracks": ["TR_abc123"]
}