# getNotificationCounts

Unread and read counts for your own notification feed (the badge numbers). Optional notificationTypeFilter narrows to one type: use an EXACT value from getAvailableNotificationTypes (an unrecognized string returns 0/0, not an error). Cheap poll for "do I have anything new" before calling listNotifications.

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

## Variables

- `notificationTypeFilter`: `String`

## Response (data, an example)

```json
{
  "notificationQuery": {
    "getNotificationCounts": {
      "unreadCount": 0,
      "readCount": 0
    }
  }
}
```

## Example

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