---
agent:
  instructions: "Search the SocialTap docs with keywords or a question instead of crawling pages: GET https://socialtap.dev/.well-known/search?q={query} returns the best sections as Markdown (JSON with Accept: application/json), free and without a key."
  endpoint: "https://socialtap.dev/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://socialtap.dev/docs/agents/#docs-for-agents"
---
# Get a monitor run (free to poll)

> Setting SocialTap up for your user? Follow https://socialtap.dev/setup.md.

Monitors

GET `/v1/monitor_runs/{id}`

Returns one run of a monitor. Polling is free, and wait long-polls until it ends.

**Auth:** an API key with the `jobs:read` scope, or the dashboard session.

## Example

cURL:

```shell
curl 'https://socialtap.dev/v1/monitor_runs/<id>' \
  -H "x-api-key: $SOCIALTAP_API_KEY"
```

## Authorizations

`x-api-key`stringheaderrequired

Your API key, with the `jobs:read` scope. [Authentication](https://socialtap.dev/docs/authentication/index.md)

## Path parameters

| Name | Type | Description | Example |
| --- | --- | --- | --- |
| `id` required | `string` | Monitor run ID (mrun_…). | — |

## Query parameters

| Name | Type | Description | Example |
| --- | --- | --- | --- |
| `wait` optional | `integer`<br>min 0<br>max 60 | Seconds to wait for the run to end before answering: the run as it is then. | — |

## Response

### 200

Get a monitor run (free to poll)

| Field | Type | Description |
| --- | --- | --- |
| `data` | `object` |  |
| `data.changes` | `object` | What it found. |
| `data.changes.changed` | `integer` | Items whose watched fields changed. |
| `data.changes.new` | `integer` | Items it hadn't seen. |
| `data.credits_charged` | `integer` |  |
| `data.error` | `object` or `null` | Exactly the endpoint's error object; null unless failed. |
| `data.error.charged` | `boolean` | Whether the request was charged: always false, failed requests are free. |
| `data.error.code` | `string` | Machine-readable error code (see the error codes list); stable. |
| `data.error.details` | `object` | The code's dynamic values (the error codes list documents each code's keys); {} when none. |
| `data.error.doc_url` | `string` | URL of this code's documentation. |
| `data.error.message` | `string` | What went wrong and how to fix it, for humans and agents; wording may change. |
| `data.error.param` | `string` or `null` | The query parameter or header the error is about; null when it is not about one input. |
| `data.error.remediation` | `string` | What to do about this code, one sentence. |
| `data.error.request_id` | `string` | Unique request ID; include it when contacting support. |
| `data.error.retryable` | `boolean` | True when repeating the same request later may succeed (after details.retry_after when present). |
| `data.error.status` | `integer` | The HTTP status of the response, repeated for clients that only see the body. |
| `data.finished_at` | `string` (date-time) or `null` | Null while it runs. |
| `data.id` | `string` | The run ID (mrun_…). |
| `data.monitor_id` | `string` |  |
| `data.object` | `string` | Always monitor_run.<br>One of `monitor_run` |
| `data.pages` | `integer` | Pages it read. |
| `data.request_ids` | `string[]` | The requests it made (the request log's IDs), one per page. |
| `data.started_at` | `string` (date-time) |  |
| `data.status` | `string` | running, succeeded (whether or not it found changes) or failed (error says why; a failed run is free).<br>One of `running`, `succeeded`, `failed` |
| `data.trigger` | `string` | schedule, or manual (POST /v1/monitors/{id}/run).<br>One of `schedule`, `manual` |
| `meta` | `object` | The shared route meta (see the API reference introduction). |

### 400

400 Bad Request.

| Code | HTTP | Retry | Meaning | What to do |
| --- | --- | --- | --- | --- |
| `invalid_input` | 400 | No | A parameter is missing or malformed, or the link is not one this endpoint takes. | Fix the parameter named in param as the message says. For a link of the wrong kind, call an endpoint listed in details.endpoints, when there is one. |

### 401

401 Unauthorized.

| Code | HTTP | Retry | Meaning | What to do |
| --- | --- | --- | --- | --- |
| `unauthorized` | 401 | No | The x-api-key header is missing, or its key is unknown or revoked. On the dashboard's routes: the session cookie is missing or expired. | Send a valid API key in the x-api-key header. No key yet? A person gets one at details.signup_url; an AI agent follows details.agent_auth_url. |

### 403

403 Forbidden.

| Code | HTTP | Retry | Meaning | What to do |
| --- | --- | --- | --- | --- |
| `forbidden` | 403 | No | The API key is valid but may not make this request; details.reason says why. It concerns the key, never the item: a private item is private_or_unavailable, also 403. A running job stops with it when its key or account can no longer run it. | Act on details.reason. suspended: contact [support](mailto:support@socialtap.dev). scope: use a key with details.required_scope. previous_secret: use the new secret. key_expired or key_revoked: create a new key. ip_not_allowed: call from an allowed IP. not_confirmed: ask your user before calling again. |

### 404

404 Not Found.

| Code | HTTP | Retry | Meaning | What to do |
| --- | --- | --- | --- | --- |
| `monitor_not_found` | 404 | No | The account has no monitor (or monitor run) with this ID: the ID is wrong, the monitor was deleted, or the run is past its retention. | Check the ID: GET /v1/monitors lists the account's monitors. |

### 429

429 Too Many Requests.

| Code | HTTP | Retry | Meaning | What to do |
| --- | --- | --- | --- | --- |
| `rate_limited` | 429 | Yes, later | The account passed its runaway-protection ceiling (plans have no rate limit), or its failed requests in the past hour cost far more than its successful ones paid for. Requests without an API key are limited per IP. | Wait the seconds in the retry-after header, then retry. If your steady traffic needs more, ask [support](mailto:support@socialtap.dev) to raise the ceiling; without an API key, send one. |

operationId `monitor_runs.get`

---

[HTML version](https://socialtap.dev/docs/reference/monitors/monitor-runs-get/) · [Docs index for AI agents](https://socialtap.dev/llms.txt) · [All docs in one file](https://socialtap.dev/llms-full.txt)
