Skip to main content
GET
/
api
/
v1
/
custom_pipelines
/
access
Check Pipeline Access
import requests

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

headers = {"X-API-Key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "has_access": true,
  "can_create": false
}

Authorizations

X-API-Key
string
header
required

Cookies

wos-session
string
access_token
string
datalab_active_team
string

Response

Successful Response

Response for pipeline access check.

has_access
boolean
required

Whether the user's team can access custom pipelines

can_create
boolean
default:false

Whether the user can create new custom pipelines (superuser only)