---
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"
---
# Download a run's changes (JSON Lines)

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

Monitors

GET `/v1/monitor_runs/{id}/changes.jsonl`

Streams the changes one run found as JSON Lines, one monitor_change per line. It is a monitor.changed event's changes_url: signed, so it needs no API key, for 1 day.

**Auth:** none: the signed URL is the credential.

## Example

cURL:

```shell
curl 'https://socialtap.dev/v1/monitor_runs/<id>/changes.jsonl'
```

## Path parameters

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

## Query parameters

| Name | Type | Description | Example |
| --- | --- | --- | --- |
| `account` optional | `string`<br>max 100 chars | Set by SocialTap: the run's account. | — |
| `expires` optional | `integer`<br>min 0 | Set by SocialTap: when the URL stops working (Unix seconds). | — |
| `signature` optional | `string`<br>max 200 chars | Set by SocialTap: the URL's signature. | — |

## Response

### 200

Download a run's changes (JSON Lines) (`application/jsonl`)

### 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. |

### 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. |

operationId `monitor_runs.changes.download`

---

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