Skip to main content
POST
/
chatbot
/
{id}
/
upload
Upload files to a chatbot
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>",
      "raw_bytes": "aSDinaTvuI8gbWludGxpZnk="
    }
  ],
  "conversation_id": "<string>"
}
'
{
  "status": "success",
  "errors": [
    "<string>"
  ],
  "conversation_id": "<string>",
  "knowledge_base_id": "<string>",
  "uploaded_files": [
    "<string>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.vectorshift.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token authentication using API key

Path Parameters

id
string
required

Body

files
object[]
required
conversation_id
string

Response

200 - application/json

Files uploaded successfully

status
enum<string>
required
Available options:
success,
failed
errors
string[]
conversation_id
string
knowledge_base_id
string
uploaded_files
string[]