Looks up LLM Context for the specified resources.
HTTP request
POST https://dataplex.googleapis.com/v1/{name=projects/*/locations/*}:lookupContext
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name
|
Required. The project to which the request should be attributed in the following form: |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "resources" : [ string ] , "options" : { string : string , ... } } |
resources[]
string
Required. The entry names to look up the context for. The maximum number of resources for a request is limited to 10.
projects/{project}/locations/{location}/entryGroups/{entryGroup}/entries/{entry}
Response body
Lookup Context response.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "context" : string } |
| Fields | |
|---|---|
context
|
Pre-formatted block of text containing the context for the requested resources. |
Authorization scopes
Requires one of the following OAuth scopes:
-
https://www.googleapis.com/auth/cloud-platform -
https://www.googleapis.com/auth/cloud-platform.read-only -
https://www.googleapis.com/auth/dataplex.read-write -
https://www.googleapis.com/auth/dataplex.readonly
For more information, see the Authentication Overview .

