{
  "revision": "20260424",
  "protocol": "rest",
  "baseUrl": "https://kgsearch.googleapis.com/",
  "name": "kgsearch",
  "id": "kgsearch:v1",
  "mtlsRootUrl": "https://kgsearch.mtls.googleapis.com/",
  "documentationLink": "https://developers.google.com/knowledge-graph/",
  "schemas": {
    "SearchResponse": {
      "id": "SearchResponse",
      "properties": {
        "@type": {
          "description": "The schema type of top-level JSON-LD object, e.g. ItemList.",
          "type": "any"
        },
        "@context": {
          "type": "any",
          "description": "The local context applicable for the response. See more details at http://www.w3.org/TR/json-ld/#context-definitions."
        },
        "itemListElement": {
          "items": {
            "type": "any"
          },
          "type": "array",
          "description": "The item list of search results."
        }
      },
      "type": "object",
      "description": "Response message includes the context and a list of matching results which contain the detail of associated entities."
    }
  },
  "ownerName": "Google",
  "kind": "discovery#restDescription",
  "title": "Knowledge Graph Search API",
  "batchPath": "batch",
  "basePath": "",
  "servicePath": "",
  "rootUrl": "https://kgsearch.googleapis.com/",
  "parameters": {
    "access_token": {
      "description": "OAuth access token.",
      "type": "string",
      "location": "query"
    },
    "upload_protocol": {
      "location": "query",
      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
      "type": "string"
    },
    "uploadType": {
      "location": "query",
      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
      "type": "string"
    },
    "oauth_token": {
      "location": "query",
      "description": "OAuth 2.0 token for the current user.",
      "type": "string"
    },
    "key": {
      "location": "query",
      "type": "string",
      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token."
    },
    "prettyPrint": {
      "default": "true",
      "location": "query",
      "description": "Returns response with indentations and line breaks.",
      "type": "boolean"
    },
    "alt": {
      "enumDescriptions": [
        "Responses with Content-Type of application/json",
        "Media download with context-dependent Content-Type",
        "Responses with Content-Type of application/x-protobuf"
      ],
      "default": "json",
      "enum": [
        "json",
        "media",
        "proto"
      ],
      "location": "query",
      "description": "Data format for response.",
      "type": "string"
    },
    "fields": {
      "location": "query",
      "description": "Selector specifying which fields to include in a partial response.",
      "type": "string"
    },
    "$.xgafv": {
      "description": "V1 error format.",
      "enumDescriptions": [
        "v1 error format",
        "v2 error format"
      ],
      "enum": [
        "1",
        "2"
      ],
      "location": "query",
      "type": "string"
    },
    "quotaUser": {
      "location": "query",
      "type": "string",
      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters."
    },
    "callback": {
      "location": "query",
      "description": "JSONP",
      "type": "string"
    }
  },
  "ownerDomain": "google.com",
  "discoveryVersion": "v1",
  "description": "Searches the Google Knowledge Graph for entities.",
  "version": "v1",
  "resources": {
    "entities": {
      "methods": {
        "search": {
          "description": "Searches Knowledge Graph for entities that match the constraints. A list of matched entities will be returned in response, which will be in JSON-LD format and compatible with http://schema.org",
          "response": {
            "$ref": "SearchResponse"
          },
          "id": "kgsearch.entities.search",
          "httpMethod": "GET",
          "parameterOrder": [],
          "parameters": {
            "indent": {
              "description": "Enables indenting of json results.",
              "type": "boolean",
              "location": "query"
            },
            "limit": {
              "type": "integer",
              "description": "Limits the number of entities to be returned.",
              "format": "int32",
              "location": "query"
            },
            "prefix": {
              "description": "Enables prefix match against names and aliases of entities",
              "type": "boolean",
              "location": "query"
            },
            "types": {
              "repeated": true,
              "type": "string",
              "description": "Restricts returned entities with these types, e.g. Person (as defined in http://schema.org/Person). If multiple types are specified, returned entities will contain one or more of these types.",
              "location": "query"
            },
            "ids": {
              "location": "query",
              "repeated": true,
              "type": "string",
              "description": "The list of entity id to be used for search instead of query string. To specify multiple ids in the HTTP request, repeat the parameter in the URL as in ...?ids=A&ids=B"
            },
            "query": {
              "location": "query",
              "description": "The literal query string for search.",
              "type": "string"
            },
            "languages": {
              "location": "query",
              "description": "The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.",
              "repeated": true,
              "type": "string"
            }
          },
          "path": "v1/entities:search",
          "flatPath": "v1/entities:search"
        }
      }
    }
  },
  "icons": {
    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    "x32": "http://www.google.com/images/icons/product/search-32.gif"
  },
  "version_module": true
}
