Logo
MicroStrategy REST API API Documentation

Create a cube instance and get the results

POST {{baseUrl}}/api/v2/cubes/:cubeId/instances

 

Body PARAM

Key Datatype Required Description 
offset
null Starting point within the collection of returned results. Used to control paging behavior. Default value : 0
limit
null Maximum number of items returned for a single request. Used to control paging behavior. Use -1 for no limit. Default value : 1000
standardDateFormat
null Standard date format in ISO8601
standardRawDateFormat
null Standard raw date format in ISO8601
fields
null Field selector. This allows client to exclude unneeded information from response model. It can be either empty, or a combination of following exclusion rules separated by comma: '-data.metricValues.raw' / '-data.metricValues.formatted' / '-data.metricValues.extras'.



HEADERS

Key Datatype Required Description 
X-MSTR-AuthToken
string (Required)
X-MSTR-ProjectID
string
Curl
curl -X POST 'baseUrl/api/v2/cubes/:cubeId/instances?offset=&limit=&standardDateFormat=&standardRawDateFormat=&fields=' -H 'X-MSTR-AuthToken: authToken' -H 'X-MSTR-ProjectID: projectId' -H 'Prefer: '

ENDPOINTS