UpdateWorkflowBody

Request body for updating a Workflow.

Definition

TypeScript
interface UpdateWorkflowBody {
  name?: string | undefined;
  description?: string | undefined;
  entryNodeId?: string | null | undefined;
  outputNodeId?: string | null | undefined;
  inputSchema?: Record<string, unknown> | undefined;
  outputSchema?: Record<string, unknown> | undefined;
  runtimeUserId?: string | null | undefined;
}

Fields

FieldTypeNotes
namestring | undefinedoptional — New name
descriptionstring | undefinedoptional — New description
entryNodeIdstring | null | undefinedoptional — Entry node ID
outputNodeIdstring | null | undefinedoptional — Node whose output becomes the workflow's return value. Must reference a node in this workflow.
inputSchemaRecord<string, unknown> | undefinedoptional — Zod-shaped input schema.
outputSchemaRecord<string, unknown> | undefinedoptional — Zod-shaped output schema.
runtimeUserIdstring | null | undefinedoptional — Override the workspace default service user as the runtime caller when this workflow runs headlessly. Null clears the override. Workspace-admin-only to set.