# pub.chive.admin.triggerPDSScan

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

## Definitions

### `pub.chive.admin.triggerPDSScan`

**Type**: `procedure`

Trigger a scan of known PDSes for new records

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `pdsUrl` | `string` | No | Specific PDS URL to scan (all if omitted) |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `operationId` | `string` | Yes | ID of the started backfill operation |

#### Errors

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

## Raw Schema

```json
{
  "id": "pub.chive.admin.triggerPDSScan",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "properties": {
            "pdsUrl": {
              "type": "string",
              "description": "Specific PDS URL to scan (all if omitted)"
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "AdminRequired"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "operationId"
          ],
          "properties": {
            "operationId": {
              "type": "string",
              "description": "ID of the started backfill operation"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Trigger a scan of known PDSes for new records"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
