Skip to main content
POST
/
chatbot
/
{id}
/
run
Run a chatbot
curl --request POST \
  --url https://api.vectorshift.ai/v1/chatbot/{id}/run \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "text": "<string>",
  "audio": "aSDinaTvuI8gbWludGxpZnk=",
  "conversation_id": "<string>",
  "stream": false
}
'
{
  "status": "success",
  "conversation_id": "<string>",
  "output_message": "<string>",
  "follow_up_questions": [
    "<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

Chatbot ID

Body

text
string
required
audio
file

Base64 encoded audio data

conversation_id
string
stream
boolean
default:false

Response

Successful response. Returns regular JSON response or SSE stream based on 'stream' parameter.

status
enum<string>
required
Available options:
success,
failed
conversation_id
string
required
output_message
string
required
follow_up_questions
string[]