Usage

Get usage status

Report the authenticated account's current usage against its plan.

Returns whether the account still has usage available (hasUsageRemaining), the percentage of plan usage consumed this billing period, the billing-period bounds, and — only when extra usage is enabled — the extra-usage spend and limit in USD cents.

Example

curl https://elicit.com/api/v2/usage \
  -H "Authorization: Bearer elk_live_your_key_here"
get/usage

Response

Current usage status.

hasUsageRemainingboolean required

Whether the account still has usage available this billing period. False once both the plan limit and (if enabled) the extra-usage limit are exhausted.

percentUsednumber required

Percentage of plan usage consumed this billing period.

periodStartstring required

ISO 8601 start of the current billing period.

periodEndstring required

ISO 8601 end of the current billing period. Monthly usage limits reset at this time.

Changes

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