Create a run
This endpoint has been deprecated and may be removed in future versions of the API.
Creates a new run object for a job.
Path Parameters
Possible values: <= 1024 characters
The name of the namespace.
Possible values: <= 1024 characters
The name of the job.
Request Body
An optional user-provided unique ID of the run. A run ID must be an UUID. If an ID for the run is not provided, a random UUID will be generated for the given run.
An ISO-8601 timestamp representing the nominal start time of the run.
An ISO-8601 timestamp representing the nominal end time of the run.
The arguments of the run.
- 201
CREATED
Schema
- Array [
- ]
- Array [
- ]
The ID of the run.
An ISO-8601 timestamp representing the date/time the run was created.
An ISO-8601 timestamp representing the date/time the run was updated.
An ISO-8601 timestamp representing the nominal start time of the run.
An ISO-8601 timestamp representing the nominal end time of the run.
Possible values: [NEW
, RUNNING
, COMPLETED
, FAILED
, ABORTED
]
The current state of the run.
An ISO-8601 timestamp representing the start time of the run.
An ISO-8601 timestamp representing the end time of the run.
The total duration of the run. Measured in milliseconds.
The arguments of the run.
facets object
The facets of the run. For a full list of standard run facets, see OpenLineage.
jobVersion object
The namespace of the job.
The name of the job.
The version of the job.
inputDatasetVersions object[]
datasetVersionId object required
The namespace of the dataset.
The name of the dataset.
The version of the dataset.
facets object required
Dataset facets in run context, like inputFacets
.
outputDatasetVersions object[]
datasetVersionId object required
The namespace of the dataset.
The name of the dataset.
The version of the dataset.
facets object required
Dataset facets in run context, like outputFacets
.
A key/value pair that must be of type string
. A context can be used for getting additional details about the job.
facets object
The facets of the run. For a full list of standard run facets, see OpenLineage.
{
"id": "870492da-ecfb-4be0-91b9-9a89ddd3db90",
"createdAt": "2019-05-09T19:49:24.201361Z",
"updatedAt": "2019-05-09T19:49:24.201361Z",
"nominalStartTime": null,
"nominalEndTime": null,
"state": "COMPLETED",
"startedAt": "2019-05-09T15:17:32.690346",
"endedAt": "2019-05-09T20:05:46.815920Z",
"durationMs": 4250894125,
"args": {
"email": "me@example.com",
"emailOnFailure": "false",
"emailOnRetry": "true",
"retries": "1"
},
"context": {
"SQL": "SELECT * FROM mytable;"
},
"facets": {}
}