Logo
MicroStrategy REST API API Documentation

Create a report instance

POST {{baseUrl}}/api/model/reports/:reportId/instances

This API executes a specified report. A project ID is required to execute the request if X-MSTR-MS-Instance is not provided in the header. Set Prefer to respond-async to execute this API asynchronously. Use GET reports API to check the status of the instance.

 

Body PARAM

Key Datatype Required Description 
executionStage
string This parameter specifies the execution stage the report is executed to. Available values: resolve_prompts, execute_data, no_action. If omitted, it is "no_action". __Available values__ : resolve_prompts, execute_data, no_action



HEADERS

Key Datatype Required Description 
X-MSTR-AuthToken
string (Required) Authorization token
X-MSTR-ProjectID
string (Required) Project ID
Prefer
string Set to respond-async to execute this API asynchronously




RESPONSES

status




Curl
curl -X POST 'baseUrl/api/model/reports/:reportId/instances?executionStage=execute_data' -H 'X-MSTR-AuthToken: authToken' -H 'X-MSTR-ProjectID: projectId' -H 'Prefer: respond-async'

ENDPOINTS