Skip to content

Interface: WorkflowRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / WorkflowRequest

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

Body of POST /api/v1/workflows and PUT /api/v1/workflows/{id}.

optional description?: string | null

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


optional inputs?: string[]

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

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


optional maxSteps?: number | null

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

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


name: string

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

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


start: string

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

The step a run begins with.


steps: Partial<Record<string, WorkflowStep>>

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

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


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).