Skip to main content

Interface: WorkflowEvent

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:155

Structured event emitted as workflows progress.

Properties

definitionId

definitionId: string

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:158


eventId

eventId: string

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:156


metadata?

optional metadata: Record<string, unknown>

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:170


payload?

optional payload: Record<string, unknown>

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:169


taskId?

optional taskId: string

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:159


timestamp

timestamp: string

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:160


type

type: "error" | "custom" | "workflow_created" | "workflow_status_changed" | "task_status_changed" | "task_output_emitted" | "guardrail_applied"

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:161


workflowId

workflowId: string

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:157