Reference

Get commitments overview

ESR strip and aggregate RI/SP metrics for the requested provider (AWS real, GCP/Azure return zeros).

GET
/api/v1/commitments/overview

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

provider?Provider
commitment_type?Commitment Type

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/commitments/overview"
{
  "success": true,
  "timestamp": "2019-08-24T14:15:22Z",
  "data": {
    "global_esr": 0,
    "benchmark_esr": 0,
    "total_committed_monthly": 0,
    "total_cloud_spend_monthly": 0,
    "coverage_pct": 0,
    "coverage_delta_pp": 0,
    "estimated_waste_monthly": 0,
    "waste_commitment_count": 0,
    "potential_additional_savings_monthly": 0,
    "commitment_count": 0,
    "expiring_count": 0,
    "accounts": [
      {
        "account_id": "string",
        "account_name": "string",
        "monthly_spend": 0,
        "esr_pct": 0,
        "monthly_saved": 0,
        "could_save_additional": 0
      }
    ]
  }
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
Ask the FinOps Agent about your cloud spend