Skip to main content

Interface: WorkflowListItemResponse

Defined in: packages/sdk/src/types/generated/workflow.ts:183

List composition: root + active revision summary + list enrichments.

Each list row is a stable workflow represented by its active revision. taskCount / archivedTaskCount / permissions are the list enrichments computed against the active graph so rows can be badged without a per-row request.

prompt is the active revision's workflow-level prompt for every row (taskless and multi-step alike). Taskless grid cards render it in place of a task-graph thumbnail; multi-step rows keep the same field for a consistent list payload.

Properties

activeRevision?

optional activeRevision: WorkflowRevisionSummaryResponse | null

Defined in: packages/sdk/src/types/generated/workflow.ts:185


archivedTaskCount?

optional archivedTaskCount: number

Defined in: packages/sdk/src/types/generated/workflow.ts:187


installation?

optional installation: InstallationSummaryResponse | null

Defined in: packages/sdk/src/types/generated/workflow.ts:190


permissions?

optional permissions: number

Defined in: packages/sdk/src/types/generated/workflow.ts:188


prompt?

optional prompt: string | null

Defined in: packages/sdk/src/types/generated/workflow.ts:189


taskCount?

optional taskCount: number

Defined in: packages/sdk/src/types/generated/workflow.ts:186


workflow

workflow: GeneratedWorkflowRootResponse

Defined in: packages/sdk/src/types/generated/workflow.ts:184