Skip to content

Interface: WorkflowDefinition

@kortexya/reasoninglayer


@kortexya/reasoninglayer / WorkflowDefinition

Defined in: src/types/workflows.ts:198

A concrete reviewed graph, with every declared step present.

optional description?: string | null

Defined in: src/types/workflows.ts:180

WorkflowRequest.description


optional inputs?: string[]

Defined in: src/types/workflows.ts:182

The inputs a run supplies, read as {{input.<name>}}.

WorkflowRequest.inputs


optional maxSteps?: number

Defined in: src/types/workflows.ts:200

The most steps one run takes (engine default 100, at most 1000).

WorkflowRequest.maxSteps


name: string

Defined in: src/types/workflows.ts:179

Unique among this owner’s private procedures in the tenant: 1–128 characters.

WorkflowRequest.name


start: string

Defined in: src/types/workflows.ts:184

The step a run begins with.

WorkflowRequest.start


steps: Record<string, WorkflowStep>

Defined in: src/types/workflows.ts:199

The steps by id (1–64 letters, digits, _ or -).

WorkflowRequest.steps


optional teamId?: string | null

Defined in: src/types/workflows.ts:194

The team (an authz.group of the Space) whose agents the ask_agent steps may ask; null or absent for none (only a team is sent: an engine before E1 refuses the field).

WorkflowRequest.teamId