v1
latestOpenAPI 3.1.02026-08-042955230.1 KBCommitments
/commitments
Retrieves a paginated list of commitments for the specified organization and time period. Returns detailed information about each commitment including utilization, savings, and status. Results can be filtered by provider, search term, and custom criteria, and sorted by various attributes.
get/v1/org/{org_id}/commitments
Query parameters
searchstring
Example:us-east-1
Text to search across multiple columns (case-insensitive partial match)
filterobject nullable
JSON object specifying field-specific filter criteria
descboolean
Sort in descending order if true
order_by'duration_seconds' | 'start_date' | 'end_date' | 'upfront_cost' | 'amortized_cost' | 'recurring_cost' | 'created_at' | 'updated_at' | 'is_leased' | 'account_id' | 'type' | 'status' | 'scope' | 'reservation_end' | 'utilization' | 'monthly_savings' | 'null' nullable
Example:created_at
Field to order results by
provider'aws' | 'azure' | 'gcp' required
Example:aws
Cloud provider to filter commitments by
start_datestring date required
Example:2023-01-01
Start date for the commitment period (YYYY-MM-DD)
end_datestring date required
Example:2023-12-31
End date for the commitment period (YYYY-MM-DD)
pageinteger
page_sizeinteger
Response
OK