---
title: "POST /v1/{+name}:lookupContext"
method: POST
path: "/v1/{+name}:lookupContext"
tags: ["projects"]
---

# POST /v1/{+name}:lookupContext

`POST /v1/{+name}:lookupContext`

Looks up LLM Context for the specified resources.

## Path parameters

- `name` string, required

## Request body

- GoogleCloudDataplexV1LookupContextRequest — Lookup Context using permissions in the source system.
  - `resources` string[] — Required. The entry names to look up the context for. The maximum number of resources for a request is limited to 10.Examples:projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}
  - `context` string — Optional. The text representing contextual information for which metadata context is being requested.
  - `options` object — Optional. Allows to configure the context.Supported options: format - The format of the context (one of yaml, xml, json, default is yaml). context_budget - If provided, the output will be intelligently truncated on a best-effort basis to contain approximately the desired amount of characters. There is no guarantee to achieve the specific amount. all_schema_fields - If set to true, all schema fields will be returned in the context (regardless of context_budget value). Otherwise, the list of schema fields is truncated. Default is false.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/dataplex.md) · [All operations](https://skmtc.net/google/apis/dataplex/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/dataplex/versions/43a3b60ca93b/schema)
