Queries
Extract information about your calculations via GraphQL queries
Get Calculation Query
The GetCalculation query retrieves detailed information about a specific calculation in a CalcTree workspace, including its statements, formulas, and values.
Purpose
This query allows you to fetch the details of a calculation by specifying:
The workspace where the calculation is stored
The calculation itself
A specific revision of the calculation
It returns the calculation’s ID along with all statements and their associated properties.
Variables
workspaceId
ID!
Yes
The unique ID of the CalcTree workspace
calculationId (pageID)
ID!
Yes
The unique ID of the calculation
revisionId
ID!
Yes
The unique ID of the revision to retrieve
Sample Query
Sample Variables
Sample Response
CHECK
Use queries to collect information about a calculations structure, statementIDs and so on.
Last updated