Rate Cards

List rate cards.

get/v2/rate-cards

Query parameters

limitinteger

Maximum number of records to return. Defaults to 100.

starting_afterstring

Cursor resource id from the previous page.

Response

Success.

has_moreboolean required

Example response

{
  "data": [
    {
      "currency_code": "USD",
      "created_at": 1767225600,
      "updated_at": 1767225600,
      "archived_at": 1767225600,
      "rates": [
        {
          "source": "metric_units",
          "billing_mode": "last_metric_reported",
          "aggregation": "sum",
          "source_unit": "characters",
          "billing_unit": "million_characters",
          "conversion_mode": "scale",
          "invoice_group_key": "usage_credits",
          "tiers": [
            {
              "up_to": "1000000",
              "unit_amount_minor_units": 1000
            }
          ],
          "created_at": 1767225600,
          "updated_at": 1767225600,
          "archived_at": 1767225600
        }
      ]
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.