Required. The resource name of the Context whose Artifacts and Executions should be retrieved as a LineageSubgraph. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}
The request may error with FAILED_PRECONDITION if the number of Artifacts, the number of Executions, or the number of events that would be returned for the Context exceeds 1000.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of LineageSubgraph.
[[["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-27 UTC."],[],[],null,["# Method: contexts.queryContextLineageSubgraph\n\n**Full name**: projects.locations.metadataStores.contexts.queryContextLineageSubgraph\n\nRetrieves Artifacts and Executions within the specified Context, connected by Event edges and returned as a LineageSubgraph. \n\n### Endpoint\n\nget `https:``/``/{service-endpoint}``/v1``/{context}:queryContextLineageSubgraph` \nWhere `{service-endpoint}` is one of the [supported service endpoints](/vertex-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n`context` `string` \nRequired. The resource name of the Context whose Artifacts and Executions should be retrieved as a LineageSubgraph. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`\n\nThe request may error with FAILED_PRECONDITION if the number of Artifacts, the number of Executions, or the number of events that would be returned for the Context exceeds 1000.\n\n### Request body\n\nThe request body must be empty. \n\n### Response body\n\nIf successful, the response body contains an instance of [LineageSubgraph](/vertex-ai/docs/reference/rest/v1/LineageSubgraph)."]]