Credits Item Display Order
Explains the display order contract for Credits items and transaction details in API responses.
Credits pricing, transaction details, and Agent execution records use the same display order. If your integration displays details, follow the order returned by the API rather than sorting again by name, code, or the displayOrder field alone.
Ordering Rules
The system sorts by category first, then by display order within each category. The category order is:
Language models
Knowledge base
Speech
Tools
Content safety
AgentOps
Crawlers
Virtual humans
Meetings
Platform fees
Items outside the established category order appear after the categories above. Transactions in the same position are further ordered by time and identifier to maintain a stable order.
Affected Responses
This order applies to Credits pricing items (List Billing Items in the API documentation), expanded transaction records (items in each record returned by Retrieve Consumption Records), and Credits details in Agent execution records. CSV pricing exports use the same order.
If your integration needs custom categories or visual grouping, add group headings while preserving the API order. Reordering items may cause the admin console and external reports to display different results.
Upgrade Checklist
Remove frontend sorting by name or code.
Check whether
displayOrderis being treated as a global rank across categories.Compare the pricing page, transaction details, and exported files to confirm that the relative order of the same items is consistent.
Last updated
Was this helpful?