Stay organized with collections
Save and categorize content based on your preferences.
Searches the public KG entities with entity name.
HTTP request
GET https://enterpriseknowledgegraph.googleapis.com/v1/{parent}/publicKnowledgeGraphEntities:Search
Path parameters
Parameters
parent
string
Required. The name of the Entity's parent resource. Format: projects/{project}/locations/{location} It takes the form projects/{project}/locations/{location}.
Query parameters
Parameters
query
string
Required. The literal query string for search.
languages[]
string
The list of language codes (defined in ISO 693) to run the query with, e.g. 'en'.
types[]
string
Restricts returned entities with these types, e.g. Person (as defined in https://schema.org/Person). If multiple types are specified, returned entities will contain one or more of these types.
limit
integer
Limits the number of entities to be returned.
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-03 UTC."],[[["\u003cp\u003eThis service searches public Knowledge Graph entities using a provided entity name within a specified project and location.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGET\u003c/code\u003e request to \u003ccode\u003ehttps://enterpriseknowledgegraph.googleapis.com/v1/{parent}/publicKnowledgeGraphEntities:Search\u003c/code\u003e requires a \u003ccode\u003eparent\u003c/code\u003e path parameter with the format \u003ccode\u003eprojects/{project}/locations/{location}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe search can be customized via the \u003ccode\u003equery\u003c/code\u003e, \u003ccode\u003elanguages[]\u003c/code\u003e, \u003ccode\u003etypes[]\u003c/code\u003e, and \u003ccode\u003elimit\u003c/code\u003e query parameters, including the ability to specify the search query, languages, entity types, and number of results.\u003c/p\u003e\n"],["\u003cp\u003eThe response will include a JSON structure containing \u003ccode\u003e@context\u003c/code\u003e, \u003ccode\u003e@type\u003c/code\u003e, and \u003ccode\u003eitemListElement\u003c/code\u003e, and the service requires OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the \u003ccode\u003eenterpriseknowledgegraph.publicKnowledgeGraphEntities.search\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty.\u003c/p\u003e\n"]]],[],null,[]]