pipelines
List Pipeline Executions
List recent executions for a pipeline.
GET
/
api
/
v1
/
pipelines
/
{pipeline_id}
/
executions
List Pipeline Executions
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)curl --request GET \
--url https://www.datalab.to/api/v1/pipelines/{pipeline_id}/executions \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://www.datalab.to/api/v1/pipelines/{pipeline_id}/executions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.datalab.to/api/v1/pipelines/{pipeline_id}/executions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"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
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Path Parameters
Query Parameters
Required range:
1 <= x <= 100Required range:
x >= 0Was this page helpful?
⌘I
List Pipeline Executions
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)curl --request GET \
--url https://www.datalab.to/api/v1/pipelines/{pipeline_id}/executions \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://www.datalab.to/api/v1/pipelines/{pipeline_id}/executions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.datalab.to/api/v1/pipelines/{pipeline_id}/executions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"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
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}