WSO2 · Schema

AIServiceProvider

AIServiceProviderRequest schema from WSO2 API Manager

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
name string
apiVersion string
description string
multipleModelProviderSupport string Indicates whether the AI Service Provider supports multiple model providers. If true, the AI Service Provider can support multiple model providers. If false, the AI Service Provider supports only one
configurations string LLM Provider configurations
apiDefinition string OpenAPI specification
modelProviders string
View JSON Schema on GitHub

JSON Schema

admin-api-ai-service-provider-request-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-ai-service-provider-request-schema.json",
  "title": "AIServiceProvider",
  "description": "AIServiceProviderRequest schema from WSO2 API Manager",
  "required": [
    "name",
    "apiVersion",
    "configurations",
    "apiDefinition"
  ],
  "type": "object",
  "properties": {
    "name": {
      "maxLength": 255,
      "minLength": 1,
      "type": "string",
      "example": "OpenAI"
    },
    "apiVersion": {
      "maxLength": 255,
      "minLength": 1,
      "type": "string",
      "example": "1.0.0"
    },
    "description": {
      "maxLength": 1023,
      "type": "string",
      "example": "OpenAI LLM"
    },
    "multipleModelProviderSupport": {
      "type": "string",
      "description": "Indicates whether the AI Service Provider supports multiple model providers.\nIf true, the AI Service Provider can support multiple model providers.\nIf false, the AI Service Provider supports only one model provider.\n",
      "default": "false"
    },
    "configurations": {
      "type": "string",
      "description": "LLM Provider configurations"
    },
    "apiDefinition": {
      "type": "string",
      "description": "OpenAPI specification",
      "format": "binary"
    },
    "modelProviders": {
      "type": "string"
    }
  }
}