workflows — @personaai/sdk
Generated field tables for workflows — do not edit
Generated from
sdk/typescript/dist/typedoc.json— do not edit. Regenerate withnode platform/scripts/typedoc-resources.mjs.
workflows
Auth: Requires
Authorization: Bearer <keyId>.<secret>(server-side). For per-user calls addx-persona-external-user-id. See .
Workflows are multi-agent DAGs compiled to LangGraph StateGraphs — draft (editable) + publishedVersion (immutable). Stream via AG-UI with seq for resume and dryRun for safe testing.
Example
TypeScript
cURL
Response
Workflow
Source: types/workflow.ts:61
Interface
WorkflowNodeType
Source: types/workflow.ts:3
Kind 2097152
WorkflowTriggerType
Source: types/workflow.ts:14
Kind 2097152
WorkflowVisibility
Source: types/workflow.ts:15
Kind 2097152
WorkflowOwnerType
Source: types/workflow.ts:16
Kind 2097152
NodeOnErrorAction
Source: types/workflow.ts:17
Kind 2097152
NodeRetryPolicy
Source: types/workflow.ts:19
Interface
WorkflowNodeData
Source: types/workflow.ts:25
Interface
WorkflowNode
Source: types/workflow.ts:33
Interface
WorkflowEdge
Source: types/workflow.ts:40
Interface
WorkflowTrigger
Source: types/workflow.ts:50
Interface
WorkflowDraft
Source: types/workflow.ts:55
Interface
AgentSnapshot
Source: types/workflow.ts:78
Interface
WorkflowVersion
Source: types/workflow.ts:84
Interface
WorkflowRunStatus
Source: types/workflow.ts:97
Kind 2097152
NodeRunStatus
Source: types/workflow.ts:105
Kind 2097152
NodeRun
Source: types/workflow.ts:107
Interface
WorkflowUsage
Source: types/workflow.ts:121
Interface
WorkflowRun
Source: types/workflow.ts:128
Interface
CreateWorkflowInput
Source: types/workflow.ts:156
Interface
UpdateWorkflowInput
Source: types/workflow.ts:164
Interface
DiscoverWorkflowsParams
Source: types/workflow.ts:172
Interface
ListWorkflowRunsParams
Source: types/workflow.ts:181
Interface
ListWorkflowVersionsParams
Source: types/workflow.ts:188
Interface
RunWorkflowOptions
Source: types/workflow.ts:193
Interface
WorkflowRunResult
Source: types/workflow.ts:200
Interface
WorkflowStreamEvent
Source: types/workflow.ts:211
Kind 2097152