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
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
Response
200
application/json
Successful Response
The response is of type object
.