Reference

Get commitment detail

GET
/api/v1/commitments/detail/{commitment_id}

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

commitment_id*Commitment Id

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/detail/string"
{
  "success": true,
  "timestamp": "2019-08-24T14:15:22Z",
  "data": {
    "id": "string",
    "provider": "string",
    "service": "string",
    "service_label": "string",
    "account_id": "string",
    "account_name": "string",
    "region": "string",
    "kind": "reserved_instance",
    "start_date": "string",
    "end_date": "string",
    "term_months": 0,
    "payment_option": "all_upfront",
    "hourly_commitment_usd": 0,
    "monthly_commitment_usd": 0,
    "status": "active",
    "current_utilization_pct": 0,
    "current_coverage_pct": 0,
    "is_commitable": true,
    "end_at": "string",
    "holder_account_id": "string",
    "unit_count": 1,
    "fee_monthly_list": 0,
    "fee_monthly_net": 0,
    "utilization_slope_pp_30d": 0,
    "protects_monthly": 0,
    "rightsizing_monthly": 0,
    "exchangeable": true,
    "cancellable": true,
    "renewal_recommendation_id": "string",
    "utilization_history": [
      {
        "date": "string",
        "utilization_pct": 0,
        "purchased_hours": 0,
        "used_hours": 0,
        "unused_cost": 0
      }
    ],
    "coverage_history": [
      {
        "date": "string",
        "coverage_pct": 0
      }
    ],
    "consumers": [
      {
        "account_id": "string",
        "account_name": "string",
        "covered_spend_monthly": 0,
        "covered_hours": 0
      }
    ],
    "history": [
      {
        "id": "string",
        "type": "purchased",
        "timestamp": "string",
        "actor": {
          "email": "string",
          "account_id": "string"
        },
        "details": {
          "property1": "string",
          "property2": "string"
        }
      }
    ],
    "recommendations": [
      {
        "id": "string",
        "kind": "buy_reserved_instance",
        "monthly_savings": 0,
        "confidence": "high",
        "summary": "string"
      }
    ]
  }
}
{
  "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