> ## Documentation Index
> Fetch the complete documentation index at: https://docs.molesignal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Recently received requests

> Read the requests an alert source received recently, and what became of each alert.

```http theme={null}
GET /api/v1/alerts/sources/{id}/requests
```

Returns the requests an [alert source](https://docs.molesignal.com/en-US/alerting/sources.md) received recently, the latest first. It requires `alerts.sources.read`. The last 500 requests of each source are kept, for up to 7 days, on the cluster that handled them.

**Query parameters**

| Parameter | Type | Description |
| - | - | - |
| `limit` | integer | How many to return, 1 to 200. Default 50. |

| Field | Description |
| - | - |
| `received_at` | When it was received, in microseconds. |
| `via_cluster` | The federation cluster that passed it on; empty when it came here directly. |
| `status` | `accepted`, `rejected`, or `forwarded` to the receiving cluster. |
| `http_status` | The status answered to the sender. |
| `message` | Why it was refused, or why nothing was done. |
| `alert_count` | How many alerts the request held. |
| `alerts` | For up to 100 alerts: the action, dedup key, title, severity, outcome (see [Send alerts](https://docs.molesignal.com/en-US/api/alerting/send-alerts.md)), reason and incident ID. |
| `body_excerpt` | The start of a refused body, up to 16 KiB. |

```bash cURL theme={null}
curl "http://localhost:5080/api/v1/alerts/sources/$SOURCE_ID/requests?limit=20" \
  -H "authorization: Bearer $MS_TOKEN"
```

```json 200 theme={null}
[
  {
    "id": "3KEJ4n3yVb1qYtq0eWQ9dUQ7mjo",
    "received_at": 1790000300000000,
    "via_cluster": "",
    "status": "accepted",
    "http_status": 200,
    "message": null,
    "alert_count": 1,
    "alerts": [
      {
        "action": "trigger",
        "dedup_key": "http://alertmanager.example.com:9093|{}:{alertname=\"HighCPU\"}",
        "summary": "HighCPU",
        "severity": "critical",
        "outcome": "opened",
        "incident_id": "3KEDNEyqouYJeBDTLTMTBui7XHW"
      }
    ],
    "body_excerpt": null
  }
]
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.