Get detailed info for a pipeline template.
import requests
url = "https://www.datalab.to/api/v1/processor_templates/{slug}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"processor_id": "<string>",
"slug": "<string>",
"name": "<string>",
"template_description": "<string>",
"template_category": "<string>",
"request_description": "<string>",
"example_files": [
{
"filename": "<string>",
"file_size": 123,
"content_type": "application/pdf"
}
],
"display_config": {
"recommended_view": "<string>",
"changes_description": "<string>",
"highlight_css": "<string>"
}
}Successful Response
Detailed template info.
Show child attributes
Configuration for how the UI should display template results.
Show child attributes
Was this page helpful?
import requests
url = "https://www.datalab.to/api/v1/processor_templates/{slug}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"processor_id": "<string>",
"slug": "<string>",
"name": "<string>",
"template_description": "<string>",
"template_category": "<string>",
"request_description": "<string>",
"example_files": [
{
"filename": "<string>",
"file_size": 123,
"content_type": "application/pdf"
}
],
"display_config": {
"recommended_view": "<string>",
"changes_description": "<string>",
"highlight_css": "<string>"
}
}