cURL
curl --request POST \ --url https://ragapi.sno.ai/v1/chat \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "messages": [ { "role": "user", "content": "<string>", "timestamp": "2023-11-07T05:31:56Z" } ], "threadId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }'
"<string>"
Initiates or continues a chat conversation with RAG context. Response is a streaming text response.
Enter your API key as a Bearer token. Example: 'Bearer YOUR_API_KEY'
Streaming text response with metadata.
The response is of type string.
string