GET
/v1/convai/tools
ElevenLabs APIGet Tools
- Base URL
- https://api.elevenlabs.io
- Auth
- xi-api-key: <ELEVENLABS_API_KEY>
- Last verified
- 2026-09-03 · upstream hash matched
Actions
Agents: curl -H "Accept: text/markdown" this URL
→ 205 tokens · Vary: Accept
→ 205 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/tools?search=example-search&page_size=10&show_only_owned_documents=false&created_by_user_id=created-by-user-id&types=example&sort_direction=asc&sort_by=name&cursor=example-cursor' \ -H "xi-api-key: $ELEVENLABS_API_KEY"Get a free ElevenLabs API key → sponsored
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| search | query | string | No | If specified, the endpoint returns only tools whose names start with this string. |
| page_size | query | integer | No | How many documents to return at maximum. Can not exceed 100, defaults to 30. |
| show_only_owned_documents | query | boolean | No | If set to true, the endpoint will return only tools owned by you (and not shared from somebody else). Deprecated: use created_by_user_id instead. |
| created_by_user_id | query | string | No | Filter tools by creator user ID. When set, only tools created by this user are returned. Takes precedence over show_only_owned_documents. Use '@me' to refer to the authenticated user. |
| types | query | string[] | No | If present, the endpoint will return only tools of the given types. |
| sort_direction | query | string | No | The direction to sort the results |
| sort_by | query | string | No | The field to sort the results by |
| cursor | query | string | No | Used for fetching next page. Cursor is returned in the response. |
Response 200 OK
{
"tools": [
{
"id": "string",
"tool_config": {
"response_timeout_secs": 20,
"type": "webhook"
},
"access_info": {
"access_source": "creator",
"creator_email": "john.doe@example.com",
"creator_name": "John Doe",
"is_creator": true,
"role": "admin"
},
"usage_stats": {
"total_calls": 0,
"avg_latency_secs": 0
},
"response_mocks": [
{
"parameter_conditions": [
"[recursive or deeply nested schema]"
],
"mock_result": "string",
"is_error": false
}
]
}
],
"next_cursor": "string",
"has_more": true
}