Reference
GraphQL API

GraphQL API

cube

query {
  cube [([cubeQueryArgs])] {
    <cubeName> [([cubeArgs])] {
      <cubeMember>
    }
  }
}
KeySchemaDescription
cubeQueryArgsCubeQueryArgsOptions that apply to the entire query
cubeArgsCubeArgsOptions that apply only to a specific cube

CubeQueryArgs

KeySchemaDescription
whereRootWhereInputRepresents a SQL WHERE clause
limitIntA row limit for your query. The default value is 10000. The maximum allowed limit is 50000. If you'd like to request more rows than the maximum allowed limit, consider using pagination.
offsetIntThe number of initial rows to be skipped for your query. The default value is 0
timezoneStringThe timezone to use for the query. The default value is UTC
renewQueryBooleanIf renewQuery is set to true, Cube will renew all refreshKey for queries and query results in the foreground. The default value is false

RootWhereInput

KeySchemaDescription
AND[RootWhereInput!]
OR[RootWhereInput!]
<cubeName>CubeWhereInput

CubeArgs

KeySchemaDescription
whereCubeWhereInput
orderByCubeOrderByInput

CubeWhereInput

KeySchemaDescription
AND[RootWhereInput!]
OR[RootWhereInput!]
<cubeMember>Filter

CubeOrderByInput

KeySchemaDescription
<cubeMember>OrderBy

Filter

DateTimeFilter | FloatFilter | StringFilter

DateTimeFilter

KeySchemaDescription
equalsString
notEqualsString
in[String]
notIn[String]
inDateRange[String]
notInDateRange[String]
beforeDateString
afterDateString
setBoolean

FloatFilter

KeySchemaDescription
equalsFloat
notEqualsFloat
in[Float]
notIn[Float]
setBoolean

StringFilter

KeySchemaDescription
equalsString
notEqualsString
in[String]
notIn[String]
containsString
notContainsString
setBoolean

OrderBy

asc | desc