provider Agents Platform DELETE /v1/convai/agents/{agent_id}/drafts
@utdk/elevenlabs /v1/convai/agents/{agent_id}/drafts
Delete Agent Draft
Delete a draft for an agent
agent_id path required
The id of an agent. This is returned on agent creation.
string
branch_id query required
The ID of the agent branch to use
string
xi-api-key header
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Try it

Authentication
Configure credentials for ElevenLabs API Documentation
deleteAgentDraftRoute
DELETE/v1/convai/agents/{agent_id}/drafts
Delete a draft for an agent

Parameters

required

The id of an agent. This is returned on agent creation.

required

The ID of the agent branch to use

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import elevenlabs from '@utdk/elevenlabs';

await elevenlabs.deleteAgentDraftRoute()