Check if the current user’s team has access to custom pipelines. Intentionally not gated by ensure_pipeline_access so the frontend can determine access status.
Python
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, "can_iterate": false }
Successful Response
Response for pipeline access check.
Whether the user's team can access custom pipelines
Whether the user can create new custom pipelines (superuser only)
Whether the user can iterate on existing custom pipelines (superuser or team override)
Was this page helpful?