Reference
Per-service commitment breakdown
Returns a service x instrument matrix of RI and SP utilization, coverage, unused, and uncovered values. One row per service that has at least one commitment.
Authorization
BearerAuth AuthorizationBearer <token>
In: header
Query Parameters
provider?Provider
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/by-service"{
"success": true,
"timestamp": "2019-08-24T14:15:22Z",
"data": {
"provider": "string",
"services": [
{
"service": "string",
"service_label": "string",
"ri": {
"utilization_pct": 0,
"coverage_pct": 0,
"unused_monthly": 0,
"uncovered_monthly": 0,
"commitment_count": 0
},
"sp": {
"utilization_pct": 0,
"coverage_pct": 0,
"unused_monthly": 0,
"uncovered_monthly": 0,
"commitment_count": 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"
}Commitments
Reserved Instances and Savings Plans: inventory, utilization, coverage, renewals and purchase plans.
Marketplace and contract commitments GET
Commitment relationships that behave like a commitment on the bill but appear in no provider commitment view, with the contracted floor separated from the metered leg that bills on top.