Get API usage statistics

Changed on

Returns month-to-date and historical usage statistics including requests, records, and spend.

get/usage

Request

  • Base URL
    https://api.discolike.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Response

Successful Response

account_statusstring

Account status

month_to_date_requestsinteger required

The total number of requests for the current month

month_to_date_recordsinteger required

The total number of records returned for the current month

month_to_date_spendnumber required

The total amount spent for the current month

max_spendnumber

Maximum monthly spend limit

total_available_spendnumber

Total available spend

carryover_creditsnumber

Carryover credits from previous periods

top_up_creditsnumber

Top-up credits added to account

usage_summaryobject

Usage history grouped by month (YYYY-MM), with a list of entries per user

recent_companies_billedinteger

Net-new company records billed in the trailing 30 days

recent_contacts_billedinteger

Net-new contact records billed in the trailing 30 days

recent_emails_billedinteger

Found emails billed in the trailing 30 days

recent_records_billedinteger

Billable records charged in the trailing 30 days

estimated_provider_spend_recentnumber nullable

Best-effort estimate of third-party LLM/search spend on the customer's own API keys for task runs in the trailing 30 days. Estimate only - never a DiscoLike charge.

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      response property max_spend list-of-types was narrowed by removing types string from media type application/json of response 200

    • info

      response property total_available_spend list-of-types was narrowed by removing types string from media type application/json of response 200

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status