POST
/
chat
/
completions

Headers

authorization
string | null

Private Key

Body

application/json
agent
object
required
messages
object[]
required
end_of_session
boolean
default: false

Response

200 - text/event-stream

The response is of type file.