# getFormRoutingDistribution

Lead-assignment distribution for one form's round-robin pool - the number of leads routed to each assigned user. userId maps to a teammate from listTeammates.

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

## Variables

- `formId`: `ID!` (required)

## Response (data, an example)

```json
{
  "embedFormQuery": {
    "routingDistribution": [
      {
        "userId": "<ID>",
        "leadCount": 0
      }
    ]
  }
}
```

## Example

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