For the complete documentation index, see llms.txt. This page is also available as Markdown.

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:

  1. Language models

  2. Knowledge base

  3. Speech

  4. Tools

  5. Content safety

  6. AgentOps

  7. Crawlers

  8. Virtual humans

  9. Meetings

  10. 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.

A billing item's displayOrder represents only its position within the same category. Different categories may use identical or overlapping values, so this field alone cannot reconstruct the full 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

  1. Remove frontend sorting by name or code.

  2. Check whether displayOrder is being treated as a global rank across categories.

  3. 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?