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

  1. Open an assistant

  2. Click "Customize AI" button

  3. Follow instructions on the screenshot

Set up your bot endpoint

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