Reference

Get coverage rows

Deprecated, use /coverage-rates. This reads one row per commitment held, so usage no commitment covers has no row and cannot appear, which is the larger half of coverage. on_demand_cost_monthly, saved_vs_od_monthly and filtered_savings_monthly are not measured here and are sent as zero, and filtered_coverage_pct averages percentages across commitments rather than weighting them by spend.

Deprecated

GET
/api/v1/commitments/coverage

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

provider?|null
page?Page
page_size?Page Size

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/coverage"
{
  "success": true,
  "timestamp": "2019-08-24T14:15:22Z",
  "data": [
    {
      "row_id": "string",
      "provider": "string",
      "service": "string",
      "service_label": "string",
      "account_id": "string",
      "account_name": "string",
      "usage_cost_monthly": 0,
      "on_demand_cost_monthly": 0,
      "coverage_pct": 0,
      "committed_cost_monthly": 0,
      "saved_vs_od_monthly": 0,
      "utilization_pct": 0,
      "is_commitable": true
    }
  ],
  "metadata": {
    "filtered_usage_monthly": 0,
    "filtered_coverage_pct": 0,
    "filtered_savings_monthly": 0
  },
  "pagination": {
    "page": 0,
    "page_size": 0,
    "total": 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