GET
/
training
/
generate-scenario
/
{session_id}
Generate training scenario from chat history
curl --request GET \
  --url https://api.open.cx/training/generate-scenario/{session_id} \
  --header 'Authorization: Bearer <token>'
{
  "title": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

session_id
string
required

Response

200
application/json

Returns a generated scenario title based on chat history

The response is of type object.