Get pipeline by pipeline_id.
import requests
url = "https://www.datalab.to/api/v1/pipelines/{pipeline_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": 123,
"pipeline_id": "<string>",
"name": "<string>",
"steps": [
"<unknown>"
],
"is_saved": true,
"archived": true,
"active_version": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}Was this page helpful?
import requests
url = "https://www.datalab.to/api/v1/pipelines/{pipeline_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"id": 123,
"pipeline_id": "<string>",
"name": "<string>",
"steps": [
"<unknown>"
],
"is_saved": true,
"archived": true,
"active_version": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z"
}