# com.bsky38.influential.getStats

> Published by [bsky38.com](https://lexicon.garden/identity/did:web:bsky38.com)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:bsky38.com/com.bsky38.influential.getStats)
- [Documentation](https://lexicon.garden/lexicon/did:web:bsky38.com/com.bsky38.influential.getStats/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:bsky38.com/com.bsky38.influential.getStats/examples)

## Definitions

### `com.bsky38.influential.getStats`

**Type**: `query`

Site-wide participation totals and the state of the voting window.

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `closed` | `boolean` | Yes |  |
| `closesAt` | `string` (datetime) | No |  |
| `lastActivityAt` | `string` (datetime) | No | createdAt of the most recent counted vote; absent when there are none. |
| `nominees` | `integer` | Yes | Size of the ranked pool — the rows getLeaderboard pages over. |
| `voters` | `integer` | Yes | Distinct accounts with at least one counted vote. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Site-wide participation totals and the state of the voting window.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "closed": {
              "type": "boolean"
            },
            "closesAt": {
              "format": "datetime",
              "type": "string"
            },
            "lastActivityAt": {
              "description": "createdAt of the most recent counted vote; absent when there are none.",
              "format": "datetime",
              "type": "string"
            },
            "nominees": {
              "description": "Size of the ranked pool — the rows getLeaderboard pages over.",
              "minimum": 0,
              "type": "integer"
            },
            "voters": {
              "description": "Distinct accounts with at least one counted vote.",
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "voters",
            "nominees",
            "closed"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "com.bsky38.influential.getStats",
  "lexicon": 1
}
```
