# pub.chive.admin.getOverview

> Published by [chive.pub](https://lexicon.garden/identity/did:plc:7natp5xae72bddaqlkef2t4e)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.admin.getOverview)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.admin.getOverview/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.admin.getOverview/examples)

## Definitions

### `pub.chive.admin.getOverview`

**Type**: `query`

Get aggregate counts from all index tables

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `tags` | `integer` | Yes | Total indexed tags |
| `authors` | `integer` | Yes | Total indexed authors |
| `eprints` | `integer` | Yes | Total indexed eprints |
| `reviews` | `integer` | Yes | Total indexed reviews |
| `collections` | `integer` | Yes | Total indexed collections |
| `endorsements` | `integer` | Yes | Total indexed endorsements |

#### Errors

- **AuthenticationRequired**
- **AdminRequired**

## Raw Schema

```json
{
  "id": "pub.chive.admin.getOverview",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "AdminRequired"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "eprints",
            "authors",
            "reviews",
            "endorsements",
            "collections",
            "tags"
          ],
          "properties": {
            "tags": {
              "type": "integer",
              "description": "Total indexed tags"
            },
            "authors": {
              "type": "integer",
              "description": "Total indexed authors"
            },
            "eprints": {
              "type": "integer",
              "description": "Total indexed eprints"
            },
            "reviews": {
              "type": "integer",
              "description": "Total indexed reviews"
            },
            "collections": {
              "type": "integer",
              "description": "Total indexed collections"
            },
            "endorsements": {
              "type": "integer",
              "description": "Total indexed endorsements"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {}
      },
      "description": "Get aggregate counts from all index tables"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
