Skip to main content

Export calculations as JSON

POST 

/api/v1/workspaces/:workspaceId/calculations/export/json

Required API-key permission: CALCULATIONS_READ — Read cost calculations

Returns a self-contained JSON dump of the selected calculations (metadata, cocktail items and ingredient shopping units, resolved to names) that can be re-imported via POST /calculations/import/json. A single selected calculation is returned as a bare object; multiple as an array. The exact dump shape is preserved verbatim for a lossless round-trip (not wrapped in a data envelope).

Request​

Responses​

Export calculations as JSON