# Interface StepResult

Result of step execution.

interface StepResult {
stepId: string;
output: unknown;
durationMs: number;
status: "failed" | "success" | "skipped";
error?: string;
}

- Defined in packages/nexus-agents/src/core/types/workflow.ts:95

##### Index

### Properties

stepId
output
durationMs
status
error?

## Properties

### stepId

stepId: string

Step ID

- Defined in packages/nexus-agents/src/core/types/workflow.ts:97

### output

output: unknown

Step output

- Defined in packages/nexus-agents/src/core/types/workflow.ts:99

### durationMs

durationMs: number

Duration in ms

- Defined in packages/nexus-agents/src/core/types/workflow.ts:101

### status

status: "failed" | "success" | "skipped"

Status

- Defined in packages/nexus-agents/src/core/types/workflow.ts:103

### `Optional` error

error?: string

Error message if failed

- Defined in packages/nexus-agents/src/core/types/workflow.ts:105