Commitment Types (Beta)
Agent-friendly commitment type lookup
Returns the commitment types available for the specified provider. Each type lists its supported contract terms, and each term lists the payment options that are actually offered for that (type, term) pair — the cross product of terms x payment options is NOT implied. Every leaf field (commitment_type, contract_terms[*].contract_term, contract_terms[*].payment_options[*]) is the exact value you pass into a plan's configuration.contract_specs.
Cloud provider to list commitment types for (aws, azure, gcp).
OK
Commitment type identifier (e.g. 'aws/savingsplan/Compute', 'aws/AmazonEC2'). Pass directly as commitment_type in a plan's configuration.contract_specs.
Bad request
Unauthorized
Forbidden
Not found
Method not allowed
Conflict
Unprocessable Content
Internal server error
Default error response
GET /beta/v1/org/{org_id}/commitment-types?provider=aws HTTP/1.1
Accept: */*
[
{
"commitment_type": "text",
"contract_terms": [
{
"contract_term": "thirty_day_gris",
"payment_options": [
"no_upfront"
]
}
]
}
]Last updated
Was this helpful?

