apicheats.dev elevenlabs/llms.txt Raw .md
GET

GET /v1/convai/agents/{agent_id}/versions/{version_id} — ElevenLabs API

ElevenLabs API

Get Agent Version Metadata

Base URL
https://api.elevenlabs.io
Auth
xi-api-key: <ELEVENLABS_API_KEY>
Last verified
2026-10-20 · upstream hash matched
Actions Try in browser→
Agents: curl -H "Accept: text/markdown" this URL
→ 188 tokens · Vary: Accept

Critical gotchas

Authentication uses the non-standard xi-api-key header, not Authorization: Bearer. Sending a Bearer token returns HTTP 401.

Text-to-speech responses are raw binary audio, not JSON. Write the body to a file (--output speech.mp3) rather than parsing it.

cURL

curl -X GET 'https://api.elevenlabs.io/v1/convai/agents/agent-id/versions/version-id' \  -H "xi-api-key: $ELEVENLABS_API_KEY"

Parameters

Name In Type Required Description
agent_id path string Yes The id of an agent. This is returned on agent creation.
version_id path string Yes Unique identifier for the version.

Response 200 OK

{
  "id": "string",
  "agent_id": "string",
  "branch_id": "string",
  "version_description": "string",
  "seq_no_in_branch": 0,
  "time_committed_secs": 0,
  "parents": {
    "in_branch_parent_id": "string",
    "out_of_branch_parent_id": "string",
    "merged_into_branch_id": "string",
    "merged_from_branch_id": "string",
    "merged_from_version_id": "string",
    "rebased_from_version_id": "string"
  },
  "access_info": {
    "access_source": "creator",
    "creator_email": "[email protected]",
    "creator_name": "John Doe",
    "is_creator": true,
    "role": "admin"
  },
  "merged_authors": [
    {
      "access_source": "creator",
      "creator_email": "[email protected]",
      "creator_name": "John Doe",
      "is_creator": true,
      "role": "admin"
    }
  ]
}
Get a free ElevenLabs API key → sponsored

Affiliate link - we may earn a commission, at no extra cost to you.