Skip to main content
Version: 1.3.1

Post runEvent

POST 

/lineage

Updates a run state for a job. When authorization is enabled, job.namespace identifies the Gravitino metalake (organization), and every input and output dataset namespace must match it. Dataset names must be Gravitino metadata full names. The optional datasetType facet defaults to TABLE; supported values are TABLE, VIEW, FILE, FILESET, MODEL, and TOPIC. Inputs and outputs both require metadata visibility because this endpoint records producer-reported lineage rather than attesting underlying read or write execution. RunEvents without datasets require only metalake membership. Unsupported or external dataset identifiers are rejected when authorization is enabled. When authorization is disabled, generic OpenLineage namespaces remain supported.

Request​

Body

    eventTime date-timerequired

    the time the event occurred at

    producer urirequired

    URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha

    schemaURL urirequired

    The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this RunEvent

    eventType string

    Possible values: [START, RUNNING, COMPLETE, ABORT, FAIL, OTHER]

    the current transition of the run state. It is required to issue 1 START event and 1 of [ COMPLETE, ABORT, FAIL ] event per run. Additional events with OTHER eventType can be added to the same run. For example to send additional metadata after the run is complete

    run

    object

    required

    runId uuidrequired

    The globally unique ID of the run associated with the job.

    facets

    object

    The run facets.

    anyOf

    property name*

    RunFacet

    A Run Facet

    _producer urirequired

    URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha

    _schemaURL urirequired

    The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet

    property name* any

    A Run Facet

    job

    object

    required

    namespace stringrequired

    The namespace containing that job

    name stringrequired

    The unique name for that job within that namespace

    facets

    object

    The job facets.

    anyOf

    property name*

    JobFacet

    A Job Facet

    _producer urirequired

    URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha

    _schemaURL urirequired

    The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet

    _deleted boolean

    set to true to delete a facet

    property name* any

    A Job Facet

    inputs

    object[]

    The set of input datasets.

  • Array [

  • namespace stringrequired

    The namespace containing that dataset

    name stringrequired

    The unique name for that dataset within that namespace

    facets

    object

    The facets for this dataset

    anyOf

    property name*

    DatasetFacet

    A Dataset Facet

    _producer urirequired

    URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha

    _schemaURL urirequired

    The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet

    _deleted boolean

    set to true to delete a facet

    property name* any

    A Dataset Facet

    inputFacets

    object

    The input facets for this dataset.

    anyOf

    property name*

    InputDatasetFacet

    An Input Dataset Facet

    _producer urirequired

    URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha

    _schemaURL urirequired

    The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet

    property name* any

    An Input Dataset Facet

  • ]

  • outputs

    object[]

    The set of output datasets.

  • Array [

  • namespace stringrequired

    The namespace containing that dataset

    name stringrequired

    The unique name for that dataset within that namespace

    facets

    object

    The facets for this dataset

    anyOf

    property name*

    DatasetFacet

    A Dataset Facet

    _producer urirequired

    URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha

    _schemaURL urirequired

    The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet

    _deleted boolean

    set to true to delete a facet

    property name* any

    A Dataset Facet

    outputFacets

    object

    The output facets for this dataset

    anyOf

    property name*

    OutputDatasetFacet

    An Output Dataset Facet

    _producer urirequired

    URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha

    _schemaURL urirequired

    The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this facet

    property name* any

    An Output Dataset Facet

  • ]

Responses​

Created

Loading...