/bff/ai/question-stream
Returns a Server-Sent Events stream. Events: "token" ({ text }) for partial chunks, "done" ({ answer }) for the complete response, "error" ({ message }) on failure.
bffpostBffAiQuestion-stream
Parameters
2 body
Body · 2
questionstringRequiredThe question or prompt to send to the AI model
modelstringAI model identifier (e.g. "gpt-5-mini", "claude-sonnet-4-20250514"). Defaults to gpt-5-mini
Request
POST /bff/ai/question-stream
curl -X POST "https://api.bizkithub.com/bff/ai/question-stream" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"question": "What is the capital of France?",
"model": "gpt-5-mini"
}'Response
JSON payload
{
"success": true
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.