Infomaniak Swiss Backup icon

Infomaniak Swiss Backup

Interact with Infomaniak Swiss Backup API

Billing → Calculate The Price

AI-generated

Summary

Calculate the price for a Swiss Backup product based on the specified size and additional optional parameters.

Inputs

  • Size (required) — The storage size (in bytes) to calculate the price for.
  • Additional Query Parameters — Optional parameters to refine the price calculation, including Currency Id, Due At date, demo mode flag, and various slot counts (general, mobile, server, virtual, workstation).
  • Authentication (required) — Select between OAuth2 or API Key authentication for the request.
  • Return Full Response — Whether to return the full API response instead of just the items.

Output shape

a list of objects representing the calculated price details

The output shape depends on the 'Return Full Response' setting: either the whole API response as one item or the extracted items array. The operation uses a GET request to /1/swiss_backups/calculate endpoint with query parameters including 'size' and optional fields. Pagination is not applicable for this GET request.

Examples

Example 1: Calculate price for a backup of 50GB with default billing settings

Set 'Size' to 53687091200 (50GB in bytes) and leave additional query parameters empty. Use OAuth2 authentication.

Links

Discussion