AI API Endpoints
RAG API
Create a RAG application or Agent with Stark AI RAG API.
POST
Check our Documention Page to create a new API Key
Authorizations
API Key for authentication
Body
application/json
Chat query with optional streaming
The body is of type object
.
Response
200
text/event-stream
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