# app.bivri.feed.getDraft

> Published by [lexicons.bivri.app](https://lexicon.garden/identity/did:plc:uqat5a7hrbww3snbbinxgwah)

✓ This is the authoritative definition for this NSID.

## Description

Get private metadata for one Draft when the authenticated member is a Party. A missing Draft and a Draft outside the caller's Parties both return DraftNotFound so existence is not disclosed. Draft bytes use a separate authorized path.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:uqat5a7hrbww3snbbinxgwah/app.bivri.feed.getDraft)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uqat5a7hrbww3snbbinxgwah/app.bivri.feed.getDraft/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uqat5a7hrbww3snbbinxgwah/app.bivri.feed.getDraft/examples)

## Definitions

### `app.bivri.feed.getDraft`

**Type**: `query`

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | `string` | Yes | Bivri-owned Draft identifier. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `draft` | `ref` → `app.bivri.feed.defs#draftView` | Yes |  |

#### Errors

- **Unauthenticated**
- **DraftNotFound**

## Raw Schema

```json
{
  "id": "app.bivri.feed.getDraft",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "Unauthenticated"
        },
        {
          "name": "DraftNotFound"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "draft"
          ],
          "properties": {
            "draft": {
              "ref": "app.bivri.feed.defs#draftView",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 36,
            "description": "Bivri-owned Draft identifier."
          }
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Get private metadata for one Draft when the authenticated member is a Party. A missing Draft and a Draft outside the caller's Parties both return DraftNotFound so existence is not disclosed. Draft bytes use a separate authorized path."
}
```
