🧠 Model logic is now available in the Public API
The Public API already returns what your models calculate. Now it also returns how they calculate it: the formula, dimensions, and aggregation behind every variable.
✨ What's new
A new endpoint returns a model's full logic, one entry per variable, the same logic you get from the model download, now available programmatically. Pass a scenario to retrieve that version's formulas.
📈 What you can do
- Access your model logic programmatically to audit how your models are built, for example spotting variables that are missing dimensions, or to document and store it in your own tools.
- Coming soon: access to model logic through the MCP, so Abacum's AI can reason about how your models are built, not just the numbers they return.
⚙️ How it works
Request a model's logic by its id to get every variable with its formula, dimensions, aggregation, and formatting. Add an optional scenario to include that version's formulas. Same OAuth2 authentication, read scope, and super admin access as the rest of the Public API. You can download the full API documentation from Company Settings > API > Download API documentation.