Agents Platform
Get Dependent Agents For Multiple Documents
Changed onGet a list of agents depending on any of the given knowledge base documents.
post/v1/convai/knowledge-base/dependent-agents
Request
- Base URLhttps://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.elevenlabs.io/v1/convai/knowledge-base/dependent-agents
- Authnone declared
Query parameters
dependent_type'direct' | 'transitive' | 'all'
Type of dependent agents to return.
page_sizeinteger
How many documents to return at maximum. Can not exceed 100, defaults to 30.
cursorstring nullable
Used for fetching next page. Cursor is returned in the response.
Headers
xi-api-keystring nullable
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.
Request body
Example request
{
"document_ids": [
"21m00Tcm4TlvDq8ikWAM",
"31m00Tcm4TlvDq8ikWBM"
]
}Response
Successful Response
Changes
- info
endpoint added
- info