WSO2 · JSON Structure

Admin Api Aiapi Quota Limit Structure

AIAPIQuotaLimit schema from WSO2 API Manager

Type: Properties: 0
API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

AI API Quota Limit object is a JSON Structure definition published by WSO2. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

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