Pipeline Templates (Deprecated)
List Templates
List all published pipeline templates.
GET
/
api
/
v1
/
pipeline_templates
List Templates
import requests
url = "https://www.datalab.to/api/v1/pipeline_templates"
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/pipeline_templates \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://www.datalab.to/api/v1/pipeline_templates', 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/pipeline_templates"
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))
}{
"templates": [
{
"processor_id": "<string>",
"slug": "<string>",
"name": "<string>",
"template_description": "<string>",
"template_category": "<string>",
"example_files": [
{
"filename": "<string>",
"file_size": 123,
"content_type": "application/pdf"
}
],
"display_config": {
"recommended_view": "<string>",
"changes_description": "<string>",
"highlight_css": "<string>"
}
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Was this page helpful?
⌘I
List Templates
import requests
url = "https://www.datalab.to/api/v1/pipeline_templates"
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/pipeline_templates \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://www.datalab.to/api/v1/pipeline_templates', 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/pipeline_templates"
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))
}{
"templates": [
{
"processor_id": "<string>",
"slug": "<string>",
"name": "<string>",
"template_description": "<string>",
"template_category": "<string>",
"example_files": [
{
"filename": "<string>",
"file_size": 123,
"content_type": "application/pdf"
}
],
"display_config": {
"recommended_view": "<string>",
"changes_description": "<string>",
"highlight_css": "<string>"
}
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}