Add debug endpoint
Connect BotMetrica's debug interface to your AI bot, so you'll be able to debug chats without leaving BotMetrica.
Endpoint setup
Open an assistant
Click "Customize AI" button
Follow instructions on the screenshot

Incoming request
Example of a request's body made to your endpoint:
Response
The response body should be plain text with optional Markdown. If the body is streamed, then it will appear chunk-by-chunk without waiting for the response to finish.
Last updated