Generate a conversation summary and reply suggestions
POST/v1/agent/sessions/:sessionId/assist
Generates one factual summary, four distinct response alternatives, and the visitor's current apparent humor without sending a message or changing session state. Suggestions use the complete chronological conversation and completed review or transfer events so they do not recommend repeating those actions. The session must belong to the authenticated application and be active, awaiting human, or transferred. AiChat is charged once per session; a prior Agent charge is reused. Each API key may request assistance up to five times per 60 seconds for each session.
Request
Responses
- 200
- 400
- 401
- 404
- 409
- 429
- 502
- 503
Generated assistance for the current conversation
Invalid session UUID
Missing, invalid, expired, or deleted application API key
SESSION_NOT_FOUND, including a session from another application
SESSION_NOT_ASSISTABLE or AI_WORKSPACE_REQUIRED
Up to five assistance requests per API key and session are allowed every 60 seconds
ASSIST_GENERATION_FAILED or ASSIST_GENERATION_INVALID
AGENT_SERVICE_NOT_CONFIGURED