Monitors

Monitor credit usage

Changed on

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

get/monitors/credit-usage

Request

  • Base URL
    https://api.context.dev/v1
  • URL
    https://api.context.dev/v1/monitors/credit-usage
  • Auth
    HTTP bearer

Query parameters

sincestring date-time

Only include items at or after this ISO 8601 timestamp.

Example:2026-06-01T00:00:00Z
untilstring date-time

Only include items before this ISO 8601 timestamp.

Example:2026-06-28T00:00:00Z

Response

Per-monitor credit usage

total_creditsinteger required

Sum of credits across all monitors in the window.

Example response

{
  "data": [
    {
      "monitor_id": "mon_123"
    }
  ]
}

Changes

    • warning

      added the new WEBSITE_BLOCKED enum value to the response property for the response status

    • warning

      added the new COLD_DOMAIN_TIMEOUT_TOO_LOW enum value to the response property for the response status