Queue a monitor run immediately
POST /v1/monitors/{id}/run
Queues the run and returns straight away. The run itself consumes credits when it executes, priced by what it finds, not by this call.
Price: Free.
Rate limit: Counts as 4 requests against your per-minute rate limit.
MCP tool: run_monitor, only on MCP connections granted monitor or webhook access.
Requires an API key, sent as Authorization: Bearer <key>.
Request
curl --request POST \
--url https://api.weirapp.io/v1/monitors/ID/run \
--header "Authorization: Bearer $WEIR_API_KEY"Path parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id |
string (uuid) | yes |
Response
The run was queued, or was already queued.
202
| Field | Type | Required | Notes |
|---|---|---|---|
data |
object | yes | |
data.jobId |
string | yes | |
data.queued |
boolean | 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 credit. Not retryable: this cannot clear until the billing period resets or the plan changes. | Out of credits. Never retry. Only a person can clear it, by adding credits at https://weirapp.io/dashboard/billing. Retrying never will. |
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. |
409 |
The monitor is paused or archived. Resume it before running it. | The request conflicts with the current state of the resource. |
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. |