Skip to main content
Control Plane API enables programmatic management of deployments and environments in Cube Cloud. You can use it to list deployments, manage environments, generate JWT tokens for accessing Core Data APIs, and export audit log events.
Control Plane API is only available in Cube Cloud.

Prerequisites

Authentication

Control Plane API uses API key authentication. Include your API key in the Authorization header with the Bearer prefix:

Error handling

In case of an error, Control Plane API returns a JSON object with an error property:

Pagination

Endpoints that return lists support pagination using offset 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:
Example response:

/api/v1/deployments/{deployment_id}/environments

Send a GET request to list environments for a specific deployment. Path parameters: Query parameters: Example request:
Example response:

/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:
Example response:

/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.
Query parameters: The response is a CSV file streamed as an attachment. Example request:
Example request with filters: