Evaluate customer experience in a closed session
POST/v1/agent/sessions/:sessionId/cx-score
Evaluates a closed or expired session owned by the API-key application. Text, audio transcriptions and correlated reactions inform the rating. An ineligible conversation returns 200 with null ratings. AiChat is charged once per session across Agent, assist and CX Score; if already charged, this call creates no additional AiChat debit. Repeated calls may recalculate and return different results.
Request
Responses
- 200
- 400
- 401
- 404
- 409
- 422
- 429
- 502
- 503
- 504
Eligible rating or ineligibility result
Invalid session UUID
Missing or invalid application API key
SESSION_NOT_FOUND, including another application's session
SESSION_NOT_CLOSED
CX_SCORE_CONTEXT_TOO_LARGE
Rate limit; Retry-After header gives seconds before retry
Response Headers
CX_SCORE_GENERATION_FAILED or CX_SCORE_GENERATION_INVALID
AGENT_SERVICE_NOT_CONFIGURED
CX_SCORE_TIMEOUT