# pub.chive.admin.listEprints

> 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.listEprints)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.admin.listEprints/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.admin.listEprints/examples)

## Definitions

### `pub.chive.admin.listEprints`

**Type**: `query`

List indexed eprints with pagination

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `limit` | `integer` | No | Maximum number of results |
| `offset` | `integer` | No | Number of results to skip |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `items` | `array` | Yes | Eprint records |
| `total` | `integer` | Yes | Total matching eprints |

#### Errors

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

### `pub.chive.admin.listEprints#eprintSummary`

**Type**: `object`

Summary of an indexed eprint

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` | No | Content identifier |
| `uri` | `string` (at-uri) | Yes | Eprint AT URI |
| `field` | `string` | No | Primary field |
| `title` | `string` | Yes | Eprint title |
| `views` | `integer` | No | Total views |
| `status` | `string` | No | Eprint status |
| `authorDid` | `string` (did) | No | Author DID |
| `downloads` | `integer` | No | Total downloads |
| `indexedAt` | `string` (datetime) | No | When the eprint was indexed |
| `authorHandle` | `string` | No | Author handle |

## Raw Schema

```json
{
  "id": "pub.chive.admin.listEprints",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "AdminRequired"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "items",
            "total"
          ],
          "properties": {
            "items": {
              "type": "array",
              "items": {
                "ref": "#eprintSummary",
                "type": "ref"
              },
              "description": "Eprint records"
            },
            "total": {
              "type": "integer",
              "description": "Total matching eprints"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum number of results"
          },
          "offset": {
            "type": "integer",
            "default": 0,
            "minimum": 0,
            "description": "Number of results to skip"
          }
        }
      },
      "description": "List indexed eprints with pagination"
    },
    "eprintSummary": {
      "type": "object",
      "required": [
        "uri",
        "title"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "description": "Content identifier"
        },
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "Eprint AT URI"
        },
        "field": {
          "type": "string",
          "description": "Primary field"
        },
        "title": {
          "type": "string",
          "description": "Eprint title"
        },
        "views": {
          "type": "integer",
          "description": "Total views"
        },
        "status": {
          "type": "string",
          "description": "Eprint status"
        },
        "authorDid": {
          "type": "string",
          "format": "did",
          "description": "Author DID"
        },
        "downloads": {
          "type": "integer",
          "description": "Total downloads"
        },
        "indexedAt": {
          "type": "string",
          "format": "datetime",
          "description": "When the eprint was indexed"
        },
        "authorHandle": {
          "type": "string",
          "description": "Author handle"
        }
      },
      "description": "Summary of an indexed eprint"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
