Test Mode allows you to send messages to Endpoints without affecting the billable conversation count. The messages you send are processed as regular messages between a user and an AI Agent.Documentation Index
Fetch the complete documentation index at: https://docs.cognigy.com/llms.txt
Use this file to discover all available pages before exploring further.
Key Benefits
- Availability Check. You can periodically check the availability of your AI Agent.
- End-To-End Tests. You can run end-to-end tests in the actual conditions in which AI Agents interact with users and analyze their performance.
Restrictions
The following Endpoint types support test mode:- REST, for Cognigy.AI 4.27.0 and later versions.
- Socket.IO, for Cognigy.AI 4.42.0 and later versions.
How to Use Test Mode for Endpoints
REST
To send a message in test mode, prepend/test/ to the <URL_TOKEN> in the POST request, as follows:
Socket.IO
To send a message in test mode, establish a Socket.IO connection with the Socket.IO Endpoint and pass thetestMode parameter with true to SocketClient.