Create a RAG application or Agent with Stark AI RAG API.
API Key for authentication
Chat query with optional streaming
The body is of type object
.
Chat response (streaming or non-streaming)
Server-Sent Events stream when stream=true. Contains token chunks prefixed with '0:', metadata with 'f:', 'e:', and 'd:' prefixes