Skip to content

Create a Cube query request

POST
/api/v4/projects/{project_id}/product_analytics/request/load

Creates a query request to the Cube API for product analytics and generates an access token. Requires the product_analytics_features flag to be enabled.

project_id
required
integer

ID of the project to query

Media type application/json
object
query
required

A valid Cube query. See reference documentation: https://cube.dev/docs/query-format

object
queryType

The query type. Currently only “multi” is supported.

string
default: multi nullable
include_token

Whether to include the access token in the response. (Only required for funnel generation.)

boolean
nullable

Created

Bad Request

Not Found