Knowledge Base
Create Knowledge Base Document
Uploads a file or reference a webpage for the agent to use as part of it’s knowledge base
POST
/
v1
/
convai
/
agents
/
{agent_id}
/
add-to-knowledge-base
Remember to patch your agent with the returned document ID after creation for the knowledge base changes to take effect.
Headers
Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.
Path Parameters
The id of an agent. This is returned on agent creation.
Body
multipart/form-data
URL to a page of documentation that the agent will have access to in order to interact with users.
Documentation that the agent will have access to in order to interact with users.
Response
200 - application/json
Was this page helpful?