{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ai-search/json-schema/azure-ai-search-list-query-keys-result-schema.json",
  "title": "ListQueryKeysResult",
  "description": "Response containing the query API keys for a given Azure AI Search service.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ai-search-querykeys-api-openapi.yml#/components/schemas/ListQueryKeysResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The query keys for the Azure AI Search service.",
      "items": {
        "$ref": "#/$defs/QueryKey"
      },
      "readOnly": true
    },
    "nextLink": {
      "type": "string",
      "description": "Request URL that can be used to query next page of query keys. Returned when the total number of requested query keys exceed maximum page size.",
      "readOnly": true
    }
  },
  "x-ms-external": true,
  "$defs": {
    "QueryKey": {
      "type": "object",
      "description": "Describes an API key for a given Azure AI Search service that conveys read-only permissions on the docs collection of an index.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the query API key. Query names are optional, but assigning a name can help you remember how it's used.",
          "readOnly": true
        },
        "key": {
          "type": "string",
          "description": "The value of the query API key.",
          "readOnly": true
        }
      }
    }
  }
}