Chatbots
Upload files to a chatbot
POST
/
chatbot
/
{id}
/
upload
curl --request POST \
--url https://api.vectorshift.ai/v1/chatbot/{id}/upload \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"files": [
{
"type": "<string>"
}
],
"conversation_id": "<string>"
}'
{
"status": "success",
"errors": [
"<string>"
],
"conversation_id": "<string>",
"knowledge_base_id": "<string>",
"uploaded_files": [
"<string>"
]
}
Authorizations
Bearer token authentication using API key
Path Parameters
Body
Response
200 - application/json
Files uploaded successfully
The response is of type object
.
curl --request POST \
--url https://api.vectorshift.ai/v1/chatbot/{id}/upload \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"files": [
{
"type": "<string>"
}
],
"conversation_id": "<string>"
}'
{
"status": "success",
"errors": [
"<string>"
],
"conversation_id": "<string>",
"knowledge_base_id": "<string>",
"uploaded_files": [
"<string>"
]
}
Assistant
Responses are generated using AI and may contain mistakes.