List a monitor's execution history

GET /v1/monitors/{id}/runs

Price: Free.

Rate limit: Counts as 1 request against your per-minute rate limit.

MCP tool: list_monitor_runs, on every MCP connection.

Requires an API key, sent as Authorization: Bearer <key>.

Request

curl --request GET \
  --url https://api.weirapp.io/v1/monitors/ID/runs \
  --header "Authorization: Bearer $WEIR_API_KEY"

Path parameters

Field Type Required Notes
id string (uuid) yes

Query parameters

Field Type Required Notes
limit integer no 1–100, default 25

Response

Runs, newest first.

200

Field Type Required Notes
data array of object yes
data[].id string (uuid) yes
data[].monitorId string (uuid) yes
data[].status string yes
data[].startedAt string or null yes
data[].finishedAt string or null yes
data[].resultsFound integer yes min 0
data[].newResults integer yes min 0
data[].creditsUsed integer yes min 0
data[].errorSummary string or null yes
data[].createdAt string (date-time) yes
meta object yes
meta.requestId string yes

Errors

Status Meaning What to do
400 The request failed validation. The request was malformed. The details object names the field.
401 The API key is missing, malformed, expired, or revoked. The key is missing, malformed, revoked, or expired.
402 The account is out of credits. Not retryable. The message names the day free credits return and the price of the smallest pack; details carries buyUrl, smallestPack and freeCreditsRenewAt. Out of credits. Never retry. It clears in two ways only: the month's free credits return on the 1st (UTC), or a person adds credits at https://weirapp.io/buy (from $5). Retrying never works.
403 The API key does not carry the scope this route requires. The key is valid but lacks the scope this operation needs.
404 No such monitor in this account. No such resource, or it is not public.
429 The per-minute rate limit is exhausted. Retryable: wait for Retry-After and try again. Rate limited. Retryable: wait for Retry-After, then try again.
500 An unexpected error occurred. Something failed on our side. Retryable with backoff.

View this page as Markdown