POST
/
chatbots
/
query-conversation
/
{
  "query_str": "<string>",
  "response": "<string>",
  "usage": {
    "input_tokens": 123,
    "output_tokens": 123,
    "model_type": "gpt-4o"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Api-key
string | null

Body

application/json
query_str
string
required
assistant_id
string
required
conversation_id
string | null
image_str
string | null
completion_kwargs
object

Response

Returns the response of the chatbot based on the conversation history

query_str
string
required
response
string
required
usage
object
required