/api/testing

POST /api/testing/metabot/seed-ai-usage

Insert count rows into ai_usage_log for the given user_id, 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 body

countinteger required

value must be an integer greater than zero.

user_idinteger required

value must be an integer greater than zero.

Response

Successful response

insertedinteger required

Changes