# Get usage

> Get usage: GET /v1/usage reports what the subscription has used in the current period: live events, test events, certificates and supplement storage.

Source: https://esigncomply.com/docs/api/account/get-usage

Last updated November 26, 2026

In the Esign Comply API, `GET /v1/usage` reports what the subscription has used in the current period: live events, test events, certificates and supplement storage. Use it to watch usage against the plan's limit, or as an unmetered check that a key works.

`GET /v1/usage` · API version `2026-11-21`

## Authentication

Send a secret key in the `Authorization` header: `Bearer $ESIGNCOMPLY_API_KEY`. The key needs any permission. Test keys and live keys both work, and each reads and writes the objects of its own environment. Call it from your server: a secret key never goes to a browser. Keys and permissions are described under [Authentication](https://esigncomply.com/docs/api.md#authentication).

## Request example

### cURL

```bash
curl https://esigncomply.com/v1/usage \
  -H "Authorization: Bearer $ESIGNCOMPLY_API_KEY"
```

### Node SDK

```ts
import { EsignComply } from "esigncomply";

const esc = new EsignComply(process.env.ESIGNCOMPLY_API_KEY);

const { data, error } = await esc.usage.get();
```

This request ran against the API on November 26, 2026, and the response below is what came back. IDs are example values, and long values are shortened with `...`.

## What it does

Returns what the subscription has used in the current period. Live events are counted per subscription year on paid plans and per UTC calendar month on the Free plan. The call is never metered, which also makes it the simplest way to check that a key works.

| Field | Description |
|---|---|
| `plan`, `plan_name` | The plan id: `sandbox`, `starter`, `unlimited` or `enterprise`. `sandbox` is the id of the Free plan. `plan_name` is the name a person reads, for example `"Free"`. |
| `subscription_status` | `active`, `incomplete`, `past_due` or `canceled`. |
| `period` | The subscription year. Paid plans count live events and certificates per subscription year. On Free, live events are counted per UTC month: see `events.period`. |
| `events.period`, `events.period_start`, `events.resets_at` | The period live events are counted in: `"month"` on Free, `"year"` on paid plans. Then the start of that period and the time the count starts again: the first of the next month (UTC) on Free, the end of the subscription period on paid plans. `resets_at` is `null` while the account is locked, because a locked account gets no new allowance on its own. It can also be `null` on a paid plan with no renewal date set. |
| `events.used` | Sealed live records in that period: this UTC month on Free, this subscription year on paid plans. One signer completing one ceremony is one event. Test records, verifications, downloads, supplements and certificates are not counted. This is the true count. It can be higher than `events.allowance`. |
| `events.open_sessions` | Live sessions that are open and not expired, on every plan. Informational: it is not part of `used` and is not subtracted from `remaining`. |
| `events.quota`, `events.event_packs`, `events.allowance` | The plan quota, the event packs bought this year, and the limit: quota plus 1,000 per pack. On Free, `quota` and `allowance` are `10`. On Unlimited and Enterprise, `quota` and `allowance` are `null`: there is no limit. |
| `events.remaining` | `allowance - used`, never below `0`. `null` on Unlimited and Enterprise. |
| `events.locked` | Boolean. `true` from the moment the account locks, when `used` reaches `allowance`, until payment. The lock does not lift on its own. On Free, upgrading to a paid plan removes it. On Starter, upgrading to Unlimited, adding an event pack or paying for renewal removes it. Always `false` on Unlimited and Enterprise. |
| `events.locked_since` | The time the lock was set, or `null` when the account is not locked. |
| `events.level` | `ok`, `notice_50`, `notice_80`, `notice_90` or `limit_reached`: the highest of 50%, 80%, 90% and 100% of the allowance that `used` has reached. The values are the same on Free and Starter. Always `ok` on Unlimited and Enterprise. |
| `events.event_packs_enabled` | Whether an event pack is bought automatically when the limit is reached. Starter only. |
| `events.over_quota_since` | Always `null`. Kept so that existing clients do not break. |
| `test_events` | Test-mode events this calendar month against the plan's monthly allowance. |
| `certificates.included`, `used`, `remaining`, `resets_at` | The certificate allowance for the subscription year. `null` means not capped. |
| `certificates.charged_units`, `charged_month_to_date`, `spend_limit`, `unit_amount` | Units charged this year, this month's certificate charges, the monthly limit and the unit price, in cents. |
| `certificates.live_available` | `false` on the Free plan, where certificates exist for test records only. `true` on paid plans. |
| `supplements` | Supplements on file, bytes of supplement files stored, and the storage allowance (`null` when contracted). |

On the Free plan live events are counted per UTC calendar month. The same call with a Free key, abbreviated to the fields that differ:

```json
{
  "object": "usage",
  "plan": "sandbox",
  "plan_name": "Free",
  "subscription_status": "active",
  "events": {
    "period": "month",
    "period_start": "2026-11-01T00:00:00.000Z",
    "resets_at": "2026-12-01T00:00:00.000Z",
    "used": 6,
    "open_sessions": 1,
    "quota": 10,
    "allowance": 10,
    "remaining": 4,
    "locked": false,
    "locked_since": null,
    "level": "notice_50"
  },
  "test_events": { "used_this_month": 42, "quota_per_month": 500 }
}
```

Six live events are complete this month, so four are left and `level` is `notice_50`. One live session is open. It is reported in `open_sessions` and is not subtracted from `remaining`. The account is not locked, so the count starts again at `resets_at`.

Free covers 10 live signatures a month. If you use all 10 in a month, the account locks until you upgrade to a paid plan. It does not unlock at the start of the next month. Past the limit, new live signatures can be refused, so upgrade before you get there.

Starter covers 2,000 live signature events a year. At 2,000 the account locks until you pay: upgrade to Unlimited, add an event pack, or renew. Past the limit, new live signatures can be refused, so upgrade before you get there.

While an account is locked, `locked` is `true`, `locked_since` holds the time of the lock, `level` is `limit_reached` and `resets_at` is `null`. A refused request returns `402` [`quota_exhausted`](https://esigncomply.com/docs/api/errors.md#quota_exhausted). See [Free plan limits](https://esigncomply.com/docs/guides/test-mode.md#free-plan-limits) and [Starter limits](https://esigncomply.com/docs/guides/test-mode.md#starter-limits).

On Unlimited and Enterprise there is no limit: `quota`, `allowance` and `remaining` are `null`, `locked` is `false` and `level` is `ok`.

The [`usage.threshold_reached`](https://esigncomply.com/docs/api/webhooks.md#usage-and-conformance) webhook is sent at 50%, 80%, 90% and 100% of the limit, on Free and Starter. Its `threshold` is `50`, `80`, `90` or `100`. Owners and admins get an email at the same four points. Sessions already created still complete. See the [pricing summary](https://esigncomply.com/pricing.md) for what counts as a signature event.

## Parameters

This call takes no parameters. Headers: `Esign-Comply-Version` (optional, a dated API version).

## Response

`200 OK` with an Usage object.

```json
{
  "object": "usage",
  "plan": "sandbox",
  "plan_name": "Free",
  "subscription_status": "active",
  "period": {
    "start": "2026-11-26T00:15:23.620Z",
    "end": null
  },
  "events": {
    "used": 0,
    "quota": 10,
    "period": "month",
    "period_start": "2026-11-01T00:00:00.000Z",
    "resets_at": "2026-12-01T00:00:00.000Z",
    "open_sessions": 0,
    "event_packs": 0,
    "allowance": 10,
    "remaining": 10,
    "level": "ok",
    "locked": false,
    "locked_since": null,
    "event_packs_enabled": false,
    "over_quota_since": null
  },
  "test_events": {
    "used_this_month": 5,
    "quota_per_month": 500
  },
  "certificates": {
    "included": null,
    "used": 0,
    "remaining": null,
    "charged_units": 0,
    "resets_at": null,
    "charged_month_to_date": 0,
    "spend_limit": 20000,
    "unit_amount": 0,
    "live_available": false
  },
  "supplements": {
    "count": 0,
    "storage_used_bytes": 0,
    "storage_allowance_bytes": 2147483648
  }
}
```

### Response fields

| Field | Type | Description |
|---|---|---|
| `object` | string |  |
| `plan` | string | sandbox, starter, unlimited or enterprise. sandbox is the id of the Free plan. |
| `plan_name` | string | The name a person reads, for example "Free". |
| `subscription_status` | string |  |
| `period` | object | { start, end } of the subscription period. |
| `events` | object | Live signature events: used (a true count, can be higher than allowance), quota, allowance, remaining, period (month or year), period_start, resets_at (null while locked), open_sessions, level (ok, notice_50, notice_80, notice_90, limit_reached), locked (boolean), locked_since (datetime or null), event_packs, event_packs_enabled. |
| `test_events` | object | { used_this_month, quota_per_month }. |
| `certificates` | object | { included, used, remaining, charged_units, resets_at, charged_month_to_date, spend_limit, unit_amount, live_available }. |
| `supplements` | object |  |

## Errors

This call has no error of its own. Like every call made with a secret key, it can also return [`missing_api_key`](https://esigncomply.com/docs/api/errors.md#missing_api_key), [`invalid_api_key`](https://esigncomply.com/docs/api/errors.md#invalid_api_key), [`domain_not_verified`](https://esigncomply.com/docs/api/errors.md#domain_not_verified), [`insufficient_permission`](https://esigncomply.com/docs/api/errors.md#insufficient_permission), [`region_mismatch`](https://esigncomply.com/docs/api/errors.md#region_mismatch), [`rate_limit_exceeded`](https://esigncomply.com/docs/api/errors.md#rate_limit_exceeded) and [`internal_error`](https://esigncomply.com/docs/api/errors.md#internal_error).

Every error has the same body: `error.type`, `error.code`, `error.message`, `error.doc_url` and `error.request_id`. See [Errors](https://esigncomply.com/docs/api/errors.md).

## Questions about GET /v1/usage

### Which credential does GET /v1/usage need?

A secret key with any permission. Send it as a Bearer token in the Authorization header, from your server only. A session client token is refused with insufficient_permission.

### Does GET /v1/usage work with a test key?

Yes. It works with test keys and live keys. A test key reads and writes test objects only, and a live key works once the domain is verified.

### Does GET /v1/usage count as a signature event?

No. A signature event is counted when a live record is written, by completing a session or by submitting a deferred acceptance. This call writes no record.

### Is GET /v1/usage idempotent?

It is a read, so it is safe to repeat. It takes no Idempotency-Key header.

### What is the rate limit for GET /v1/usage?

The limit is counted for each key and depends on the plan: 2 requests per second on Free, 10 on Starter, 50 on Unlimited and 100 on Enterprise. Past the limit the API answers 429 rate_limit_exceeded with a Retry-After header.

### Does the Node SDK have a method for GET /v1/usage?

Yes: esc.usage.get() in the esigncomply package. It resolves to { data, error } and does not throw.

## Related

- [Account](https://esigncomply.com/docs/api/account.md): the overview of the resource and all of its operations.
- [Create a conformance run](https://esigncomply.com/docs/api/account/create-a-conformance-run.md): `POST /v1/conformance/runs`
- [List conformance runs](https://esigncomply.com/docs/api/account/list-conformance-runs.md): `GET /v1/conformance/runs`
- [Retrieve a conformance run](https://esigncomply.com/docs/api/account/retrieve-a-conformance-run.md): `GET /v1/conformance/runs/{id}`
- [Generate a prompt](https://esigncomply.com/docs/api/account/generate-a-prompt.md): `POST /v1/prompts/generate`
- [Domains](https://esigncomply.com/docs/guides/domains.md)
- [Test mode](https://esigncomply.com/docs/guides/test-mode.md)
- [Errors](https://esigncomply.com/docs/api/errors.md): every error code, with what to do.
- [API conventions](https://esigncomply.com/docs/api.md): authentication, idempotency, rate limits and versioning.
