text-ai
text_widget_groups
Create Text Widget Test Session
Changed onStart a cockpit test chat with the group's head agent.
The cockpit used to open the public widget's session, which took the agent's environment: a test of a live agent was a production session — in the logs, the metrics and the bookings — and React's double effect made two of them per open. This one is staging: kept out of production reporting, and its write tools run as dry runs (ToolExecutionContext.environment comes from the session). The overlay then talks to it through the public widget's message and end routes with the returned token, like a visitor.
post/api/v1/text-ai/text-widget-groups/{group_id}/test-sessions
Request
- Base URL: https://api.getanana.com (the document declares no server; this is the origin it was published from)
- URL: https://api.getanana.com/api/v1/text-ai/text-widget-groups/{group_id}/test-sessions
- Auth: none declared
Path parameters
group_idstring uuid required
Response
Successful Response
Changes
- info
endpoint added
- info