AiGatewayModelResourceListResult

The response of a AiGatewayModelResource list operation.

A2AAI GatewayAPI CenterAPI GatewayAPI ManagementEnterpriseMCPMicrosoft Azure

Properties

Name Type Description
value array The AiGatewayModelResource items on this page
nextLink string The link to the next page of items
View JSON Schema on GitHub

JSON Schema

microsoft-azure-api-management-ai-gateway-model-resource-list-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-api-management/json-schema/microsoft-azure-api-management-ai-gateway-model-resource-list-result-schema.json",
  "title": "AiGatewayModelResourceListResult",
  "description": "The response of a AiGatewayModelResource list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-api-management-aigatewaymodelresources-api-openapi.yml#/components/schemas/AiGatewayModelResourceListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The AiGatewayModelResource items on this page",
      "items": {
        "$ref": "#/$defs/AiGatewayModelResource"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "AiGatewayAgentHook": {
      "type": "object",
      "description": "External hook settings; omitted fields inherit policy-level settings.",
      "properties": {
        "endpoint": {
          "type": "string",
          "format": "uri",
          "description": "Hook destination HTTPS URL."
        },
        "authorization": {
          "$ref": "#/$defs/AiGatewayAgentHookAuthorization",
          "description": "Hook authorization settings."
        },
        "headers": {
          "type": "object",
          "description": "Literal, non-secret HTTP headers, returned by read operations.",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "AiGatewayAgentHookAuthorization": {
      "type": "object",
      "description": "Authorization settings for an external agent hook.",
      "properties": {
        "type": {
          "$ref": "#/$defs/AiGatewayAgentHookAuthorizationType",
          "description": "Authorization kind."
        },
        "identity": {
          "$ref": "#/$defs/AiGatewayAgentHookIdentity",
          "description": "Managed identity selection, required for managedIdentity authorization."
        },
        "audience": {
          "type": "string",
          "format": "uri",
          "description": "Absolute token audience URI, required for managedIdentity authorization."
        }
      },
      "required": [
        "type"
      ]
    },
    "AiGatewayAgentHookAuthorizationType": {
      "type": "string",
      "description": "Authorization kind for an agent hook.",
      "enum": [
        "anonymous",
        "managedIdentity"
      ],
      "x-ms-enum": {
        "name": "AiGatewayAgentHookAuthorizationType",
        "modelAsString": true,
        "values": [
          {
            "name": "Anonymous",
            "value": "anonymous",
            "description": "Call without authentication."
          },
          {
            "name": "ManagedIdentity",
            "value": "managedIdentity",
            "description": "Authenticate using a managed identity."
          }
        ]
      }
    },
    "AiGatewayAgentHookIdentity": {
      "type": "object",
      "description": "Managed identity selected to authorize an agent hook.",
      "properties": {
        "type": {
          "$ref": "#/$defs/AiGatewayAgentHookIdentityType",
          "description": "Managed identity kind."
        },
        "clientId": {
          "type": "string",
          "description": "User-assigned identity client ID; omit for a system-assigned identity."
        }
      },
      "required": [
        "type"
      ]
    },
    "AiGatewayAgentHookIdentityType": {
      "type": "string",
      "description": "Managed identity kind selected for an agent hook.",
      "enum": [
        "systemAssigned",
        "userAssigned"
      ],
      "x-ms-enum": {
        "name": "AiGatewayAgentHookIdentityType",
        "modelAsString": true,
        "values": [
          {
            "name": "SystemAssigned",
            "value": "systemAssigned",
            "description": "Use the gateway's system-assigned identity."
          },
          {
            "name": "UserAssigned",
            "value": "userAssigned",
            "description": "Use a user-assigned identity."
          }
        ]
      }
    },
    "AiGatewayAgentHooks": {
      "type": "object",
      "description": "Lifecycle hooks supported on tool servers.",
      "properties": {
        "preToolCall": {
          "$ref": "#/$defs/AiGatewayAgentHook",
          "description": "Hook invoked before calling a tool."
        },
        "postToolCall": {
          "$ref": "#/$defs/AiGatewayAgentHook",
          "description": "Hook invoked after calling a tool."
        }
      }
    },
    "AiGatewayContentSafetySeverity": {
      "type": "string",
      "description": "Severity threshold used by a content safety policy.",
      "enum": [
        "Low",
        "Medium",
        "High",
        "None"
      ],
      "x-ms-enum": {
        "name": "AiGatewayContentSafetySeverity",
        "modelAsString": true,
        "values": [
          {
            "name": "Low",
            "value": "Low",
            "description": "Low severity."
          },
          {
            "name": "Medium",
            "value": "Medium",
            "description": "Medium severity."
          },
          {
            "name": "High",
            "value": "High",
            "description": "High severity."
          },
          {
            "name": "None",
            "value": "None",
            "description": "Do not filter this category."
          }
        ]
      }
    },
    "AiGatewayCostLimitOverride": {
      "type": "object",
      "description": "An ordered cost-budget override; exactly one selector must be specified.",
      "properties": {
        "claims": {
          "type": "object",
          "description": "Authenticated token claims that must all match; dictionary keys are case-sensitive claim names.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "apiKeyResourceId": {
          "type": "string",
          "format": "arm-id",
          "description": "Azure resource identifier of the API key selecting this override.",
          "x-ms-arm-id-details": {
            "allowedResources": [
              {
                "type": "Microsoft.ApiManagement/aigateways/apiKeys"
              },
              {
                "type": "Microsoft.ApiManagement/service/apiKeys"
              }
            ]
          }
        },
        "amount": {
          "type": "number",
          "format": "decimal",
          "description": "Override budget in US dollars."
        }
      },
      "required": [
        "amount"
      ]
    },
    "AiGatewayCounterDimension": {
      "type": "string",
      "description": "Public request dimension used to partition a policy counter.",
      "enum": [
        "identity",
        "ipAddress"
      ],
      "x-ms-enum": {
        "name": "AiGatewayCounterDimension",
        "modelAsString": true,
        "values": [
          {
            "name": "Identity",
            "value": "identity",
            "description": "Authenticated request identity."
          },
          {
            "name": "IpAddress",
            "value": "ipAddress",
            "description": "Request source IP address."
          }
        ]
      }
    },
    "AiGatewayFallbackTarget": {
      "type": "object",
      "description": "A fallback target for a model policy.",
      "properties": {
        "modelId": {
          "type": "string",
          "format": "arm-id",
          "description": "Resource identifier of a model in the same workspace.",
          "x-ms-arm-id-details": {
            "allowedResources": [
              {
                "type": "Microsoft.ApiManagement/aigateways/workspaces/modelProviders/models"
              },
              {
                "type": "Microsoft.ApiManagement/service/workspaces/modelProviders/models"
              }
            ]
          }
        }
      },
      "required": [
        "modelId"
      ]
    },
    "AiGatewayIpFilterAction": {
      "type": "string",
      "description": "Action performed by an IP filtering policy.",
      "enum": [
        "Allow",
        "Deny"
      ],
      "x-ms-enum": {
        "name": "AiGatewayIpFilterAction",
        "modelAsString": true,
        "values": [
          {
            "name": "Allow",
            "value": "Allow",
            "description": "Allow matching addresses."
          },
          {
            "name": "Deny",
            "value": "Deny",
            "description": "Deny matching addresses."
          }
        ]
      }
    },
    "AiGatewayModelDeployment": {
      "type": "object",
      "description": "Deployment details for an AI Gateway model.",
      "properties": {
        "resourceId": {
          "type": "string",
          "format": "arm-id",
          "description": "ARM resource identifier of the provider deployment.",
          "x-ms-arm-id-details": {
            "allowedResources": [
              {
                "type": "Microsoft.CognitiveServices/accounts/deployments"
              }
            ]
          }
        },
        "modelName": {
          "type": "string",
          "description": "Provider-side model name."
        },
        "modelVersion": {
          "type": "string",
          "description": "Provider-side model version."
        }
      },
      "required": [
        "modelName"
      ]
    },
    "AiGatewayModelProperties": {
      "type": "object",
      "description": "Properties of an AI Gateway model.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Display name of the model.",
          "x-ms-client-name": "displayName"
        },
        "description": {
          "type": "string",
          "description": "Description of the model."
        },
        "providerKind": {
          "$ref": "#/$defs/AiGatewayModelProviderKind",
          "description": "Parent model provider type.",
          "readOnly": true
        },
        "deployment": {
          "$ref": "#/$defs/AiGatewayModelDeployment",
          "description": "Provider deployment details."
        },
        "supportedEndpoints": {
          "type": "array",
          "description": "Runtime endpoints supported by this model.",
          "items": {
            "type": "string"
          }
        },
        "policies": {
          "type": "array",
          "description": "Inline policies applied to this model.",
          "items": {
            "$ref": "#/$defs/AiGatewayPolicy"
          },
          "x-ms-identifiers": []
        },
        "provisioningState": {
          "$ref": "#/$defs/AiGatewayProvisioningState",
          "description": "Provisioning state of the resource.",
          "readOnly": true
        }
      },
      "required": [
        "name",
        "deployment",
        "supportedEndpoints"
      ]
    },
    "AiGatewayModelProviderKind": {
      "type": "string",
      "description": "The type of an AI model provider.",
      "enum": [
        "Foundry",
        "Custom"
      ],
      "x-ms-enum": {
        "name": "AiGatewayModelProviderKind",
        "modelAsString": true,
        "values": [
          {
            "name": "Foundry",
            "value": "Foundry",
            "description": "Azure AI Foundry provider."
          },
          {
            "name": "Custom",
            "value": "Custom",
            "description": "Custom model provider."
          }
        ]
      }
    },
    "AiGatewayModelResource": {
      "type": "object",
      "description": "An AI Gateway model resource.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/AiGatewayModelProperties",
          "description": "The resource-specific properties for this resource."
        },
        "eTag": {
          "type": "string",
          "description": "If eTag is provided in the response body, it may also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.",
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "AiGatewayPolicy": {
      "type": "object",
      "description": "An inline policy. Supported policy types and scopes depend on the parent resource.",
      "properties": {
        "type": {
          "$ref": "#/$defs/AiGatewayPolicyType",
          "description": "Policy type."
        },
        "scope": {
          "$ref": "#/$defs/AiGatewayPolicyScope",
          "description": "Policy scope. Workspace counter policies use workspace; other policies use resource. Agent hooks require an explicit resource scope."
        },
        "id": {
          "type": "string",
          "description": "Stable identifier, required for costLimit and agentHooks policies."
        },
        "count": {
          "type": "integer",
          "format": "int32",
          "description": "Token count allowed during a token limit period.",
          "minimum": 1
        },
        "period": {
          "$ref": "#/$defs/AiGatewayPolicyPeriod",
          "description": "Counter period. Token limits support minute/hour/day; cost limits support hour/day/week/month/year."
        },
        "counterKey": {
          "type": "array",
          "description": "Unique public dimensions used to partition a token, cost, or request counter.",
          "items": {
            "$ref": "#/$defs/AiGatewayCounterDimension"
          }
        },
        "amount": {
          "type": "number",
          "format": "decimal",
          "description": "Cost budget in US dollars."
        },
        "overrides": {
          "type": "array",
          "description": "Ordered cost-budget overrides; supported only for counterKey [identity]. The first match wins.",
          "items": {
            "$ref": "#/$defs/AiGatewayCostLimitOverride"
          },
          "x-ms-identifiers": []
        },
        "preInvocation": {
          "type": "boolean",
          "description": "Whether to check tool requests for threats."
        },
        "postInvocation": {
          "type": "boolean",
          "description": "Whether to check tool responses for threats."
        },
        "endpoint": {
          "type": "string",
          "format": "uri",
          "description": "Default HTTPS destination for agent hooks."
        },
        "authorization": {
          "$ref": "#/$defs/AiGatewayAgentHookAuthorization",
          "description": "Default authorization for agent hooks."
        },
        "headers": {
          "type": "object",
          "description": "Literal non-secret default HTTP headers for agent hooks.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "hooks": {
          "$ref": "#/$defs/AiGatewayAgentHooks",
          "description": "Lifecycle hooks; requires agent-hook authoring to be enabled on the gateway."
        },
        "hateSeverity": {
          "$ref": "#/$defs/AiGatewayContentSafetySeverity",
          "description": "Hate-content severity threshold."
        },
        "violenceSeverity": {
          "$ref": "#/$defs/AiGatewayContentSafetySeverity",
          "description": "Violence-content severity threshold."
        },
        "sexualSeverity": {
          "$ref": "#/$defs/AiGatewayContentSafetySeverity",
          "description": "Sexual-content severity threshold."
        },
        "selfHarmSeverity": {
          "$ref": "#/$defs/AiGatewayContentSafetySeverity",
          "description": "Self-harm-content severity threshold."
        },
        "threshold": {
          "type": "integer",
          "format": "int32",
          "description": "Consecutive failure count that opens a fallback circuit."
        },
        "tripDurationSeconds": {
          "type": "integer",
          "format": "int32",
          "description": "Duration for which the fallback circuit remains open."
        },
        "fallbackTargets": {
          "type": "array",
          "description": "Ordered fallback model targets.",
          "items": {
            "$ref": "#/$defs/AiGatewayFallbackTarget"
          },
          "x-ms-identifiers": [
            "modelId"
          ]
        },
        "action": {
          "$ref": "#/$defs/AiGatewayIpFilterAction",
          "description": "IP filtering action."
        },
        "cidrRanges": {
          "type": "array",
          "description": "CIDR ranges to allow or deny.",
          "items": {
            "type": "string"
          }
        },
        "callsPerPeriod": {
          "type": "integer",
          "format": "int32",
          "description": "Request count allowed during the configured period.",
          "minimum": 1
        },
        "periodSeconds": {
          "type": "integer",
          "format": "int32",
          "description": "Request rate limit period in seconds."
        },
        "allowedOrigins": {
          "type": "array",
          "description": "Origins allowed by a CORS policy.",
          "items": {
            "type": "string"
          }
        },
        "allowedMethods": {
          "type": "array",
          "description": "HTTP methods allowed by a CORS policy.",
          "items": {
            "type": "string"
          }
        },
        "allowedHeaders": {
          "type": "array",
          "description": "HTTP headers allowed by a CORS policy.",
          "items": {
            "type": "string"
          }
        },
        "exposeHeaders": {
          "type": "array",
          "description": "Response headers exposed to the browser.",
          "items": {
            "type": "string"
          }
        },
        "allowCredentials": {
          "type": "boolean",
          "description": "Whether browsers may send credentials."
        },
        "terminateUnmatchedRequest": {
          "type": "boolean",
          "description": "Whether unmatched CORS requests are terminated."
        },
        "preflightResultMaxAge": {
          "type": "integer",
          "format": "int32",
          "description": "Browser preflight cache duration in seconds."
        }
      },
      "required": [
        "type"
      ]
    },
    "AiGatewayPolicyPeriod": {
      "type": "string",
      "description": "Counter period. Token limits support minute/hour/day; cost limits support hour/day/week/month/year.",
      "enum": [
        "minute",
        "hour",
        "day",
        "week",
        "month",
        "year"
      ],
      "x-ms-enum": {
        "name": "AiGatewayPolicyPeriod",
        "modelAsString": true,
        "values": [
          {
            "name": "Minute",
            "value": "minute",
            "description": "One minute."
          },
          {
            "name": "Hour",
            "value": "hour",
            "description": "One hour."
          },
          {
            "name": "Day",
            "value": "day",
            "description": "One day."
          },
          {
            "name": "Week",
            "value": "week",
            "description": "One week, for cost limits only."
          },
          {
            "name": "Month",
            "value": "month",
            "description": "One month, for cost limits only."
          },
          {
            "name": "Year",
            "value": "year",
            "description": "One year, for cost limits only."
          }
        ]
      }
    },
    "AiGatewayPolicyScope": {
      "type": "string",
      "description": "Aggregation scope of an inline policy.",
      "enum": [
        "resource",
        "workspace"
      ],
      "x-ms-enum": {
        "name": "AiGatewayPolicyScope",
        "modelAsString": true,
        "values": [
          {
            "name": "Resource",
            "value": "resource",
            "description": "Apply the policy to its resource."
          },
          {
            "name": "Workspace",
            "value": "workspace",
            "description": "Aggregate counters across the workspace. Supported for workspace counter policies only."
          }
        ]
      }
    },
    "AiGatewayPolicyType": {
      "type": "string",
      "description": "The type of an inline AI Gateway policy.",
      "enum": [
        "tokenLimit",
        "contentSafety",
        "fallback",
        "ipFilter",
        "requestRateLimit",
        "cors",
        "costLimit",
        "toolThreatProtection",
        "agentHooks"
      ],
      "x-ms-enum": {
        "name": "AiGatewayPolicyType",
        "modelAsString": true,
        "values": [
          {
            "name": "TokenLimit",
            "value": "tokenLimit",
            "description": "Limit consumed tokens."
          },
          {
            "name": "ContentSafety",
            "value": "contentSafety",
            "description": "Filter unsafe content."
          },
          {
            "name": "Fallback",
            "value": "fallback",
            "description": "Route to fallback models after failures."
          },
          {
            "name": "IpFilter",
            "value": "ipFilter",
            "description": "Filter clients by IP address."
          },
          {
            "name": "RequestRateLimit",
            "value": "requestRateLimit",
            "description": "Limit requests over time."
          },
          {
            "name": "Cors",
            "value": "cors",
            "description": "Configure cross-origin resource sharing."
          },
          {
            "name": "CostLimit",
            "value": "costLimit",
            "description": "Limit cumulative spending in US dollars."
          },
          {
            "name": "ToolThreatProtection",
            "value": "toolThreatProtection",
            "description": "Check tool requests and responses for threats."
          },
          {
            "name": "AgentHooks",
            "value": "agentHooks",
            "description": "Invoke external pre-tool-call and post-tool-call hooks when authoring is enabled."
          }
        ]
      }
    },
    "AiGatewayProvisioningState": {
      "type": "string",
      "description": "Provisioning state of an AI Gateway resource.",
      "enum": [
        "Succeeded",
        "Failed",
        "Canceled"
      ],
      "x-ms-enum": {
        "name": "AiGatewayProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "The resource is ready."
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "The resource operation failed."
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "The resource operation was canceled."
          }
        ]
      },
      "readOnly": true
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-api-management-ai-gateway-model-resource-list-result"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.