Chat API (Beta)
Chat Completions
Changed onChat completions.
This endpoint can be used to get realtime chat completions. It can also be used with the Task API processors to get structured, research outputs via a chat interface.
post/v1beta/chat/completions
Request
- Base URLhttps://api.parallel.ai
- AuthAPI key in header x-api-key
Request body
Response
Returns a ChatCompletion object for non-streaming requests (application/json), or a stream of ChatCompletionResponseChunk objects for streaming requests (text/event-stream) when stream=true is set in the request.
Example response
{
"basis": [
{
"confidence": "low"
}
]
}Changes
- info
endpoint added
- info