Skip to main content
Language reference / const

Meaning and placement

document

Named constants · ${{ const.X }} · a fixed value baked into the workflow. Either a bare literal, or a { type, value } typed constant whose value: MUST conform to type:. The literal half of the dead vars: block (R3a · LAW-SURFACE-0201) · everything that is not required: true lands here per the E-split total rule. In the same object: inputs · model · nika · outputs · permits · run · secrets · tasks Schema source (use the pointer above)

In a source template

Excerpt from templates/api-upload-and-create.nika.yaml, source lines 36–45. This is a fragment, not a runnable workflow.
illustration

Templates containing this field

These are literal key occurrences in the source files, not an execution or conformance claim. How to instantiate a template.

Contract and implementation

This page projects the named specification revision. Check released engine status and the validation workflow before running a file. An optional field is not evidence that every engine supports every value. Canonical identity: language:word:const. Spec revision: c5ebbb7b862b. How documentation stays connected.