POST https://datalineage.googleapis.com/v1/{parent}/lineageEvents
Path parameters
Parameters
parent
string
Required. The name of the run that should own the lineage event. It takes the form projects/{project}/locations/{location}/processes/{processes}/runs/{run}.
Query parameters
Parameters
requestId
string
Optional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a requestId is provided.
Request body
The request body contains an instance of LineageEvent.
Response body
If successful, the response body contains a newly created instance of LineageEvent.
[[["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-07-21 UTC."],[[["\u003cp\u003eThis endpoint creates a new lineage event using a \u003ccode\u003ePOST\u003c/code\u003e request to the specified URL: \u003ccode\u003ehttps://datalineage.googleapis.com/v1/{parent}/lineageEvents\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter is required and represents the run that owns the lineage event, in the format \u003ccode\u003eprojects/{project}/locations/{location}/processes/{processes}/runs/{run}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA unique \u003ccode\u003erequestId\u003c/code\u003e query parameter can be provided for idempotent requests, limited to 36 ASCII characters, and is recommended to be a random UUID.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain a \u003ccode\u003eLineageEvent\u003c/code\u003e instance, and a successful response will return a newly created \u003ccode\u003eLineageEvent\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eTo authorize requests, the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope is required, along with the \u003ccode\u003edatalineage.events.create\u003c/code\u003e IAM permission on the parent resource.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.processes.runs.lineageEvents.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nCreates a new lineage event.\n\n### HTTP request\n\n`POST https://datalineage.googleapis.com/v1/{parent}/lineageEvents`\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [LineageEvent](/dataplex/docs/reference/data-lineage/rest/v1/projects.locations.processes.runs.lineageEvents#LineageEvent).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [LineageEvent](/dataplex/docs/reference/data-lineage/rest/v1/projects.locations.processes.runs.lineageEvents#LineageEvent).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:\n\n- `datalineage.events.create`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]