Skip to content

Interface: StartWorkflowRunRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / StartWorkflowRunRequest

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

Body of POST /api/v1/workflows/{id}/runs.

optional eventId?: string | null

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

Stable manual-start identity, reused across transport retries; null has no stable identity.


optional expectedVersion?: number | null

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

Version explicitly reviewed by the caller; null omits the version check.


optional inputs?: Record<string, unknown>

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

A value for each declared input, and nothing else.


optional project?: string | null

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

The project of the Space the run works in, one the starter may see; none at Space level. Its child runs inherit it.


optional wait?: boolean

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

Answer once the run settled or waits (up to two minutes), not as it starts.