Usage

Get organization messaging usage summary

Changed on

Returns current-organization usage totals for the active billing period, including spend, limits, and event summary data.

get/usage/summary/my

Request

  • Base URL
    https://api.leadping.ai
  • Auth
    HTTP bearer

Query parameters

periodStart, string date-time

The period start.

periodEnd, string date-time

The period end.

Response

Returns the usage summary response.

UsageSummaryResponse required

Describes usage summary response data used by Leadping.

periodStart, string date-time

UTC timestamp for period start on this usage summary.

periodEnd, string date-time

UTC timestamp for period end on this usage summary.

customerChargeTotal, number double

The customer charge total for this usage summary.

billableQuantityTotal, number double

The billable quantity total for this usage summary.

transactionCount, integer

The usage record count for this usage summary.

pendingInvoiceCount, integer

The pending invoice count for this usage summary.

failedCount, integer

The failed count for this usage summary.

lines, UsageSummaryLine[]

The lines included with this usage summary.

counters, UsageCounterLine[]

The named usage counters included with this usage summary.

Changes

    • warning

      added the new ai_credit enum value to the allOf[#/components/schemas/UsageSummaryResponse]/lines/items/allOf[#/components/schemas/UsageSummaryLine]/billableUnit/allOf[#/components/schemas/BillableUnit] response property for the response status

    • warning

      added the new call_attempt enum value to the allOf[#/components/schemas/UsageSummaryResponse]/lines/items/allOf[#/components/schemas/UsageSummaryLine]/billableUnit/allOf[#/components/schemas/BillableUnit] response property for the response status