Skip to main content

Export calculations as JSON

POST 

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

Authentication: requires a valid session or API key (no specific permission).

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