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

# path

> Contract, placement, related fields and source examples for this Nika YAML field.

[Language reference](https://docs.nika.sh/reference/language/overview.md) / `path`

## Meaning and placement

### → secrets · additionalProperties

File path · file source only · contents read at resolve time · masked.

| Property | Declaration |
| - | - |
| Requirement | Optional in this object |
| Schema location | `/properties/secrets/additionalProperties/properties/path` |
| type | `"string"` |

**In the same object:** [egress](https://docs.nika.sh/reference/language/words/egress.md) · [key](https://docs.nika.sh/reference/language/words/key.md) · [source](https://docs.nika.sh/reference/language/words/source.md)

[Schema source (use the pointer above)](https://github.com/supernovae-st/nika-spec/blob/5c40ba456c53a4ab663a949d44003078e161305d/schemas/workflow.schema.json)

### infer → vision · items

The schema declares this field at the location below.

| Property | Declaration |
| - | - |
| Requirement | Optional in this object |
| Schema location | `/$defs/infer/properties/vision/items/properties/path` |
| type | `"string"` |

**In the same object:** [source](https://docs.nika.sh/reference/language/words/source.md) · [url](https://docs.nika.sh/reference/language/words/url.md)

[Schema source (use the pointer above)](https://github.com/supernovae-st/nika-spec/blob/5c40ba456c53a4ab663a949d44003078e161305d/schemas/workflow.schema.json)

## In a source template

Excerpt from `templates/chain.nika`, source lines 80–89. This is a fragment, not a runnable workflow.

```yaml illustration theme={"system"}
    invoke:
      tool: "nika:write"
      args:
        path: "${{ const.destination }}"   # SLOT: destination · same path as permits.fs.write
        content: "${{ with.think }}"       # ALWAYS pass content · a write without it writes nothing
    on_error:
      # Golden rehearsal. Under `nika test` the mock plane simulates the
      # MODEL, not effects — this write is refused (NIKA-452) so the pin
      # lane needs this recover to walk its own scaffold. `nika run` never
      # fires it on success (a recover only runs on failure). Delete this
```

### Templates containing this field

| Template | Source |
| - | - |
| `templates/chain.nika` | [Line 83](https://github.com/supernovae-st/nika-spec/blob/5c40ba456c53a4ab663a949d44003078e161305d/templates/chain.nika#L83) |
| `templates/docker-report.nika` | [Line 92](https://github.com/supernovae-st/nika-spec/blob/5c40ba456c53a4ab663a949d44003078e161305d/templates/docker-report.nika#L92) |
| `templates/etl-state.nika` | [Line 140](https://github.com/supernovae-st/nika-spec/blob/5c40ba456c53a4ab663a949d44003078e161305d/templates/etl-state.nika#L140) |
| `templates/human-gated-ship.nika` | [Line 98](https://github.com/supernovae-st/nika-spec/blob/5c40ba456c53a4ab663a949d44003078e161305d/templates/human-gated-ship.nika#L98) |
| `templates/media-asset-pack.nika` | [Line 109](https://github.com/supernovae-st/nika-spec/blob/5c40ba456c53a4ab663a949d44003078e161305d/templates/media-asset-pack.nika#L109) |
| `templates/recover-optional-file.nika` | [Line 29](https://github.com/supernovae-st/nika-spec/blob/5c40ba456c53a4ab663a949d44003078e161305d/templates/recover-optional-file.nika#L29) |
| `templates/website-brief.nika` | [Line 90](https://github.com/supernovae-st/nika-spec/blob/5c40ba456c53a4ab663a949d44003078e161305d/templates/website-brief.nika#L90) |

These are literal key occurrences in the source files, not an execution or conformance claim. [How to instantiate a template](https://docs.nika.sh/guides/templates.md).

## Contract and implementation

This page projects the named specification revision. Check [released engine status](https://docs.nika.sh/reference/status.md) and [the validation workflow](https://docs.nika.sh/guides/agent-authoring.md) before running a file. An optional field is not evidence that every engine supports every value.

Canonical identity: `language:word:path`. Spec revision: [`5c40ba456c53`](https://github.com/supernovae-st/nika-spec/tree/5c40ba456c53a4ab663a949d44003078e161305d).

[How documentation stays connected](https://docs.nika.sh/reference/knowledge-system.md).


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