# Interface StageOutput

Result of executing a single pipeline stage.

interface StageOutput {
stateKey: string;
value: unknown;
durationMs: number;
success: boolean;
error?: string;
}

- Defined in packages/nexus-agents/src/pipeline/stage-types.ts:29

##### Index

### Properties

stateKey
value
durationMs
success
error?

## Properties

### `Readonly` stateKey

stateKey: string

The key to store this stage's output under in pipeline state.

- Defined in packages/nexus-agents/src/pipeline/stage-types.ts:31

### `Readonly` value

value: unknown

The output value (stored in GraphState).

- Defined in packages/nexus-agents/src/pipeline/stage-types.ts:33

### `Readonly` durationMs

durationMs: number

Duration in milliseconds.

- Defined in packages/nexus-agents/src/pipeline/stage-types.ts:35

### `Readonly` success

success: boolean

Whether the stage succeeded.

- Defined in packages/nexus-agents/src/pipeline/stage-types.ts:37

### `Optional` `Readonly` error

error?: string

Error message if failed.

- Defined in packages/nexus-agents/src/pipeline/stage-types.ts:39