> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superdoc.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# get

> Read the full document as an SDDocument structure.

## Summary

Read the full document as an SDDocument structure.

* Operation ID: `get`
* API member path: `editor.doc.get(...)`
* Mutates document: `no`
* Idempotency: `idempotent`
* Supports tracked mode: `no`
* Supports dry run: `no`
* Deterministic target resolution: `yes`

## Expected result

Returns an SDDocument with body content projected into SDM/1 canonical shapes.

## Input fields

| Field | Type | Required | Description |
| - | - | - | - |
| `options` | object | no | |
| `options.includeContext` | boolean | no | |
| `options.includeProvenance` | boolean | no | |
| `options.includeResolved` | boolean | no | |

### Example request

```json theme={null}
{
  "options": {
    "includeProvenance": true,
    "includeResolved": true
  }
}
```

## Output fields

| Field | Type | Required | Description |
| - | - | - | - |
| `body` | array | yes | |
| `modelVersion` | `"sdm/1"` | yes | Constant: `"sdm/1"` |

### Example response

```json theme={null}
{
  "body": [],
  "modelVersion": "sdm/1"
}
```

## Pre-apply throws

* None

## Non-applied failure codes

* None

## Raw schemas

> [accordion] Raw input schema
>
> ```json theme={null}
> {
>   "additionalProperties": false,
>   "properties": {
>     "options": {
>       "additionalProperties": false,
>       "properties": {
>         "includeContext": {
>           "type": "boolean"
>         },
>         "includeProvenance": {
>           "type": "boolean"
>         },
>         "includeResolved": {
>           "type": "boolean"
>         }
>       },
>       "type": "object"
>     }
>   },
>   "type": "object"
> }
> ```

> [accordion] Raw output schema
>
> ```json theme={null}
> {
>   "additionalProperties": false,
>   "properties": {
>     "body": {
>       "type": "array"
>     },
>     "modelVersion": {
>       "const": "sdm/1"
>     }
>   },
>   "required": [
>     "modelVersion",
>     "body"
>   ],
>   "type": "object"
> }
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.