/api/testing

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

Changed on

Seed deterministic Metabot conversation, message, and token usage rows for the usage auditing E2E charts.

post/api/testing/metabot/seed-usage-auditing

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

second_tenant_idinteger nullable

value must be an integer greater than zero.

second_user_idinteger required

value must be an integer greater than zero.

tenant_idinteger nullable

value must be an integer greater than zero.

user_idinteger required

value must be an integer greater than zero.

Response

Successful response

datestring required

value must be a non-blank string.

insertedinteger required

Changes

    • breaking

      removed subschema #1 subschema #2 from the request property oneOf list

    • breaking

      removed subschema #1 subschema #2 from the request property oneOf list

    • info

      added subschema #1 subschema #2 to the request property anyOf list

    • info

      added subschema #1 subschema #2 to the request property anyOf list

    • info

      endpoint added