get_cluster_costs
Retrieve aggregated cost breakdown for Ocean clusters by namespace or resource to analyze AWS or Azure cloud spending over specified time periods.
Instructions
Get aggregated cost breakdown for an Ocean cluster (AWS or Azure).
Args: cluster_id: The Ocean cluster ID (e.g. o-abc12345) start_time: Start time in ISO 8601 format (e.g. 2026-03-01T00:00:00Z) end_time: End time in ISO 8601 format (e.g. 2026-03-20T00:00:00Z) group_by: Group costs by: namespace or resource (default: namespace) account_id: Optional account ID to query. Defaults to SPOTINST_ACCOUNT_ID env var. cloud: Cloud provider: aws or azure (default: aws)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | Yes | ||
| start_time | Yes | ||
| end_time | Yes | ||
| group_by | No | namespace | |
| account_id | No | ||
| cloud | No | aws |