# requestCoverage

Ask for coverage of places ("Cook County, IL"; a county keys to its cell, anything else comes back in gaps) for signals by name (signals, always sent: [] when asking by family), or families picked outright (FORECLOSURE, PREFORECLOSURE, PROBATE, PREPROBATE, TAX_DELINQUENCY, CODE_VIOLATION). For those six, read listMyCoverageRequests first: one already asked is not asked again. Any other signal (liens, evictions) is recorded and reaches sales, but no read returns it: ask it once and give no date. Any member.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "requestCoverage", "variables": {...} }`
- Scope: `WRITE`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `locations`: `[String!]!` (required)
- `signals`: `[String!]!` (required)
- `families`: `[String!]`

## Response (data, an example)

```json
{
  "coverageRequestMutation": {
    "requestCoverage": {
      "cells": [
        {
          "jurisdictionKey": "…",
          "family": "…",
          "created": true,
          "buildStatus": "…",
          "served": true
        }
      ],
      "gaps": [
        {
          "reason": "…",
          "values": [
            "…"
          ]
        }
      ]
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "requestCoverage",
    "variables": {
      "locations": [
        "<String>"
      ],
      "signals": [
        "<String>"
      ]
    }
  }'
```
