/api/testing

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

Changed on

Delete all ai_usage_log rows inserted by the seeding endpoint for the given user_id, then clear the metabot limit cache. Intended only for E2E tests.

delete/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)
  • Auth
    API key in header X-API-Key

Request body

user_idinteger required

value must be an integer greater than zero.

Response

Successful response

deletedinteger required

Changes