# ink.branchline.getSeeds

> Published by [branchline.ink](https://lexicon.garden/identity/did:plc:brvu7akhdvsqcomb67pafw25)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:brvu7akhdvsqcomb67pafw25/ink.branchline.getSeeds)
- [Documentation](https://lexicon.garden/lexicon/did:plc:brvu7akhdvsqcomb67pafw25/ink.branchline.getSeeds/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:brvu7akhdvsqcomb67pafw25/ink.branchline.getSeeds/examples)

## Definitions

### `ink.branchline.getSeeds`

**Type**: `query`

Hydrate seed views for a set of AT-URIs. Seeds are returned in the same order as the input URIs. Unknown URIs are silently omitted.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uris` | `array` | Yes | AT-URIs of seeds to hydrate. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `seeds` | `array` | Yes |  |

### `ink.branchline.getSeeds#seedView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |
| `grantee` | `ref` → `#authorView` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `expiresAt` | `string` (datetime) | No | Earliest expiresAt across the entire provenance chain (self + ancestors). Absent when no seed in the chain has an expiry. |
| `grantedBy` | `ref` → `#authorView` | Yes | Immediate grantor (depth 1 only) — the author of this seed record. For a root seed this is also the chain's origin. |

### `ink.branchline.getSeeds#authorView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `handle` | `string` (handle) | Yes |  |
| `displayName` | `string` | No |  |

## Raw Schema

```json
{
  "id": "ink.branchline.getSeeds",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "seeds"
          ],
          "properties": {
            "seeds": {
              "type": "array",
              "items": {
                "ref": "#seedView",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "uris"
        ],
        "properties": {
          "uris": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "at-uri"
            },
            "maxLength": 25,
            "description": "AT-URIs of seeds to hydrate."
          }
        }
      },
      "description": "Hydrate seed views for a set of AT-URIs. Seeds are returned in the same order as the input URIs. Unknown URIs are silently omitted."
    },
    "seedView": {
      "type": "object",
      "required": [
        "uri",
        "cid",
        "grantee",
        "grantedBy",
        "createdAt"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "grantee": {
          "ref": "#authorView",
          "type": "ref"
        },
        "createdAt": {
          "type": "string",
          "format": "datetime"
        },
        "expiresAt": {
          "type": "string",
          "format": "datetime",
          "description": "Earliest expiresAt across the entire provenance chain (self + ancestors). Absent when no seed in the chain has an expiry."
        },
        "grantedBy": {
          "ref": "#authorView",
          "type": "ref",
          "description": "Immediate grantor (depth 1 only) — the author of this seed record. For a root seed this is also the chain's origin."
        }
      }
    },
    "authorView": {
      "type": "object",
      "required": [
        "did",
        "handle"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "handle": {
          "type": "string",
          "format": "handle"
        },
        "displayName": {
          "type": "string",
          "maxLength": 640,
          "maxGraphemes": 64
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
