get_knowledge_base_list_route
List and filter ElevenLabs knowledge base documents by type, folder, creator, search term, or sort order, with pagination for browsing large collections.
Instructions
Get Knowledge Base List
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_knowledge_base_list_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | No | If present, the endpoint will return only documents of the given types. | |
| cursor | No | Used for fetching next page. Cursor is returned in the response. | |
| search | No | If specified, the endpoint returns only such knowledge base documents whose names start with this string. | |
| sort_by | No | The field to sort the results by | |
| page_size | No | How many documents to return at maximum. Can not exceed 100, defaults to 30. | |
| folders_first | No | Whether folders should be returned first in the list of documents. | |
| sort_direction | No | The direction to sort the results | |
| parent_folder_id | No | If set, the endpoint will return only documents that are direct children of the given folder. | |
| ancestor_folder_id | No | If set, the endpoint will return only documents that are descendants of the given folder. | |
| created_by_user_id | No | Filter documents by creator user ID. When set, only documents created by this user are returned. Takes precedence over show_only_owned_documents. Use '@me' to refer to the authenticated user. | |
| show_only_owned_documents | No | If set to true, the endpoint will return only documents owned by you (and not shared from somebody else). Deprecated: use created_by_user_id instead. |