Skip to main content
POST
/
api
/
v1
/
custom_pipelines
/
describe
Describe Customizer
import requests

url = "https://www.datalab.to/api/v1/custom_pipelines/describe"

payload = { "messages": [
        {
            "role": "user",
            "content": "<string>"
        }
    ] }
headers = {
    "X-API-Key": "<api-key>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
{
  "message": "<string>",
  "proposed_description": "<string>"
}

Authorizations

X-API-Key
string
header
required

Cookies

wos-session
string
datalab_active_team
string

Body

application/json

Request for the customizer description chat endpoint.

messages
ChatMessage · object[]
required
Maximum array length: 10

Response

Successful Response

Response from the customizer description chat endpoint.

message
string
required

Assistant's response text

proposed_description
string | null

Non-null when the system has enough conviction to propose a processor description