curl --request POST \
--url https://api.example.com/chatbots/query-single-message/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query_str": "<string>",
"assistant_id": "<string>",
"conversation_id": "<string>",
"image_str": "<string>",
"completion_kwargs": {}
}
'{
"query_str": "<string>",
"response": "<string>",
"usage": {
"input_tokens": 123,
"output_tokens": 123,
"model_type": "truestate"
}
}Handles chatbot queries with a single user message, without conversation history.
curl --request POST \
--url https://api.example.com/chatbots/query-single-message/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query_str": "<string>",
"assistant_id": "<string>",
"conversation_id": "<string>",
"image_str": "<string>",
"completion_kwargs": {}
}
'{
"query_str": "<string>",
"response": "<string>",
"usage": {
"input_tokens": 123,
"output_tokens": 123,
"model_type": "truestate"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.truestate.io/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.