# getCoverageCells

The Coverage page for a whole state (`stateAbbr`, e.g. TX) or up to 300 named counties (`countyFips`, five digits): one row per county and signal type (FORECLOSURE, PREFORECLOSURE, PROBATE, PREPROBATE, TAX_DELINQUENCY, CODE_VIOLATION). `status`: LIVE, IN_PROGRESS (we are building it; `expectedBy` is the promise on your own request), WAITING_ON_COUNTY (we asked the county for its records), NOT_AVAILABLE (`notAvailableReason`), NOT_REQUESTED. `delayed`: live but its source is failing; `partial`: delivering through a backstop, not live. `delivered30d` counts records in the last 30 days.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "getCoverageCells", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no

## Variables

- `stateAbbr`: `String`
- `countyFips`: `[String!]`

## Response (data, an example)

```json
{
  "coverageQuery": {
    "countyCells": [
      {
        "countyFips": "…",
        "countyName": "…",
        "stateAbbr": "…",
        "family": "…",
        "status": "LIVE",
        "delayed": true,
        "partial": true,
        "expectedBy": "2026-01-01T00:00:00.000Z",
        "pastPromise": true,
        "notAvailableReason": "NOT_PUBLISHED",
        "requestedByMe": true,
        "requestedAt": "2026-01-01T00:00:00.000Z",
        "delivered30d": 0
      }
    ]
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "getCoverageCells",
    "variables": {}
  }'
```
