For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Connect
BlogHelp CenterAPI PricingSign up
OverviewElevenCreativeElevenAgentsElevenAPIReception AIAPI referenceChangelog
OverviewElevenCreativeElevenAgentsElevenAPIReception AIAPI referenceChangelog
  • Get started
    • Overview
    • Quickstart
  • Configure
    • Overview
    • Voice & language
    • Knowledge base
    • Tools
    • Personalization
    • Authentication
  • Deploy
    • Overview
    • Environment variables
    • WhatsApp
    • Batch calls
  • Monitor
    • Overview
    • Users
    • Testing
    • Experiments
    • Versioning
    • Conversation Analysis
    • Analytics
    • Real-time monitoring
    • OpenTelemetry traces
    • Privacy
    • Cost optimization
    • CLI
  • Advanced
    • Events
    • Custom models
    • LLM cascading
    • Post-call webhooks
  • Resources
    • UI components
  • Guides
    • Chat Mode
    • Burst pricing
    • ElevenLabs' docs agent
    • Scaling user interviews
    • Simulate Conversations
        • WSSAgent WebSockets
            • POSTCreate draft
            • DELDelete draft
          • POSTCreate agent
          • GETGet agent
          • GETList agents
          • PATCHUpdate agent
          • DELDelete agent
          • POSTDuplicate agent
          • GETGet link
          • POSTSimulate conversation
          • POSTStream simulate conversation
          • POSTCalculate expected LLM usage
          • GETGet agent summaries
LogoLogo
Login
Login
Connect
BlogHelp CenterAPI PricingSign up
API referenceAgentsDrafts

Delete draft

DELETE
/v1/convai/agents/:agent_id/drafts
DELETE
/v1/convai/agents/:agent_id/drafts
$curl -X DELETE "https://api.elevenlabs.io/v1/convai/agents/agent_3701k3ttaq12ewp8b7qv5rfyszkz/drafts?branch_id=agtbrch_8901k4t9z5defmb8vh3e9361y7nj"
1{
2 "key": "value"
3}
Delete a draft for an agent
Was this page helpful?
Previous

Get agent version metadata

Next
Built with

Path parameters

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

Headers

xi-api-keystringOptional

Query parameters

branch_idstringRequired
The ID of the agent branch to use

Response

Successful Response

Errors

422
Drafts Delete Request Unprocessable Entity Error