cURL
curl --request POST \ --url https://app.textql.com/v2/chats \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "question": "<string>", "chat_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "tools": { "connector_ids": [ 123 ] }, "connector_ids": [ 123 ] } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z", "model": "<string>", "response": "<string>", "chat_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "assets": [ { "type": "<string>", "url": "<string>" } ] }
Send a question and receive a synchronous response
Documentation IndexFetch the complete documentation index at: https://docs.textql.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.textql.com/llms.txt
Use this file to discover all available pages before exploring further.
API key or JWT token
The question to ask
Existing chat ID to continue a conversation
Tool configuration
Show child attributes
Connector IDs to query
Chat response
Message ID
LLM model used
Markdown-formatted answer
Chat session ID