Update template metadata. Admin-only.
Python
import requests url = "https://www.datalab.to/api/v1/pipeline_templates/{slug}" payload = { "template_description": "<string>", "template_category": "<string>", "sort_order": "123", "name": "<string>" } headers = { "X-API-Key": "<api-key>", "Content-Type": "application/x-www-form-urlencoded" } response = requests.put(url, data=payload, headers=headers) print(response.text)
{ "pipeline_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" } ] }
Successful Response
Detailed template info.
Show child attributes
Was this page helpful?