List commits
Retrieve all commit agreements for a customer, including both prepaid and postpaid commitments. This endpoint provides comprehensive visibility into contractual spending obligations, enabling you to track commitment utilization and manage customer contracts effectively.
Use this endpoint to:
- Display commitment balances and utilization in customer dashboards
- Track prepaid commitment drawdown and remaining balances
- Monitor postpaid commitment progress toward minimum thresholds
- Build commitment tracking and forecasting tools
- Show commitment history with optional ledger details
- Manage rollover balances between contract periods
Key response fields:
An array of Commit objects containing:
- Commit type: PREPAID (pay upfront) or POSTPAID (pay at true-up)
- Rate type: COMMIT_RATE (discounted) or LIST_RATE (standard pricing)
- Access schedule: When commitment funds become available
- Invoice schedule: When the customer is billed
- Product targeting: Which product(s) usage is eligible to draw from this commit
- Optional ledger entries: Transaction history (if
include_ledgers=true) - Balance information: Current available amount (if
include_balance=true) - Rollover settings: Fraction of unused amount that carries forward
Usage guidelines:
- Pagination: Results limited to 25 commits per page; use ‘next_page’ for more
- Date filtering options:
covering_date: Commits active on a specific datestarting_at: Commits with access on/after a dateeffective_before: Commits with access before a date (exclusive)
- Scope options:
include_contract_commits: Include contract-level commits (not just customer-level)include_archived: Include archived commits and commits from archived contracts
- Performance considerations:
- include_ledgers: Adds detailed transaction history (slower)
- include_balance: Adds current balance calculation (slower)
- Optional filtering: Use commit_id to retrieve a specific commit
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
List all commits for a customer
Include only commits that have access schedules that "cover" the provided date
Include only commits that have any access on or after the provided date
Include only commits that have any access before the provided date (exclusive)
Include commits on the contract level.
Include archived commits and commits from archived contracts.
Include commit ledgers in the response. Setting this flag may cause the query to be slower.
Include the balance in the response. Setting this flag may cause the query to be slower.
The next page token from a previous response.
The maximum number of commits to return. Defaults to 25.
1 <= x <= 25