Agents Platform

Add To Knowledge Base

Uploads a file or reference a webpage to use as part of the shared knowledge base

post/v1/convai/knowledge-base

Request

  • Base URL
    https://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.elevenlabs.io/v1/convai/knowledge-base
  • Auth
    none declared

Query parameters

agent_idstring

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 multipart/form-data

namestring nullable

A custom, human-readable name for the document.

urlstring

URL to a page of documentation that the agent will have access to in order to interact with users.

filestring binary

Documentation that the agent will have access to in order to interact with users.

Response

Successful Response

idstring required
namestring required

Changes