> ## 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.

# fields.get

> Get detailed information about a specific field.

## Summary

Get detailed information about a specific field.

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

## Expected result

Returns a FieldInfo object with the field's instruction, result text, and nesting data.

## Input fields

| Field | Type | Required | Description |
| - | - | - | - |
| `target` | object(kind="field") | yes | |
| `target.blockId` | string | yes | |
| `target.fieldId` | string | no | |
| `target.kind` | `"field"` | yes | Constant: `"field"` |
| `target.nestingDepth` | integer | no | |
| `target.occurrenceIndex` | integer | yes | |
| `target.storyId` | string | no | |

### Example request

```json theme={null}
{
  "target": {
    "blockId": "block-abc123",
    "kind": "field",
    "nestingDepth": 1,
    "occurrenceIndex": 1,
    "storyId": "example"
  }
}
```

## Output fields

*No fields.*

### Example response

```json theme={null}
{}
```

## Pre-apply throws

* `TARGET_NOT_FOUND`
* `CAPABILITY_UNAVAILABLE`

## Non-applied failure codes

* None

## Raw schemas

> [accordion] Raw input schema
>
> ```json theme={null}
> {
>   "additionalProperties": false,
>   "properties": {
>     "target": {
>       "additionalProperties": false,
>       "properties": {
>         "blockId": {
>           "type": "string"
>         },
>         "fieldId": {
>           "type": "string"
>         },
>         "kind": {
>           "const": "field"
>         },
>         "nestingDepth": {
>           "type": "integer"
>         },
>         "occurrenceIndex": {
>           "type": "integer"
>         },
>         "storyId": {
>           "type": "string"
>         }
>       },
>       "required": [
>         "kind",
>         "blockId",
>         "occurrenceIndex"
>       ],
>       "type": "object"
>     }
>   },
>   "required": [
>     "target"
>   ],
>   "type": "object"
> }
> ```

> [accordion] Raw output schema
>
> ```json theme={null}
> {
>   "type": "object"
> }
> ```


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