基礎 URL、請求方法與必要請求頭,皆依當前模型的協議模板渲染。
POSThttps://api.gate.ai/openai/v1/chat/completions
欄位
值
Authorization
驗證請求頭,使用 Bearer {API_KEY} 格式傳遞 API Key
Content-Type
請求內容型別,固定為 application/json
model
Model ID; the current model is step-3.5-flash
messages
Ordered array of conversation messages
stream
Whether to return the result as an SSE stream
