/api/testing
POST /api/testing/metabot/seed-ai-usage
Changed onInsert count messages of AI usage for the given user_id: one ai_usage_log row each, from the chat source and under its own request_id, so a message limit counts each row as one message. Then clear the metabot limit cache so limit checks re-evaluate immediately. Intended only for E2E tests.
post/api/testing/metabot/seed-ai-usage
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-API-Key
Request body
Response
Successful response
Changes
- info
endpoint added
- info