List all published pipeline 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){
"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>"
}
}
]
}Was this page helpful?
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){
"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>"
}
}
]
}