# Interface SkillExecution

Record of a skill execution.

interface SkillExecution {
skillId: string;
startTime: Date;
endTime: Date;
status: SkillExecutionStatus;
input: Record<string, unknown>;
output?: string;
errorMessage?: string;
context?: string;
}

- Defined in packages/nexus-agents/src/agents/skills/skill-types.ts:120

##### Index

### Properties

skillId
startTime
endTime
status
input
output?
errorMessage?
context?

## Properties

### `Readonly` skillId

skillId: string

ID of the skill executed

- Defined in packages/nexus-agents/src/agents/skills/skill-types.ts:122

### `Readonly` startTime

startTime: Date

When the execution started

- Defined in packages/nexus-agents/src/agents/skills/skill-types.ts:124

### `Readonly` endTime

endTime: Date

When the execution ended

- Defined in packages/nexus-agents/src/agents/skills/skill-types.ts:126

### `Readonly` status

status: SkillExecutionStatus

Execution status

- Defined in packages/nexus-agents/src/agents/skills/skill-types.ts:128

### `Readonly` input

input: Record<string, unknown>

Input provided

- Defined in packages/nexus-agents/src/agents/skills/skill-types.ts:130

### `Optional` `Readonly` output

output?: string

Output produced (if successful)

- Defined in packages/nexus-agents/src/agents/skills/skill-types.ts:132

### `Optional` `Readonly` errorMessage

errorMessage?: string

Error message (if failed)

- Defined in packages/nexus-agents/src/agents/skills/skill-types.ts:134

### `Optional` `Readonly` context

context?: string

Context in which the skill was used

- Defined in packages/nexus-agents/src/agents/skills/skill-types.ts:136