# Interface OrchestratorStep

Step in an orchestration execution.

interface OrchestratorStep {
id: string;
agentId: string;
role: AgentRole;
action: string;
output: unknown;
durationMs: number;
tokensUsed: number;
status: "failed" | "success" | "skipped";
error: string | undefined;
}

- Defined in packages/nexus-agents/src/core/types/orchestrator.ts:54

##### Index

### Properties

id
agentId
role
action
output
durationMs
tokensUsed
status
error

## Properties

### id

id: string

Step identifier

- Defined in packages/nexus-agents/src/core/types/orchestrator.ts:56

### agentId

agentId: string

Agent that executed the step

- Defined in packages/nexus-agents/src/core/types/orchestrator.ts:58

### role

role: AgentRole

Agent role

- Defined in packages/nexus-agents/src/core/types/orchestrator.ts:60

### action

action: string

Step action/description

- Defined in packages/nexus-agents/src/core/types/orchestrator.ts:62

### output

output: unknown

Step output

- Defined in packages/nexus-agents/src/core/types/orchestrator.ts:64

### durationMs

durationMs: number

Duration in ms

- Defined in packages/nexus-agents/src/core/types/orchestrator.ts:66

### tokensUsed

tokensUsed: number

Tokens used in this step

- Defined in packages/nexus-agents/src/core/types/orchestrator.ts:68

### status

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

Status

- Defined in packages/nexus-agents/src/core/types/orchestrator.ts:70

### error

error: string | undefined

Error if failed

- Defined in packages/nexus-agents/src/core/types/orchestrator.ts:72