Control Plane API is only available in Cube Cloud.
Prerequisites
Authentication
Control Plane API uses API key authentication. Include your API key in theAuthorization header with the Bearer prefix:
Error handling
In case of an error, Control Plane API returns a JSON object with anerror property:
Pagination
Endpoints that return lists support pagination usingoffset and limit query
parameters:
Paginated responses include a
pagination object:
Reference
/api/v1/deployments
Send a GET request to list all deployments accessible to the authenticated user.
Query parameters:
Example request:
/api/v1/deployments/{deployment_id}/environments
Send a GET request to list environments for a specific deployment.
Path parameters:
Query parameters:
Example request:
/api/v1/deployments/{deployment_id}/environments/{environment_id}/tokens-for-meta-sync
Send a POST request to create a JWT token for accessing the
Metadata API. The generated token is scoped specifically
to metadata endpoints (e.g., /v1/data-sources, /v1/entities) and cannot
be used to query data via the REST (JSON) API. This makes it suitable
for integrations such as data catalogs and lineage tools that only need to
read data model metadata.
The security context you provide is embedded in the
token and controls which parts of the data model are visible, following the
same multi-tenancy rules as regular API tokens.
Path parameters:
Request body:
Example request:
/api/v1/audit-logs/export
Send a GET request to export audit log events as a CSV
file. This endpoint allows you to programmatically retrieve security-related
events for compliance reviews, external log aggregation, or integration with
SIEM tools.
Requires Audit Log to be enabled on the
Enterprise plan. The authenticated user
must have the
AuditLogManage permission.
The response is a CSV file streamed as an attachment.
Example request: