Skip to main content
POST

Request Body

string
required
Chat session identifier
array
required
Array of message objects
string
default:"gpt-4o"
Model identifier
string
Provider name (e.g., OpenAI, Anthropic, Google)
string
System prompt for the conversation

Response

The endpoint returns a streaming response compatible with the AI SDK. The response is streamed as Server-Sent Events (SSE).