---
title: "Monitor credit usage"
method: GET
path: "/monitors/credit-usage"
tags: ["Monitors"]
---

# Monitor credit usage

`GET /monitors/credit-usage`

Returns credits charged per monitor over an optional [since, until] window, newest spenders first.

## Query parameters

- `since` string, date-time — Only include items at or after this ISO 8601 timestamp.
- `until` string, date-time — Only include items before this ISO 8601 timestamp.

## Response `200`

Per-monitor credit usage

- MonitorsCreditUsageResponse
  - `data` MonitorsCreditUsage[], required
    - `monitor_id` string, required
    - `name` string, required — Monitor name (falls back to the id when the monitor was deleted).
    - `credits` integer, required — Credits charged to this monitor over the window.
    - `runs` integer, required — Number of billed runs over the window.
  - `total_credits` integer, required — Sum of credits across all monitors in the window.

## Other responses

- `401` — Unauthorized

## Changes

> 26 revisions in range; 19 could not be searched.

- **2026-07-31** `f5c503b03f98` — 4 warning
  - added the new `BATCH_LIMIT_EXCEEDED` enum value to the `error_code` response property for the response status `401`
  - added the new `BATCH_NOT_CANCELLABLE` enum value to the `error_code` response property for the response status `401`
  - added the new `BATCH_NOT_COMPLETED` enum value to the `error_code` response property for the response status `401`
  - added the new `IDEMPOTENCY_KEY_CONFLICT` enum value to the `error_code` response property for the response status `401`
- **2026-07-26** `35f1d8d4ea26` — 2 warning
  - added the new `MONITOR_NO_WEBHOOK` enum value to the `error_code` response property for the response status `401`
  - added the new `PAID_PLAN_REQUIRED` enum value to the `error_code` response property for the response status `401`
- **2026-07-21** `3764d9c86493` — 9 warning
  - added the new `COLLECTION_PAUSED` enum value to the `error_code` response property for the response status `401`
  - added the new `DISPOSABLE_EMAIL_DETECTED` enum value to the `error_code` response property for the response status `401`
  - added the new `FREE_EMAIL_DETECTED` enum value to the `error_code` response property for the response status `401`
  - added the new `MONITOR_LIMIT_EXCEEDED` enum value to the `error_code` response property for the response status `401`
  - …5 more
- **2026-07-09** `de91b92d5fb7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/context/apis/context-dev/changes/monitors/credit-usage/get.md)

---

[API](https://skmtc.dev/context/apis/context-dev.md) · [All operations](https://skmtc.dev/context/apis/context-dev/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/context/context-dev/revisions/1febe5476266/schema)
