import requests
url = "https://www.datalab.to/api/v1/pipelines"
payload = { "steps": [
{
"type": "convert",
"settings": {},
"custom_processor_id": "<string>",
"eval_rubric_id": 123,
"pending_check_url": "<string>",
"pending_name": "<string>"
}
] }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)