# space.highport.manage.reindex

> Published by [lexicons.highport.space](https://lexicon.garden/identity/did:plc:ciygg5hma4q7ah2kxaszkyob)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.manage.reindex)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.manage.reindex/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ciygg5hma4q7ah2kxaszkyob/space.highport.manage.reindex/examples)

## Definitions

### `space.highport.manage.reindex`

**Type**: `procedure`

Fetch the record from its repository again and reprocess it. Use this after a missed firehose event or a temporary blob fetch failure. For a space-form URI it pulls the authority's repo again, which needs a live credential. Rate-limited.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | Yes | The record to reindex, in public or space form. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `jobId` | `string` | Yes |  |

#### Errors

- **RecordNotFound**: Bard has no record at that URI.
- **NoLiveCredential**: The URI names a space bard has no live credential for.
- **RateLimitExceeded**: Too many reindex requests.
- **NotOwner**: The caller is neither the repo the URI names nor the authority of its space.
- **SpaceNotFound**: The URI is in space form and names a space bard does not serve, or one the caller is not in. Both cases get the same error, so it cannot be used to probe membership.

## Raw Schema

```json
{
  "id": "space.highport.manage.reindex",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "uri"
          ],
          "properties": {
            "uri": {
              "type": "string",
              "format": "at-uri",
              "description": "The record to reindex, in public or space form."
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "RecordNotFound",
          "description": "Bard has no record at that URI."
        },
        {
          "name": "NoLiveCredential",
          "description": "The URI names a space bard has no live credential for."
        },
        {
          "name": "RateLimitExceeded",
          "description": "Too many reindex requests."
        },
        {
          "name": "NotOwner",
          "description": "The caller is neither the repo the URI names nor the authority of its space."
        },
        {
          "name": "SpaceNotFound",
          "description": "The URI is in space form and names a space bard does not serve, or one the caller is not in. Both cases get the same error, so it cannot be used to probe membership."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "jobId"
          ],
          "properties": {
            "jobId": {
              "type": "string"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Fetch the record from its repository again and reprocess it. Use this after a missed firehose event or a temporary blob fetch failure. For a space-form URI it pulls the authority's repo again, which needs a live credential. Rate-limited."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
