List recent executions for a pipeline.
import requests
url = "https://www.datalab.to/api/v1/pipelines/{pipeline_id}/executions"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"executions": [
{
"execution_id": "<string>",
"pipeline_id": "<string>",
"pipeline_version": 123,
"status": "<string>",
"steps": [
{
"step_index": 123,
"step_type": "<string>",
"status": "<string>",
"lookup_key": "<string>",
"result_url": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z",
"error_message": "<string>",
"source_step_type": "<string>",
"checkpoint_id": "<string>"
}
],
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"config_snapshot": {},
"input_config": {},
"rate_breakdown": {}
}
],
"total": 123
}1 <= x <= 100x >= 0Was this page helpful?
import requests
url = "https://www.datalab.to/api/v1/pipelines/{pipeline_id}/executions"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"executions": [
{
"execution_id": "<string>",
"pipeline_id": "<string>",
"pipeline_version": 123,
"status": "<string>",
"steps": [
{
"step_index": 123,
"step_type": "<string>",
"status": "<string>",
"lookup_key": "<string>",
"result_url": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z",
"error_message": "<string>",
"source_step_type": "<string>",
"checkpoint_id": "<string>"
}
],
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"created": "2023-11-07T05:31:56Z",
"config_snapshot": {},
"input_config": {},
"rate_breakdown": {}
}
],
"total": 123
}