# Measured accuracy

`GET /api/v1/email/feedback/summary`

- Authentication: Secret API key as a bearer token
- Billing: Free.
- Group: Feedback

Crosses the last 90 days of reported outcomes with the verdicts on file. `by_verdict` counts delivered, bounced and complained per verdict (`deliverable`, `risky`, `undeliverable`, and `unknown` for addresses with no verdict on file), and `measured.deliverable_delivery_rate` and `measured.undeliverable_bounce_rate` are the two numbers that say how right Spaw was for you. A rate is `null` until there is at least one matching outcome. The same figures appear on the History tab of the dashboard.

## Example request

```bash
curl https://spaw.co/api/v1/email/feedback/summary \
  -H "Authorization: Bearer sk_live_…"
```

## Responses

### 200 — The summary.

```json
{
    "success": true,
    "data": {
        "window_days": 90,
        "total": 1240,
        "outcomes": {
            "delivered": 1180,
            "bounced": 52,
            "complained": 8
        },
        "by_verdict": {
            "deliverable": {
                "delivered": 1150,
                "bounced": 9,
                "complained": 6
            },
            "risky": {
                "delivered": 30,
                "bounced": 11,
                "complained": 2
            },
            "undeliverable": {
                "delivered": 0,
                "bounced": 32,
                "complained": 0
            },
            "unknown": {
                "delivered": 0,
                "bounced": 0,
                "complained": 0
            }
        },
        "measured": {
            "deliverable_delivery_rate": 0.992,
            "undeliverable_bounce_rate": 1
        }
    }
}
```

### 401 — The key is missing, malformed, or revoked.

```json
{
    "success": false,
    "error": {
        "code": "UNAUTHENTICATED",
        "message": "Provide a valid API key as a bearer token.",
        "request_id": "req_01m1kgdm4xngzmbmff68g94w0c"
    }
}
```

### 429 — Over 5 requests per second for the key. Retry after the limit resets.

```json
{
    "success": false,
    "error": {
        "code": "RATE_LIMITED",
        "message": "Too many requests. Retry after the limit resets.",
        "request_id": "req_01m1kgdm4xngzmbmff68g94w0c"
    }
}
```

## Error codes

- `UNAUTHENTICATED` — https://spaw.co/docs/errors/UNAUTHENTICATED
- `RATE_LIMITED` — https://spaw.co/docs/errors/RATE_LIMITED

---

Canonical page: https://spaw.co/docs/api/feedback-summary · OpenAPI document: https://spaw.co/openapi.json · All endpoints: https://spaw.co/docs/api
