post
https://rest-endpoint.unless.com/api/v1/ai/query
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
The query endpoint always gives you a chat-data object that has the original question and the response it generated. Normally, you would use this object to show the response in your view. It's important to use the chatDataJson property when you ask any more questions to make sure the conversation history is kept correctly