/api/ee/ai-controls/usage

PUT /api/ee/ai-controls/usage/tenant/{tenant-id}

Changed on

Set or update the metabot usage limit for a specific tenant. Pass max_usage: null to remove the limit.

put/api/ee/ai-controls/usage/tenant/{tenant-id}

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

Path parameters

tenant-idinteger required

Request body

max_usageinteger nullable required

Response

Successful response

max_usageinteger nullable required
tenant_idinteger required

Changes

    • 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 response property anyOf list for the response status

    • info

      removed subschema #1 subschema #2 from the response property oneOf list for the response status

    • info

      endpoint added