WSO2 · Schema

AI API Quota Limit object

AIAPIQuotaLimit schema from WSO2 API Manager

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST
View JSON Schema on GitHub

JSON Schema

admin-api-aiapi-quota-limit-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-schema/admin-api-aiapi-quota-limit-schema.json",
  "title": "AI API Quota Limit object",
  "description": "AIAPIQuotaLimit schema from WSO2 API Manager",
  "allOf": [
    {
      "$ref": "#/components/schemas/ThrottleLimitBase"
    },
    {
      "required": [
        "requestCount"
      ],
      "type": "object",
      "properties": {
        "requestCount": {
          "type": "integer",
          "description": "Maximum number of requests allowed",
          "format": "int64",
          "example": 300
        },
        "totalTokenCount": {
          "type": "integer",
          "description": "Maximum number of total tokens allowed",
          "format": "int64",
          "example": 800
        },
        "promptTokenCount": {
          "type": "integer",
          "description": "Maximum number of prompt tokens allowed",
          "format": "int64",
          "example": 400
        },
        "completionTokenCount": {
          "type": "integer",
          "description": "Maximum number of completion tokens allowed",
          "format": "int64",
          "example": 500
        }
      }
    }
  ]
}