GET
/
training
/
generate-scenario
/
{session_id}
curl --request GET \
  --url https://api.open.cx/training/generate-scenario/{session_id} \
  --header 'Authorization: Bearer <token>'
{
  "title": "When a customer needs help resetting their password after being locked out"
}

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
title
string
required

Generated scenario title based on chat history

Example:

"When a customer needs help resetting their password after being locked out"