Stream Session
curl --request POST \
--url http://127.0.0.1:3333/v3/sessions/{sessionId}/stream \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "http://127.0.0.1:3333/v3/sessions/{sessionId}/stream"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('http://127.0.0.1:3333/v3/sessions/{sessionId}/stream', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Streaming
Stream Session
Continue chat session with streaming response (SSE).
POST
/
v3
/
sessions
/
{sessionId}
/
stream
Stream Session
curl --request POST \
--url http://127.0.0.1:3333/v3/sessions/{sessionId}/stream \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "http://127.0.0.1:3333/v3/sessions/{sessionId}/stream"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('http://127.0.0.1:3333/v3/sessions/{sessionId}/stream', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
bearerAuthapiKeyAuth
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Response
200
Default Response