Stream thumbnail image for an example file.
Python
import requests url = "https://www.datalab.to/api/v1/pipeline_templates/{slug}/examples/{filename}/thumbnail" headers = {"X-API-Key": "<api-key>"} response = requests.get(url, headers=headers) print(response.text)
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Successful Response
Was this page helpful?