Preview a report definition
Runs a definition without saving it, so a caller can see the result before creating the report.
POST
/api/v1/reports/previewAuthorization
AuthorizationOAuth2 access token · headerrequiredAuthorization-code grant with PKCE. Clients are public and hold no secret. Discovery is published at /.well-known/oauth-authorization-server/api/auth.
Scopes:
api.accessRequest body
requiredapplication/jsonfiltersobject[]max items 10 · default: []
Show propertiesHide properties
Array of
objectfieldstringrequiredmatches ^[a-z][a-z0-9_]{0,62}$
valuestring | booleanrequiredgroupBystringmatches ^[a-z][a-z0-9_]{0,62}$
limitintegermin 1 · max 100 · default: 50
measureobjectrequiredShow propertiesHide properties
One of:
object
operationstringrequiredobject
fieldstringrequiredmatches ^[a-z][a-z0-9_]{0,62}$
operationstringrequiredAllowed:
sumaverageminmaxobjectIdstringrequiredmin length 1 · max length 255
Responses
200
The rows the definition produces
Array of
ReportResultRowlabelstring | nullrequiredvaluestring | nullrequired400
The request body, query or parameters were refused
codestringrequiredAllowed:
invalid_inputnot_foundconflictforbiddendetailanyerrorstringrequiredreasonstring401
The access token is missing, invalid or revoked
errorstringrequired403
The tenant's module is off, or the token's scope or the member's role does not permit the action
codestringrequiredAllowed:
invalid_inputnot_foundconflictforbiddendetailanyerrorstringrequiredreasonstring404
No such record, or none the caller may read
codestringrequiredAllowed:
invalid_inputnot_foundconflictforbiddendetailanyerrorstringrequiredreasonstring413
The request exceeds the route's body limit
errorstringrequired500
An unexpected failure
errorstringrequired