POST https://datalineage.googleapis.com/v1/{parent}:processOpenLineageRunEvent
Path parameters
Parameters
parent
string
Required. The name of the project and its location that should own the process, run, and lineage event. It takes the form projects/{project}/locations/{location}.
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.
[[["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 allows you to create new lineage events along with their associated process and run, or update them if they already exist.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses a \u003ccode\u003ePOST\u003c/code\u003e method to the specified URL: \u003ccode\u003ehttps://datalineage.googleapis.com/v1/{parent}:processOpenLineageRunEvent\u003c/code\u003e, where \u003ccode\u003e{parent}\u003c/code\u003e is a required path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003erequestId\u003c/code\u003e query parameter for idempotency, accepting a unique 36-character ASCII identifier, such as a UUID.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires data formatted as a Struct, and the response body provides details about the newly created process, run, and lineage events, including their names and formats.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization to use this API requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.processOpenLineageRunEvent\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 - [JSON representation](#body.ProcessOpenLineageRunEventResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nCreates new lineage events together with their parents: process and run. Updates the process and run if they already exist. Mapped from Open Lineage specification: \u003chttps://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json\u003e.\n\n### HTTP request\n\n`POST https://datalineage.googleapis.com/v1/{parent}:processOpenLineageRunEvent`\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [Struct](https://protobuf.dev/reference/protobuf/google.protobuf/#struct).\n\n### Response body\n\nResponse message for [locations.processOpenLineageRunEvent](/dataplex/docs/reference/data-lineage/rest/v1/projects.locations/processOpenLineageRunEvent#google.cloud.datacatalog.lineage.v1.Lineage.ProcessOpenLineageRunEvent).\n\nIf successful, the response body contains data with the following structure:\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.locations.processOpenLineageMessage`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]