# listFormActivityLocations

Approximate geo coordinates of recent sessions for one form, for plotting a lead map. Latitude/longitude are rounded to ~1km. Each point carries its session status and the linked submission id (if any).

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "listFormActivityLocations", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: yes
- Result cap: `limit` is clamped to 500, without an error

## Variables

- `formId`: `ID!` (required)
- `limit`: `Int` (default `100`)

## Response (data, an example)

```json
{
  "embedFormQuery": {
    "analyticsActivityLocations": [
      {
        "sessionId": "<ID>",
        "embedFormSubmissionId": "<ID>",
        "sessionStatus": "…",
        "latitude": 0,
        "longitude": 0,
        "city": "…",
        "regionCode": "…",
        "countryCode": "…",
        "lastActivityAt": "…"
      }
    ]
  }
}
```

## Example

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