Cube GraphQL API
Cube exposes a GraphQL API that sits on top of its semantic layer, allowing front-end applications and embedded analytics tools to query measures, dimensions, and time dimensions defined across any connected SQL database or data warehouse. The schema is dynamically generated per deployment based on the cubes (data models) defined by the user, so every Cube instance presents its own cube-specific types alongside the fixed base types (filters, ordering, `TimeDimension`, and the root `cube` query).
Overview
Cube GraphQL API is a GraphQL API specification published by Cube on the APIs.io network.
Cube exposes a GraphQL API that sits on top of its semantic layer, allowing front-end applications and embedded analytics tools to query measures, dimensions, and time dimensions defined across any connected SQL database or data warehouse. The schema is dynamically generated per deployment based on the cubes (data models) defined by the user, so every Cube instance presents its own cube-specific types alongside the fixed base types (filters, ordering, TimeDimension, and the root cube query).
The GraphQL endpoint is available at https://<your-cube-deployment>/graphql. documentation is published at https://docs.cube.dev/reference/core-data-apis/graphql-api.
The specification includes 2 reference links.
Tagged areas include Semantic Layer, Business Intelligence, Embedded Analytics, and Data Warehouse.
Endpoint
References
- Documentation https://docs.cube.dev/reference/core-data-apis/graphql-api
- GitHub https://github.com/cube-js/cube/blob/master/packages/cubejs-api-gateway/src/graphql.ts
Work with this as data
Every GraphQL schema here is available over the APIs.io API and to AI agents over MCP.