跳到主要内容

完整文档索引见 llms.txt。在页面 URL 后附加 .md 即可获取 Markdown 版本;本页的 Markdown 版本可在此获取。

数据模型

auditVersion.generated 对象 ​

字段类型必填说明
namestring是
nodesarray是
createdAtstring是
descriptionstring是
documentationUrlstring是
hasBreakingChangeboolean是
hasSecurityFixboolean是
hasSecurityIssueboolean是
securityIssueFixVersionstring是

下载完整 OpenAPI 定义(JSON)

credentialTypePolicyEffectivePublicDto.generated 对象 ​

字段类型必填说明
scopeIdstring是
rulesarray是
展开字段
字段类型必填说明
rules.[]idstring是
rules.[]actionstring是

可选值:allow, deny, delegate

rules.[]selectorobject是
展开字段

结构 1

结构 2

结构 3

defaultActionstring是

可选值:allow, deny, delegate

versioninteger是

下载完整 OpenAPI 定义(JSON)

credentialTypePolicyEffectiveWriteResultPublicDto.generated 对象 ​

字段类型必填说明
scopeIdstring是
rulesarray是
展开字段
字段类型必填说明
rules.[]idstring是
rules.[]actionstring是

可选值:allow, deny, delegate

rules.[]selectorobject是
展开字段

结构 1

结构 2

结构 3

defaultActionstring是

可选值:allow, deny, delegate

versioninteger是
warningsarray是
展开字段

结构 1

字段类型必填说明
warnings.[]kindstring是

可选值:shadowed

warnings.[]ruleIdstring是
warnings.[]shadowedByRuleIdstring是

结构 2

字段类型必填说明
warnings.[]kindstring是

可选值:notLoaded

warnings.[]ruleIdstring是

下载完整 OpenAPI 定义(JSON)

credentialTypePolicyDocumentWriteResultPublicDto.generated 对象 ​

字段类型必填说明
policyobject是
展开字段
字段类型必填说明
policy.idstring是
policy.kindstring是
policy.rulesarray是
展开字段
字段类型必填说明
policy.rules.[]idstring是
policy.rules.[]actionstring是

可选值:allow, deny, delegate

policy.rules.[]selectorobject是
policy.versioninteger是
policy.updatedBystring是
policy.createdAtstring是
policy.updatedAtstring是
warningsarray是
展开字段

结构 1

字段类型必填说明
warnings.[]kindstring是

可选值:shadowed

warnings.[]ruleIdstring是
warnings.[]shadowedByRuleIdstring是

结构 2

字段类型必填说明
warnings.[]kindstring是

可选值:notLoaded

warnings.[]ruleIdstring是

下载完整 OpenAPI 定义(JSON)

credentialTypePolicyAttachmentsPublicDto.generated 对象 ​

字段类型必填说明
attachmentsarray是
展开字段
字段类型必填说明
attachments.[]policyIdstring是
attachments.[]rulesarray是
attachments.[]priorityinteger是
attachments.[]isFloorboolean是
versioninteger是

下载完整 OpenAPI 定义(JSON)

credentialPublicDto.generated 对象 ​

字段类型必填说明
idstring是
namestring是
typestring是
isManagedboolean是
isGlobalboolean是
isResolvableboolean是
resolvableAllowFallbackboolean是
resolverIdstring是
createdAtstring是
updatedAtstring是
descriptionstring否

仅在启用凭据说明时返回。

下载完整 OpenAPI 定义(JSON)

dependencyListPublicDto.generated 对象 ​

字段类型必填说明
dataarray是
展开字段
字段类型必填说明
data.[]typestring是

与所请求资源的关系。credential、dataTable、subWorkflow、errorWorkflow:所请求的工作流使用此依赖项。parentWorkflow:此工作流使用所请求的资源。errorWorkflowParent:此工作流将所请求的工作流用作错误工作流。agent:此智能体使用所请求的资源。

可选值:agent, credential, dataTable, errorWorkflow, errorWorkflowParent, parentWorkflow, subWorkflow

data.[]idstring是
data.[]namestring是
data.[]projectIdstring否

依赖项所属项目(已知时返回)。

nextCursorstring是
inaccessibleCountinteger是

你无权访问的依赖项数量;这些依赖项不会列出。

下载完整 OpenAPI 定义(JSON)

dataTablePublicDto.generated 对象 ​

字段类型必填说明
idstring是

数据表的唯一标识符

namestring是

数据表名称

columnsarray是

列定义

展开字段
字段类型必填说明
columns.[]idstring是

列 ID

columns.[]namestring是

列名称

columns.[]typestring是

列的数据类型

可选值:string, number, boolean, date

columns.[]indexinteger是

列位置

columns.[]createdAtstring是

列创建的时间戳

columns.[]updatedAtstring是

列上次更新的时间戳

projectIdstring是

此表所属项目的 ID

createdAtstring是

表创建的时间戳

updatedAtstring是

表上次更新的时间戳

sizeBytesinteger是

物理存储大小,单位为字节,包括索引和内部开销。删除行后不会立即减少,数值可能延迟几秒更新。

下载完整 OpenAPI 定义(JSON)

dataTableColumnPublicDto.generated 对象 ​

字段类型必填说明
idstring是

列 ID

namestring是

列名称

typestring是

列的数据类型

可选值:string, number, boolean, date

indexinteger是

列位置

createdAtstring是

列创建的时间戳

updatedAtstring是

列上次更新的时间戳

dataTableIdstring是

此列所属数据表的 ID

下载完整 OpenAPI 定义(JSON)

executionTagsPublicDto.generated 对象 ​

字段类型必填说明
[]idstring是

只读。

[]namestring是
[]createdAtstring是

只读。

[]updatedAtstring是

只读。

下载完整 OpenAPI 定义(JSON)

ldapConfigurationPublicDto.generated 对象 ​

字段类型必填说明
loginEnabledboolean是

是否启用 LDAP 登录。

loginLabelstring是

LDAP 登录按钮显示的标签。

connectionUrlstring是

LDAP 服务器 URL。

allowUnauthorizedCertsboolean是

是否允许不受信任的证书(自签名证书)。

connectionSecuritystring是

LDAP 连接的 TLS/SSL 安全模式。

可选值:none, tls, startTls

connectionPortnumber是

LDAP 服务器端口。

baseDnstring是

LDAP 搜索查询的基础 DN。

bindingAdminDnstring是

用于绑定的 LDAP 管理员用户 DN。

bindingAdminPasswordstring是

LDAP 管理员用户密码。GET 读取时会遮蔽:已存储密码时返回遮蔽占位符,未设置时返回空字符串。提交先前 GET 返回的遮蔽占位符,可保持已存储密码不变。

firstNameAttributestring是

映射到用户名字的 LDAP 属性。

lastNameAttributestring是

映射到用户姓氏的 LDAP 属性。

emailAttributestring是

映射到用户邮箱的 LDAP 属性。

loginIdAttributestring是

用于登录的 LDAP 属性,通常与 emailAttribute 相同。

ldapIdAttributestring是

用于唯一标识用户的 LDAP 属性。

userFilterstring是

搜索用户时使用的附加 LDAP 筛选条件;空字符串表示无附加筛选条件。

synchronizationEnabledboolean是

是否启用 LDAP 自动同步。

synchronizationIntervalnumber是

自动同步的间隔,单位为分钟;synchronizationEnabled 为 false 时忽略。

searchPageSizenumber是

每页搜索获取的 LDAP 条目数量。

searchTimeoutnumber是

LDAP 搜索超时时长,单位为秒。

enforceEmailUniquenessboolean是

是否强制 LDAP 用户邮箱唯一。为 true 时,如果两个用户邮箱相同,只导入第一个用户。

linkExistingAccountsByEmailboolean是

是否允许将 LDAP 用户关联到邮箱相同的现有 n8n 账户。为 false 时,登录和同步都会跳过此类用户。PUT 中此字段可选,省略时保留已存储的值。

下载完整 OpenAPI 定义(JSON)

logStreamingDestinationPublicDto.generated 对象 ​

结构 1

字段类型必填说明
labelstring否

界面中显示的可读名称。

enabledboolean否

目标当前是否接收事件。

subscribedEventsarray否

此目标接收的事件名称或事件组前缀,例如 n8n.workflow 会匹配所有 n8n.workflow.* 事件。可从 GET /settings/log-streaming/event-types 获取完整的可传输事件名称列表。

anonymizeAuditMessagesboolean否

发送审计消息负载之前,是否进行匿名化。

circuitBreakerobject否

投递熔断器的调节配置。反复失败后,目标会在冷却窗口内停止发送,避免持续请求异常的接收端。所有字段均可选,省略时使用合理的默认值。

展开字段
字段类型必填说明
circuitBreaker.maxFailuresinteger否

熔断器断开前,滑动窗口内允许的最大失败次数。

circuitBreaker.failureWindowinteger否

统计失败次数的滑动窗口,单位为毫秒。

typestring是

将每个事件作为 HTTP 请求发送到 URL。

可选值:webhook

urlstring是

接收事件负载的目标 URL。

methodstring否

请求使用的 HTTP 方法。

sendHeadersboolean否

是否为请求附加自定义请求头。

specifyHeadersstring否

自定义请求头的提供方式:keypair 或 json。

headerParametersobject否

相应的 specify* 字段为 keypair 时使用的键值对。

展开字段
字段类型必填说明
headerParameters.parametersarray是
jsonHeadersstring否

specifyHeaders 为 json 时,以 JSON 字符串提供的自定义请求头。

sendQueryboolean否

是否为请求附加查询参数。

specifyQuerystring否

查询参数的提供方式:keypair 或 json。

queryParametersobject否

相应的 specify* 字段为 keypair 时使用的键值对。

展开字段
字段类型必填说明
queryParameters.parametersarray是
jsonQuerystring否

specifyQuery 为 json 时,以 JSON 字符串提供的查询参数。

optionsobject否

附加 HTTP 请求选项。

展开字段
字段类型必填说明
options.timeoutinteger否

请求超时时长,单位为毫秒。

options.allowUnauthorizedCertsboolean否

接受自签名或其他无效的 TLS 证书。

options.queryParameterArraysstring否

如何将数组值查询参数序列化到查询字符串中。

可选值:indices, brackets, repeat

options.redirectobject否

跟随重定向的行为。

展开字段
字段类型必填说明
options.redirect.redirectobject是
options.proxyobject否

出站代理配置。

展开字段
字段类型必填说明
options.proxy.proxyobject是
options.socketobject否

连接套接字选项。

展开字段
字段类型必填说明
options.socket.keepAliveboolean否

是否保持套接字打开以便复用。

options.socket.maxSocketsinteger否

每个主机同时保持打开的最大套接字数。

options.socket.maxFreeSocketsinteger否

每个主机保持打开的最大空闲套接字数。

idstring是

服务器生成的目标唯一 id,响应中返回,请求中不接受。

结构 2

字段类型必填说明
labelstring否

界面中显示的可读名称。

enabledboolean否

目标当前是否接收事件。

subscribedEventsarray否

此目标接收的事件名称或事件组前缀,例如 n8n.workflow 会匹配所有 n8n.workflow.* 事件。可从 GET /settings/log-streaming/event-types 获取完整的可传输事件名称列表。

anonymizeAuditMessagesboolean否

发送审计消息负载之前,是否进行匿名化。

circuitBreakerobject否

投递熔断器的调节配置。反复失败后,目标会在冷却窗口内停止发送,避免持续请求异常的接收端。所有字段均可选,省略时使用合理的默认值。

展开字段
字段类型必填说明
circuitBreaker.maxFailuresinteger否

熔断器断开前,滑动窗口内允许的最大失败次数。

circuitBreaker.failureWindowinteger否

统计失败次数的滑动窗口,单位为毫秒。

typestring是

将每个事件发送到 syslog 服务器。

可选值:syslog

hoststring是

Syslog 服务器主机。

portinteger否

Syslog 服务器端口。

protocolstring否

传输协议。

可选值:udp, tcp, tls

facilityinteger否

Syslog facility 代码(0–23,按 RFC 5424)。常用值:0 Kernel(内核)、1 User(用户)、3 System(系统)、13 Audit(审计)、14 Alert(警报)、16 Local0、17 Local1、18 Local2、19 Local3、20 Local4、21 Local5、22 Local6、23 Local7。

app_namestring否

syslog 消息中报告的应用名称。

tlsCastring否

protocol 为 tls 时使用的 PEM 编码 CA 证书。

idstring是

服务器生成的目标唯一 id,响应中返回,请求中不接受。

结构 3

字段类型必填说明
labelstring否

界面中显示的可读名称。

enabledboolean否

目标当前是否接收事件。

subscribedEventsarray否

此目标接收的事件名称或事件组前缀,例如 n8n.workflow 会匹配所有 n8n.workflow.* 事件。可从 GET /settings/log-streaming/event-types 获取完整的可传输事件名称列表。

anonymizeAuditMessagesboolean否

发送审计消息负载之前,是否进行匿名化。

circuitBreakerobject否

投递熔断器的调节配置。反复失败后,目标会在冷却窗口内停止发送,避免持续请求异常的接收端。所有字段均可选,省略时使用合理的默认值。

展开字段
字段类型必填说明
circuitBreaker.maxFailuresinteger否

熔断器断开前,滑动窗口内允许的最大失败次数。

circuitBreaker.failureWindowinteger否

统计失败次数的滑动窗口,单位为毫秒。

typestring是

将每个事件发送到 Sentry 项目。

可选值:sentry

dsnstring是

接收事件的 Sentry DSN。

idstring是

服务器生成的目标唯一 id,响应中返回,请求中不接受。

下载完整 OpenAPI 定义(JSON)

importResultDto.generated 对象 ​

字段类型必填说明
packageobject是
展开字段
字段类型必填说明
package.sourceN8nVersionstring是
package.sourceIdstring是
package.exportedAtstring是
workflowsarray是
展开字段
字段类型必填说明
workflows.[]sourceWorkflowIdstring是

工作流在包中的 id。

workflows.[]localIdstring是

目标实例上的工作流 id:created 时新建(workflowIdPolicy=new 时生成新 id,source 时使用包中的 id);updated/skipped 时使用现有工作流的 id。

workflows.[]namestring是
workflows.[]projectIdstring是
workflows.[]parentFolderIdstring是
workflows.[]activeVersionIdstring是

目标实例上的已发布版本(如有)。导入后工作流未发布时为 null。

workflows.[]isArchivedboolean是

导入后工作流在目标上是否归档。采用 new-version 时,遵循包中的 isArchived 标记;被跳过的工作流保留自身状态。

workflows.[]publishingobject是

将所选发布策略应用到此工作流的结果。

展开字段
字段类型必填说明
workflows.[]publishing.statestring是

blocked 表示导入版本无法发布,且没有激活版本,例如工作流使用了空白或不完整凭据,或使用实例未安装的节点类型。如果先前发布的版本仍处于激活状态,state 会为 unchanged,并附带 skippedPublishReason。failed 表示尝试了发布或取消发布,但操作未成功。

可选值:published, unpublished, unchanged, blocked, failed

workflows.[]publishing.errorstring否

state 为 failed 时返回,说明无法应用发布或取消发布操作的原因。

workflows.[]publishing.blockedReasonstring否

state 为 blocked 时返回:导入版本无法发布,且没有激活版本。

可选值:stub-credential, incomplete-credential, missing-node-type

workflows.[]publishing.skippedPublishReasonstring否

state 为 unchanged,但策略原本要求发布导入版本时返回:先前发布的版本仍处于激活状态,例如更新后凭据为空或不完整。

可选值:stub-credential, incomplete-credential, missing-node-type

workflows.[]statusstring是

此包中工作流的导入结果。

可选值:created, updated, skipped

removedWorkflowsarray是

此次导入期间从目标移除的工作流。

展开字段
字段类型必填说明
removedWorkflows.[]workflowIdstring是

此实例上被移除工作流的 id。

removedWorkflows.[]namestring是
removedWorkflows.[]projectIdstring是

对工作流进行对齐处理的项目。

removedWorkflows.[]parentFolderIdstring是

工作流原所在文件夹;位于项目根目录时为 null。

removedWorkflows.[]deletionstring是

实际发生的结果,而非 overwriteDeletionPolicy 请求的操作:如果请求 hard-delete,但相应记录尚不能删除,则报告为 archived。

可选值:archived, deleted

removedFoldersarray是

包未定义、且在对齐处理后变为空的文件夹,由 folderConflictPolicy=overwrite 移除。仍包含任何内容的文件夹会保留,因此不会一并清理仅存在于目标的内容。其他策略下始终为空。

展开字段
字段类型必填说明
removedFolders.[]folderIdstring是
removedFolders.[]namestring是
removedFolders.[]projectIdstring是
removedFolders.[]parentFolderIdstring是

原所在文件夹;位于项目根目录时为 null。

foldersarray是

在目标项目中创建或跳过的文件夹结构。

展开字段
字段类型必填说明
folders.[]sourceFolderIdstring是

文件夹在包中的 id。

folders.[]localIdstring是

目标实例上的文件夹 id,等于 sourceFolderId,即复用文件夹 id。

folders.[]namestring是
folders.[]parentFolderIdstring是

目标上解析得到的父文件夹;位于项目根目录时为 null。

folders.[]statusstring是

此包中文件夹的导入结果。

可选值:created, skipped

projectsarray是

创建的项目结构,或匹配后更新或保留原样的项目结构,参见 projectConflictPolicy。项目包中会返回;导入独立工作流或文件夹时为空。

展开字段
字段类型必填说明
projects.[]sourceProjectIdstring是

项目在包中的 id。

projects.[]localIdstring是

目标实例上的项目 id,等于 sourceProjectId,即复用项目 id。

projects.[]namestring是

目标上的项目名称:采用 overwrite 时使用包中的名称,采用 merge 时使用原有名称。

projects.[]statusstring是

此包中项目的导入结果。skipped 表示项目已存在,且 projectConflictPolicy=merge 保留了原项目详情;项目内容仍会导入。

可选值:created, updated, skipped

bindingsobject是

导入产生的源 id → 目标 id 映射,每种实体类型一个映射。每个值都将实体在包中的 id 映射到目标实例上的 id。

展开字段
字段类型必填说明
bindings.workflowsobject是
bindings.credentialsobject是

包清单 requirements.credentials 中的凭据 id → 目标实例上解析得到的凭据 id。同时涵盖匹配的现有凭据,以及通过 credentialMissingMode=create-stub 或 create-with-values 创建的凭据。

credentialsobject是

按解析结果分组的源凭据 id:匹配现有凭据、创建空白占位凭据、创建带初始数据的凭据、创建不完整凭据,或匹配到此次导入已更新的凭据。完整的源→目标 id 映射见 bindings.credentials。

展开字段
字段类型必填说明
credentials.matchedarray是

包中匹配到目标实例现有凭据的源凭据 id。

credentials.stubbedarray是

已在目标项目中为其创建空白占位凭据的源凭据 id。

credentials.seededarray是

已在目标项目中为其创建凭据的源凭据 id;这些凭据包含包内表达式值携带的全部源数据。

credentials.incompletearray是

已在目标项目中使用包内表达式值创建凭据的源凭据 id,但包未确认其包含全部源数据。这些凭据还需补充信息。导入不会发布使用它们的工作流导入版本,原因为 incomplete-credential。

credentials.updatedarray是

此次导入通过 credentialConflictPolicy=overwrite 更改了其匹配凭据的源凭据 id。这些 id 不会列在 matched 中。其他策略下为空。

dataTablesobject是
展开字段
字段类型必填说明
dataTables.matchedinteger是
dataTables.createdinteger是
dataTables.updatedinteger是
variablesobject是

包的变量需求解析结果。仅返回名称,响应绝不包含值。对于项目包,这些数组是在包级别汇总各目标结果得到的并集,可能重叠,例如某名称在一个项目中创建时带有值,在另一个项目中创建为空白占位变量;存在外部并发写入时,只能尽力准确分类。

展开字段
字段类型必填说明
variables.matchedarray是

解析到现有变量且保持不变的变量名,优先查找导入项目作用域,再查找全局作用域。此次导入重写的已解析变量会列在 updated 中。

variables.missingarray是

导入后仍未解析到的变量名。variableMissingMode=do-nothing 下,这些仅为警告:导入仍成功,不创建任何变量。成功的 create-stub 或 create-with-value 导入通常使此列表为空。

variables.createdarray是

通过 variableMissingMode=create-with-value 使用包内值创建的变量名。空白占位变量会列在 stubbed 中。

variables.stubbedarray是

此次导入创建为空值的变量名:使用了 variableMissingMode=create-stub,或 create-with-value 没有可导出的值。其他结果下为空。

variables.updatedarray是

此次导入通过 variableConflictPolicy=overwrite,将其现有值替换为包内值的变量名。其他策略下为空。

tagsobject是

导入工作流引用的标签的解析结果,按源 id 匹配,仅包含标签名称。

展开字段
字段类型必填说明
tags.matchedarray是

解析到 id 和名称均相同的现有标签,按原样附加。

tags.createdarray是

此次导入通过 tagMissingMode=create 创建的标签,按名称列出。

tags.renamedarray是

通过 tagConflictPolicy=rename 重命名为包内名称的目标标签,按新名称列出。

tags.reconciledarray是

发生名称冲突时,通过 tagConflictPolicy=rename 将 id 改为包(源)id 的现有目标标签;其名称、工作流标签关联和文件夹标签关联均保留。

tags.skippedarray是

通过 tagMissingMode=do-nothing 或 tagConflictPolicy=skip 从导入中丢弃的标签:不创建、不重命名,也不附加到任何导入工作流。

下载完整 OpenAPI 定义(JSON)

packageRequirementConsumer.generated 对象 ​

字段类型必填说明
kindstring是

可选值:workflow, agent

idstring是

下载完整 OpenAPI 定义(JSON)

importBlockingIssue.generated 对象 ​

结构 1

字段类型必填说明
typestring是

可选值:agent-conflict

kindstring是

可选值:existing, id, task-id

sourceAgentIdstring是
projectIdstring是
sourceTaskIdstring否
targetIdsarray是

结构 2

字段类型必填说明
typestring是

可选值:agent-invalid

sourceAgentIdstring是
pathstring是
messagestring是

结构 3

字段类型必填说明
typestring是

可选值:agent-dependency-unresolved

sourceAgentIdstring是
projectIdstring是
dependencyTypestring是

可选值:agent, workflow, credential

referenceIdstring是
pathstring是
reasonstring是

可选值:missing, inaccessible, ambiguous, unsupported

结构 4

字段类型必填说明
typestring是

可选值:agent-policy-violation

sourceAgentIdstring是
namestring是
violationsarray是
展开字段
字段类型必填说明
violations.[]kindstring是
violations.[]checkIdstring是
violations.[]messagestring是
violations.[]subjectstring否
violations.[]subjectTypestring否
violations.[]scopestring否
violations.[]matchedRuleIdstring否
violations.[]projectIdstring否
violations.[]optInAvailableboolean否

结构 5

字段类型必填说明
typestring是

可选值:workflow-conflict

sourceWorkflowIdstring是
existingWorkflowIdstring是
namestring是

结构 6

字段类型必填说明
typestring是

可选值:workflow-lineage-conflict

sourceWorkflowIdstring是
projectIdstring是
existingWorkflowsarray是
展开字段
字段类型必填说明
existingWorkflows.[]idstring是
existingWorkflows.[]namestring是
existingWorkflows.[]isArchivedboolean是

结构 7

字段类型必填说明
typestring是

可选值:workflow-id-conflict

sourceWorkflowIdstring是
existingWorkflowIdstring是
existingProjectIdstring是

现有工作流所属的项目;无法确定所属项目时为 null。

isArchivedboolean是

现有工作流是否归档。

namestring是

结构 8

字段类型必填说明
typestring是

可选值:workflow-folder-conflict

sourceWorkflowIdstring是
existingWorkflowIdstring是
existingParentFolderIdstring是

匹配工作流当前所在的文件夹;位于项目根目录时为 null。

targetFolderIdstring是

请求导入到的文件夹;项目包将工作流放在项目根目录时为 null。

namestring是

结构 9

字段类型必填说明
typestring是

可选值:workflow-archive-forbidden

sourceWorkflowIdstring是
existingWorkflowIdstring是
namestring是
projectIdstring是

匹配工作流所属的项目。

transitionstring是

导入为使工作流与包中状态一致而需要执行的步骤。

可选值:archive, unarchive

结构 10

字段类型必填说明
typestring是

可选值:credential-unresolved

kindstring是

可选值:not_found, unknown_type, source_not_found, type_mismatch

sourceIdstring是
targetIdstring否

目标凭据 id:对于 not_found,是无法解析的显式绑定;对于 type_mismatch,是通过显式绑定或自动匹配已解析到、但类型错误的凭据 id。

expectedTypestring否

对于 type_mismatch:包中工作流节点需要的凭据类型。

actualTypestring否

对于 type_mismatch:已解析目标凭据的实际类型。

usedByarray是
展开字段
字段类型必填说明
usedBy.[]kindstring是

可选值:workflow, agent

usedBy.[]idstring是

结构 11

字段类型必填说明
typestring是

可选值:credential-conflict

kindstring是

differs:在 credentialConflictPolicy=fail 下,包会更改目标凭据的名称或值。divergent:在 overwrite 下,包内两个或多个名称或值不同的凭据解析到了同一个目标凭据。导入不会代为选择其中之一。

可选值:differs, divergent

targetIdstring是

目标凭据的 id。

sourceIdsarray是

解析到该目标凭据的包内凭据 id。对于 differs,是会更改该目标凭据的包内凭据。

namestring是

目标凭据的名称。

usedByarray是

包中使用所列包内凭据的使用方。

展开字段
字段类型必填说明
usedBy.[]kindstring是

可选值:workflow, agent

usedBy.[]idstring是

结构 12

字段类型必填说明
typestring是

可选值:credential-update-forbidden

targetIdstring是

目标凭据的 id。

sourceIdsarray是

解析到此凭据的包内凭据 id。

namestring是

目标凭据的名称。

usedByarray是

包中使用所列包内凭据的使用方。

展开字段
字段类型必填说明
usedBy.[]kindstring是

可选值:workflow, agent

usedBy.[]idstring是

结构 13

字段类型必填说明
typestring是

可选值:project-conflict

kindstring是

可选值:fail-policy

sourceProjectIdstring是
namestring是

项目在包中的名称。

结构 14

字段类型必填说明
typestring是

可选值:folder-conflict

kindstring是

可选值:parent-mismatch, id-in-other-project, fail-policy

sourceFolderIdstring是
namestring是
existingParentFolderIdstring否

对于 parent-mismatch:目标上匹配文件夹的当前父文件夹。

expectedParentFolderIdstring否

对于 parent-mismatch:包要求放置该文件夹的父文件夹。

existingProjectIdstring否

对于 id-in-other-project:已拥有此 id 的项目。

结构 15

字段类型必填说明
typestring是

可选值:workflow-removal-forbidden

workflowIdstring是
namestring是
projectIdstring是

当时对工作流进行对齐处理的项目。

结构 16

字段类型必填说明
typestring是

可选值:workflow-removal-conflict

sourceWorkflowIdstring是
workflowIdstring是

所选工作流的目标 id。

projectIdstring是

结构 17

字段类型必填说明
typestring是

可选值:folder-removal-forbidden

folderIdstring是
namestring是
projectIdstring是

当时对文件夹进行对齐处理的项目。

结构 18

字段类型必填说明
typestring是

可选值:data-table-unresolved

kindstring是

可选值:missing, id-conflict, name-conflict, schema-incompatible, module-disabled, permission-denied

sourceIdstring否

整个导入层面的失败(module-disabled、permission-denied)不返回此字段。

namestring否
existingProjectIdstring否

对于 id-conflict:拥有冲突目标表的项目。

missingColumnsarray否

对于 schema-incompatible:目标表缺少的包内列。

typeMismatchesarray否

对于 schema-incompatible:目标类型不同的包内列。

展开字段
字段类型必填说明
typeMismatches.[]columnstring是
typeMismatches.[]expectedTypestring是
typeMismatches.[]actualTypestring是
extraColumnsarray否

对于 schema-incompatible,在 fail 策略下:目标上存在、但包内架构中没有的列。

overwriteChangesarray否

对于 schema-incompatible:overwrite 将对目标表进行的变更。

展开字段

结构 1

结构 2

结构 3

结构 4

结构 5

结构 6

missingScopestring否

对于 permission-denied:用户缺少的项目作用域。

可选值:dataTable:create, dataTable:update

conflictingTableIdstring否

对于 name-conflict:已占用或声明使用该名称的其他表。

currentNamestring否

对于重命名的 name-conflict:匹配表的当前名称。

usedByarray是
展开字段
字段类型必填说明
usedBy.[]kindstring是

可选值:workflow, agent

usedBy.[]idstring是

结构 19

字段类型必填说明
typestring是

可选值:tag-unresolved

kindstring是

可选值:rename-drift, name-collision, invalid-name, invalid-id, permission-denied

sourceIdstring否

标签在包中的 id。permission-denied 时不返回。

namestring否

包内标签名称,已去除两端空白。permission-denied 时不返回。

missingScopestring否

对于 permission-denied:导入用户缺少的全局作用域。

可选值:tag:create, tag:update

existingTagIdstring否

存在争用的目标标签 id:当前占用所需名称的其他标签,或原本要在对齐处理中更改 id、但该操作被阻止的目标标签。如果只是两个包内标签彼此冲突,而非争用目标标签,则不返回。

existingNamestring否

对于 rename-drift:相同 id 的目标标签当前名称。

usedByarray是

包中引用源标签的使用方。不包括被跳过的使用方,也不包括关联到争用目标标签的工作流。

展开字段
字段类型必填说明
usedBy.[]kindstring是

可选值:workflow, agent

usedBy.[]idstring是

结构 20

字段类型必填说明
typestring是

可选值:variable-unresolved

namestring是

在目标项目和全局作用域中均无匹配项的需求名称。

usedByarray是
展开字段
字段类型必填说明
usedBy.[]kindstring是

可选值:workflow, agent

usedBy.[]idstring是

结构 21

字段类型必填说明
typestring是

可选值:variable-conflict

namestring是

值不同的变量名称。

projectIdstring否

已解析变量所属的项目;在全局作用域解析到时不返回。

usedByarray是
展开字段
字段类型必填说明
usedBy.[]kindstring是

可选值:workflow, agent

usedBy.[]idstring是

结构 22

字段类型必填说明
typestring是

可选值:variable-limit-exceeded

limitinteger是

实例变量配额。

remaininginteger是

配额内仍可创建的变量行数。导入被阻止是因为 requested 超过此剩余数,而非超过 limit。

requestedinteger是

导入原本会创建的新变量行数,已按目标去重。

namesarray是

导入原本会创建的唯一变量名称。

usedByarray是

包中引用任一所列变量的使用方。

展开字段
字段类型必填说明
usedBy.[]kindstring是

可选值:workflow, agent

usedBy.[]idstring是

结构 23

字段类型必填说明
typestring是

可选值:missing-node-type

nodeTypestring是

包中工作流使用的完整节点类型名称。

typeVersionnumber是

包中工作流使用的节点类型版本。

usedByarray是

包中使用此节点类型和版本的使用方。

展开字段
字段类型必填说明
usedBy.[]kindstring是

可选值:workflow, agent

usedBy.[]idstring是

结构 24

字段类型必填说明
typestring是

可选值:policy-violation

sourceWorkflowIdstring是

工作流在包中的 id。

namestring是
violationsarray是
展开字段
字段类型必填说明
violations.[]kindstring是
violations.[]checkIdstring是
violations.[]messagestring是
violations.[]subjectstring否
violations.[]subjectTypestring否
violations.[]scopestring否
violations.[]matchedRuleIdstring否
violations.[]projectIdstring否
violations.[]optInAvailableboolean否

结构 25

字段类型必填说明
typestring是

可选值:credential-policy-violation

sourceIdstring是

凭据在包中的 id。

targetIdstring否

目标实例上匹配凭据的 id。策略在 credentialConflictPolicy=overwrite 下拒绝更新此凭据时返回;策略拒绝的是导入原本会创建的凭据时不返回。

namestring否
credentialTypestring是
usedByarray是

包中使用此凭据的使用方。

展开字段
字段类型必填说明
usedBy.[]kindstring是

可选值:workflow, agent

usedBy.[]idstring是
violationsarray是
展开字段
字段类型必填说明
violations.[]kindstring是
violations.[]checkIdstring是
violations.[]messagestring是
violations.[]subjectstring否
violations.[]subjectTypestring否
violations.[]scopestring否
violations.[]matchedRuleIdstring否
violations.[]projectIdstring否
violations.[]optInAvailableboolean否
字段类型必填说明
kindstring是

可选值:workflow, agent

idstring是

下载完整 OpenAPI 定义(JSON)

policyEffectivePublicDto.generated 对象 ​

字段类型必填说明
scopeIdstring是
rulesarray是
展开字段
字段类型必填说明
rules.[]idstring是
rules.[]actionstring是

可选值:allow, deny, delegate

rules.[]selectorobject是
展开字段

结构 1

结构 2

defaultActionstring是

可选值:allow, deny, delegate

versioninteger是

下载完整 OpenAPI 定义(JSON)

policyEffectiveWriteResultPublicDto.generated 对象 ​

字段类型必填说明
scopeIdstring是
rulesarray是
展开字段
字段类型必填说明
rules.[]idstring是
rules.[]actionstring是

可选值:allow, deny, delegate

rules.[]selectorobject是
展开字段

结构 1

结构 2

defaultActionstring是

可选值:allow, deny, delegate

versioninteger是
warningsarray是
展开字段

结构 1

字段类型必填说明
warnings.[]kindstring是

可选值:shadowed

warnings.[]ruleIdstring是
warnings.[]shadowedByRuleIdstring是

结构 2

字段类型必填说明
warnings.[]kindstring是

可选值:notLoaded

warnings.[]ruleIdstring是

下载完整 OpenAPI 定义(JSON)

policyDocumentWriteResultPublicDto.generated 对象 ​

字段类型必填说明
policyobject是
展开字段
字段类型必填说明
policy.idstring是
policy.kindstring是
policy.rulesarray是
展开字段
字段类型必填说明
policy.rules.[]idstring是
policy.rules.[]actionstring是

可选值:allow, deny, delegate

policy.rules.[]selectorobject是
policy.versioninteger是
policy.updatedBystring是
policy.createdAtstring是
policy.updatedAtstring是
warningsarray是
展开字段

结构 1

字段类型必填说明
warnings.[]kindstring是

可选值:shadowed

warnings.[]ruleIdstring是
warnings.[]shadowedByRuleIdstring是

结构 2

字段类型必填说明
warnings.[]kindstring是

可选值:notLoaded

warnings.[]ruleIdstring是

下载完整 OpenAPI 定义(JSON)

policyAttachmentsPublicDto.generated 对象 ​

字段类型必填说明
attachmentsarray是
展开字段
字段类型必填说明
attachments.[]policyIdstring是
attachments.[]rulesarray是
attachments.[]priorityinteger是
attachments.[]isFloorboolean是
versioninteger是

下载完整 OpenAPI 定义(JSON)

otelSettingsPublicDto.generated 对象 ​

字段类型必填说明
enabledboolean是

是否启用 OpenTelemetry 跟踪。

exporterProtocolstring是

用于导出跟踪片段(span)的传输协议。收集器通常在端口 4318 提供 OTLP/HTTP,在端口 4317 提供 OTLP/gRPC。两种协议都由端点的 URL 协议(http:// 或 https://)控制 TLS。此字段可选:写入时省略会选择 http/protobuf,但实例通过环境变量将此字段设为其他值时,会以 409 拒绝该写入。

可选值:http/protobuf, grpc

默认值:"http/protobuf"

exporterEndpointstring是

用于接收跟踪数据的 OTLP 收集器基础 URL。必须使用 http:// 或 https:// URL,由 URL 协议决定是否使用 TLS:对于 gRPC,https:// 使用 SSL,http:// 使用明文。

exporterTracingPathstring是

追加到端点上的 OTLP 跟踪信号路径。exporterProtocol 为 grpc 时忽略,因为 gRPC 不使用 URL 路径。

exporterServiceNamestring是

每个 span 上报告的 service.name 资源属性。

exporterHeadersstring是

发送到 OTLP 收集器的附加请求头,使用单个字符串表示,以逗号分隔各个 key=value,例如 authorization=Bearer my-token,x-tenant-id=acme。每个键和值两端的空白会被移除;值可以包含空格,但不能包含逗号。未使用时填写空字符串。

tracesSampleRatenumber是

跟踪采样比例,范围为 0(不采样)到 1(全部采样)。

startupConnectivityTimeoutMsinteger是

检查收集器是否可访问时的等待时间,单位为毫秒;也用作发送测试跟踪端点的超时时长。

includeNodeSpansboolean是

除工作流 span 外,是否还为每次节点执行生成 span。

emitWorkflowStartSpanboolean是

每次执行或恢复运行的片段开始时,是否生成持续时间为 0 ms 的 workflow.execute.started span。此字段可选:写入时省略会选择 false,但实例通过环境变量将此字段设为 true 时,会以 409 拒绝该写入。

emitNodeStartSpanboolean是

每个节点 span 开始时,是否生成持续时间为 0 ms 的 node.execute.started span。这会使节点 span 数量加倍。includeNodeSpans 为 false 时无效。此字段可选:写入时省略会选择 false,但实例通过环境变量将此字段设为 true 时,会以 409 拒绝该写入。

injectOutboundboolean是

是否向节点发出的 HTTP 请求注入跟踪上下文请求头。

productionExecutionsOnlyboolean是

为 true 时,仅跟踪已发布(激活)工作流的生产执行,不跟踪手动或测试运行。

下载完整 OpenAPI 定义(JSON)

promotionProviderPublicDto.generated 对象 ​

字段类型必填说明
idstring是
namestring是
typestring是

可选值:git, gitlab

authTypestring是

可选值:ssh-key, token

config联合类型是
展开字段

结构 1

字段类型必填说明
config.schemaVersionnumber是

可选值:1

config.publicKeystring是
config.keyTypestring是

可选值:ed25519, rsa

结构 2

字段类型必填说明
config.schemaVersionnumber是

可选值:1

结构 3

字段类型必填说明
config.schemaVersionnumber是

可选值:1

config.baseUrlstring是
createdAtstring是
updatedAtstring是

下载完整 OpenAPI 定义(JSON)

promotionEnvironmentPublicDto.generated 对象 ​

结构 1

字段类型必填说明
idstring是
namestring是
scopestring是

可选值:instance, projects

remoteobject是
展开字段
字段类型必填说明
remote.schemaVersionnumber是

可选值:1

remote.remoteUrlstring是
remote.repositoryPathstring否

Git 主机远程地址所存储的仓库路径。将其用作 repositoryId 列出分支前,请进行 URL 编码。请求不接受此字段。

providerobject是
展开字段
字段类型必填说明
provider.idstring是
provider.namestring是
provider.typestring是

可选值:git, gitlab

provider.authTypestring是

可选值:ssh-key, token

provider.createdAtstring是
provider.updatedAtstring是
createdAtstring是
updatedAtstring是
directionstring是

可选值:apply

settingsobject是
展开字段
字段类型必填说明
settings.schemaVersionnumber是

可选值:1

settings.branchNamestring是
checkoutobject是
展开字段
字段类型必填说明
checkout.hasCheckoutboolean是
checkout.matchesEnvironmentboolean是

结构 2

字段类型必填说明
idstring是
namestring是
scopestring是

可选值:instance, projects

remoteobject是
展开字段
字段类型必填说明
remote.schemaVersionnumber是

可选值:1

remote.remoteUrlstring是
remote.repositoryPathstring否

Git 主机远程地址所存储的仓库路径。将其用作 repositoryId 列出分支前,请进行 URL 编码。请求不接受此字段。

providerobject是
展开字段
字段类型必填说明
provider.idstring是
provider.namestring是
provider.typestring是

可选值:git, gitlab

provider.authTypestring是

可选值:ssh-key, token

provider.createdAtstring是
provider.updatedAtstring是
createdAtstring是
updatedAtstring是
directionstring是

可选值:promote

settingsobject是
展开字段
字段类型必填说明
settings.schemaVersionnumber是

可选值:1

settings.baseBranchNamestring是
settings.createBranchOnPromotionboolean是
checkoutobject是
展开字段
字段类型必填说明
checkout.hasCheckoutboolean是
checkout.matchesEnvironmentboolean是

下载完整 OpenAPI 定义(JSON)

promotionCheckoutPublicDto.generated 对象 ​

字段类型必填说明
environmentIdstring是
directionstring是

可选值:apply, promote

branchNamestring是
hasCheckoutboolean是

下载完整 OpenAPI 定义(JSON)

promotePackageResultDto.generated 对象 ​

字段类型必填说明
environmentIdstring是
countsobject是
展开字段
字段类型必填说明
counts.workflowsinteger是
counts.foldersinteger是
counts.credentialsinteger是
counts.dataTablesinteger是
counts.variablesinteger是
counts.tagsinteger是
gitobject是
展开字段
字段类型必填说明
git.commitShastring是
git.branchNamestring是
reviewobject否
展开字段
字段类型必填说明
review.reviewIdstring是
review.numberinteger是
review.webUrlstring是
warningsarray否
展开字段
字段类型必填说明
warnings.[]messagestring是
warnings.[]linkUrlstring否

下载完整 OpenAPI 定义(JSON)

promotionCredentialExpressionValue.generated 对象 ​

结构 1

结构 2

结构 1

结构 2

结构 3

结构 3

下载完整 OpenAPI 定义(JSON)

applyPackageResultDto.generated 对象 ​

结构 1

字段类型必填说明
environmentIdstring是
gitobject是
展开字段
字段类型必填说明
git.commitShastring是
git.branchNamestring是
statusstring是

可选值:applied

countsobject是
展开字段
字段类型必填说明
counts.projectsobject是
展开字段
字段类型必填说明
counts.projects.createdinteger是
counts.projects.updatedinteger是
counts.projects.skippedinteger是
counts.projects.deletedinteger是
counts.foldersobject是
展开字段
字段类型必填说明
counts.folders.createdinteger是
counts.folders.updatedinteger是

Apply 为匹配分支而移动或重命名的现有文件夹。

counts.folders.skippedinteger是
counts.folders.movedinteger是

Apply 将其移到项目内其他父文件夹下的已更新文件夹,也包含在 updated 中。

counts.folders.renamedinteger是

Apply 将其名称改为分支上名称的已更新文件夹,也包含在 updated 中。

counts.folders.removedinteger是
counts.workflowsobject是
展开字段
字段类型必填说明
counts.workflows.createdinteger是
counts.workflows.updatedinteger是
counts.workflows.skippedinteger是
counts.workflows.movedinteger是

Apply 同时将其移到项目内其他文件夹的已更新工作流,也包含在 updated 中。

counts.workflows.archivedinteger是
counts.workflows.deletedinteger是
counts.workflows.publishingobject是
counts.credentialsobject是
展开字段
字段类型必填说明
counts.credentials.matchedinteger是
counts.credentials.stubbedinteger是
counts.credentials.updatedinteger是
counts.dataTablesobject是
展开字段
字段类型必填说明
counts.dataTables.matchedinteger是
counts.dataTables.createdinteger是
counts.dataTables.updatedinteger是
counts.variablesobject是
展开字段
字段类型必填说明
counts.variables.matchedinteger是
counts.variables.createdinteger是
counts.variables.updatedinteger是
counts.variables.stubbedinteger是
counts.variables.missinginteger是
counts.tagsobject是
展开字段
字段类型必填说明
counts.tags.matchedinteger是
counts.tags.createdinteger是
counts.tags.renamedinteger是
counts.tags.reconciledinteger是
counts.tags.skippedinteger是
warningsarray是
展开字段
字段类型必填说明
warnings.[]kindstring是

可选值:variable

warnings.[]codestring是

可选值:variable-shadowed

warnings.[]namestring是
warnings.[]scopeobject是
warnings.[]consumersarray是

结构 2

字段类型必填说明
environmentIdstring是
gitobject是
展开字段
字段类型必填说明
git.commitShastring是
git.branchNamestring是
statusstring是

可选值:blocked

preflightobject是
展开字段
字段类型必填说明
preflight.missingProjectsarray是

包中存在、但实例上不存在的项目。预检会保留其元数据,不检查项目创建规则。项目创建 API 可能拒绝无效值。

preflight.missingBindingsarray是
preflight.accessRequirementsarray是
preflight.conflictsarray是
preflight.warningsarray是

结构 3

字段类型必填说明
environmentIdstring是
gitobject是
展开字段
字段类型必填说明
git.commitShastring是
git.branchNamestring是
statusstring是

可选值:source-changed

结构 1

结构 2

结构 1

结构 2

结构 3

结构 3

下载完整 OpenAPI 定义(JSON)

roleMappingRulePublicDto.generated 对象 ​

字段类型必填说明
idstring是
expressionstring是
rolestring是
typestring是

可选值:instance, project

orderinteger是
projectIdsarray是
createdAtstring是
updatedAtstring是

下载完整 OpenAPI 定义(JSON)

rolePublicDto.generated 对象 ​

字段类型必填说明
slugstring是
displayNamestring是
descriptionstring是
systemRoleboolean是
roleTypestring是

可选值:project, global

scopesarray是
createdAtstring是
updatedAtstring是

下载完整 OpenAPI 定义(JSON)

securityPolicyPublicDto.generated 对象 ​

字段类型必填说明
personalSpacePublishingboolean是

成员是否可以从个人空间发布工作流和智能体。

personalSpaceSharingboolean是

成员是否可以从个人空间共享工作流和凭据。

publishedPersonalWorkflowsCountinteger是

当前已发布的个人工作流数量,用于收紧策略前了解影响。

只读。

sharedPersonalWorkflowsCountinteger是

当前与其他用户共享的个人工作流数量。

只读。

sharedPersonalCredentialsCountinteger是

当前与其他用户共享的个人凭据数量。

只读。

redactionEnforcementobject是
展开字段
字段类型必填说明
redactionEnforcement.floorstring是

在整个实例上强制执行的最低执行数据遮蔽级别。

可选值:off, production, all

下载完整 OpenAPI 定义(JSON)

oidcConfigurationPublicDto.generated 对象 ​

字段类型必填说明
clientIdstring是

向 OIDC 提供方注册 n8n 时获得的客户端 ID。

clientSecretstring是

向 OIDC 提供方注册 n8n 时获得的客户端密钥。已设置时,读取会遮蔽,绝不以明文返回。

discoveryEndpointstring是

OIDC 提供方的 well-known 发现端点。

loginEnabledboolean是

是否启用 OIDC 单点登录。

promptstring是

向 OIDC 提供方进行身份验证时使用的 prompt 参数。

可选值:none, login, consent, select_account, create

authenticationContextClassReferencearray是

授权请求中包含的 ACR 值,即 acr_values 参数,按偏好顺序排列。

additionalScopesstring是

请求的附加作用域,以空格分隔。n8n 始终请求 openid、profile 和 email。

emailVerifiedRequiredboolean是

接受登录之前,是否要求身份提供方断言用户邮箱已验证。关闭时,只有明确的否定断言会被拒绝。

rpInitiatedLogoutEnabledboolean是

退出 n8n 时,是否同时通过 RP-Initiated Logout 结束 OIDC 提供方的会话。关闭时,仅退出 n8n 本地会话。

下载完整 OpenAPI 定义(JSON)

samlConfigurationPublicDto.generated 对象 ​

字段类型必填说明
entityIDstring是

服务提供方实体 ID,即元数据 URL。

只读。

returnUrlstring是

断言消费服务(ACS)返回 URL。

只读。

mappingobject是

SAML 属性到 n8n 用户字段的映射。

展开字段
字段类型必填说明
mapping.emailstring是

映射到用户邮箱的 SAML 属性。

mapping.firstNamestring是

映射到用户名字的 SAML 属性。

mapping.lastNamestring是

映射到用户姓氏的 SAML 属性。

mapping.userPrincipalNamestring是

映射到用户主体名称的 SAML 属性。

mapping.emailVerifiedstring是

表明身份提供方是否已验证用户邮箱的 SAML 属性;未使用时为空字符串。

mapping.n8nInstanceRolestring是

映射到 n8n 实例角色的 SAML 属性。

mapping.n8nProjectRolesarray是

映射到 n8n 项目角色的 SAML 属性,格式为 <projectId>:<role>。

metadatastring是

XML 格式的身份提供方元数据。由于包含 IdP 证书,已设置时会在读取时遮蔽,绝不以明文返回。未设置时使用空字符串。

metadataUrlstring是

获取身份提供方元数据的 URL;未设置时使用空字符串。

ignoreSSLboolean是

通过 URL 获取元数据时,是否忽略 SSL 证书错误。

loginBindingstring是

SAML 登录请求的绑定方式。

可选值:redirect, post

loginEnabledboolean是

是否启用 SAML 登录。

loginLabelstring是

SAML 登录按钮显示的标签。

authnRequestsSignedboolean是

是否对身份验证请求签名。

wantAssertionsSignedboolean是

是否要求断言带有签名。

wantMessageSignedboolean是

是否要求 SAML 消息带有签名。

emailVerifiedRequiredboolean是

按邮箱将登录关联到现有用户之前,是否要求身份提供方断言用户邮箱已验证。关闭时,只有明确的否定断言会被拒绝。

signingPrivateKeystring是

用于签署 SAML AuthnRequests 的 PEM 编码私钥。已设置时,读取会遮蔽,绝不以明文返回。未设置时使用空字符串。

signingCertificatestring是

PEM 编码证书,包含与签名私钥匹配的公钥。已设置时,读取会遮蔽,绝不以明文返回。未设置时使用空字符串。

acsBindingstring是

断言消费服务的绑定方式。

可选值:redirect, post

signatureConfigobject是

SAML 请求与响应中的签名配置。

展开字段
字段类型必填说明
signatureConfig.prefixstring是
signatureConfig.locationobject是
展开字段
字段类型必填说明
signatureConfig.location.referencestring是
signatureConfig.location.actionstring是

可选值:before, after, prepend, append

relayStatestring是

SAML 请求的默认 relay state 值;未设置时使用空字符串。

下载完整 OpenAPI 定义(JSON)

tagPublicDto.generated 对象 ​

字段类型必填说明
idstring是

只读。

namestring是
createdAtstring是

只读。

updatedAtstring是

只读。

下载完整 OpenAPI 定义(JSON)

workflowPublicDto.generated 对象 ​

字段类型必填说明
idstring是
namestring是
descriptionstring是
activeboolean是

已弃用。请改为检查 activeVersionId 是否非 null。

activeVersionIdstring是
createdAtstring是
updatedAtstring是
isArchivedboolean是
versionIdstring是
versionCounternumber是
sourceWorkflowIdstring是
triggerCountnumber是
nodesarray是

组成工作流的节点

展开字段
字段类型必填说明
nodes.[]idstring否
nodes.[]namestring否
nodes.[]webhookIdstring否
nodes.[]disabledboolean否
nodes.[]notesInFlowboolean否
nodes.[]notesstring否
nodes.[]typestring否
nodes.[]typeVersionnumber否
nodes.[]executeOnceboolean否
nodes.[]alwaysOutputDataboolean否
nodes.[]retryOnFailboolean否
nodes.[]maxTriesnumber否
nodes.[]waitBetweenTriesnumber否
nodes.[]continueOnFailboolean否

请改用 onError

nodes.[]onErrorstring否
nodes.[]positionarray否
nodes.[]parametersobject否
nodes.[]credentialsobject否
nodes.[]customTelemetryTagsobject否
展开字段
字段类型必填说明
nodes.[]customTelemetryTags.tagarray否
connectionsobject是

节点之间的连接,以源节点名称为键

nodeGroupsarray是

在画布上以框架显示的节点视觉分组

展开字段
字段类型必填说明
nodeGroups.[]idstring是

节点分组的唯一标识符

nodeGroups.[]namestring是

节点分组的显示名称

nodeGroups.[]descriptionstring否

节点分组的可选纯文本说明

nodeGroups.[]nodeIdsarray是

属于此分组的节点 ID

settingsobject是

工作流的执行和行为设置

展开字段
字段类型必填说明
settings.saveExecutionProgress联合类型否
展开字段

结构 1

结构 2

settings.saveManualExecutions联合类型否
展开字段

结构 1

结构 2

settings.saveDataErrorExecutionstring否

可选值:DEFAULT, all, none

settings.saveDataSuccessExecutionstring否

可选值:DEFAULT, all, none

settings.executionTimeoutnumber否
settings.errorWorkflowstring否

包含错误触发器节点的工作流 ID。

settings.timezonestring否
settings.executionOrderstring否
settings.binaryModestring否

控制如何从节点输入中解析二进制数据。这是内部派生设置,不应通过编程方式设置。工作流响应中会包含此项以供参考,但创建或更新工作流时传入的任何值都会被忽略。

可选值:separate, combined

settings.engineTypestring否

运行此工作流的执行引擎。工作流响应中会包含此项以供参考,但创建或更新工作流时传入的任何值都会被忽略。

settings.callerPolicystring否

控制哪些工作流可以通过 Execute Workflow 节点调用此工作流,默认为 workflowsFromSameOwner。

可选项:

  • any:任何工作流均可调用此工作流,不作限制。
  • none:其他工作流均不能调用此工作流,即完全阻止。
  • workflowsFromSameOwner(默认):仅属于同一项目的工作流可以调用此工作流。
  • workflowsFromAList:仅 callerIds 中列出的工作流可以调用此工作流。

可选值:any, none, workflowsFromAList, workflowsFromSameOwner

settings.callerIdsstring否

允许调用此工作流的工作流 ID 列表,以逗号分隔,仅在 workflowsFromAList 策略下使用

settings.timeSavedModestring否

控制每次执行节省时间的计算方式。

可选项:

  • fixed:使用 timeSavedPerExecution 的值,适用于每次执行节省时间相同的情况。
  • dynamic:根据实际执行指标计算节省时间,忽略 timeSavedPerExecution。

可选值:fixed, dynamic

settings.timeSavedPerExecutionnumber否

每次执行预计节省的时间,单位为分钟

settings.redactionPolicystring否

控制是否遮蔽此工作流的执行数据。

可选项:

  • none(默认):不遮蔽,存储所有执行数据。
  • non-manual:仅遮蔽生产执行,即非手动触发的执行。
  • manual-only:仅遮蔽手动触发的执行。
  • all:遮蔽手动和生产模式的全部执行。

可选值:none, non-manual, manual-only, all

settings.redactCallerExecutionsboolean否

控制将此工作流作为子工作流调用的工作流,是否也在相同通道上遮蔽其执行数据。调用方的执行记录会保留此工作流输出的副本。默认为 true,仅当此工作流的输出不敏感时才应关闭。此工作流从自身子工作流收到的遮蔽要求,始终会传递给调用方。

settings.availableInMCPboolean否

控制能否通过模型上下文协议(MCP)访问此工作流。默认为 false。工作流必须处于激活状态,且至少包含一个激活的 Webhook 节点。

settings.customTelemetryTagsarray否
展开字段
字段类型必填说明
settings.customTelemetryTags.[]keystring是
settings.customTelemetryTags.[]valuestring是
settings.credentialResolverIdstring否

为此工作流解析凭据的凭据解析器 ID。这是通过凭据解析器配置管理的内部派生设置,不应通过编程方式设置。工作流响应中会包含此项以供参考,但创建或更新工作流时传入的任何值都会被忽略。

staticDataobject是

工作流在执行之间保留的数据

pinDataobject否

节点的固定示例数据,以节点名称为键

metaobject是

工作流元数据,例如模板信息

展开字段
字段类型必填说明
meta.onboardingIdstring否
meta.templateIdstring否
meta.instanceIdstring否
meta.templateCredsSetupCompletedboolean否
tagsarray否
展开字段
字段类型必填说明
tags.[]idstring是

只读。

tags.[]namestring是
tags.[]createdAtstring是

只读。

tags.[]updatedAtstring是

只读。

sharedarray是
展开字段
字段类型必填说明
shared.[]rolestring是
shared.[]workflowIdstring是
shared.[]projectIdstring是
shared.[]projectobject是
展开字段
字段类型必填说明
shared.[]project.idstring是

只读。

shared.[]project.namestring是
shared.[]project.typestring是

可选值:personal, team

只读。

shared.[]project.iconobject是

项目图标;项目没有图标时为 null

shared.[]project.descriptionstring是
shared.[]project.customTelemetryTagsarray是
shared.[]project.creatorIdstring是
shared.[]project.createdAtstring是

只读。

shared.[]project.updatedAtstring是

只读。

shared.[]createdAtstring是
shared.[]updatedAtstring是
activeVersionobject是
展开字段
字段类型必填说明
activeVersion.versionIdstring是
activeVersion.workflowIdstring是
activeVersion.nodesarray是

组成工作流的节点

展开字段
字段类型必填说明
activeVersion.nodes.[]idstring否
activeVersion.nodes.[]namestring否
activeVersion.nodes.[]webhookIdstring否
activeVersion.nodes.[]disabledboolean否
activeVersion.nodes.[]notesInFlowboolean否
activeVersion.nodes.[]notesstring否
activeVersion.nodes.[]typestring否
activeVersion.nodes.[]typeVersionnumber否
activeVersion.nodes.[]executeOnceboolean否
activeVersion.nodes.[]alwaysOutputDataboolean否
activeVersion.nodes.[]retryOnFailboolean否
activeVersion.nodes.[]maxTriesnumber否
activeVersion.nodes.[]waitBetweenTriesnumber否
activeVersion.nodes.[]continueOnFailboolean否

请改用 onError

activeVersion.nodes.[]onErrorstring否
activeVersion.nodes.[]positionarray否
activeVersion.nodes.[]parametersobject否
activeVersion.nodes.[]credentialsobject否
activeVersion.nodes.[]customTelemetryTagsobject否
activeVersion.connectionsobject是

节点之间的连接,以源节点名称为键

activeVersion.nodeGroupsarray是

在画布上以框架显示的节点视觉分组

展开字段
字段类型必填说明
activeVersion.nodeGroups.[]idstring是

节点分组的唯一标识符

activeVersion.nodeGroups.[]namestring是

节点分组的显示名称

activeVersion.nodeGroups.[]descriptionstring否

节点分组的可选纯文本说明

activeVersion.nodeGroups.[]nodeIdsarray是

属于此分组的节点 ID

activeVersion.authorsstring是
activeVersion.namestring是
activeVersion.descriptionstring是
activeVersion.autosavedboolean是
activeVersion.createdAtstring是
activeVersion.updatedAtstring是
activeVersion.workflowPublishHistoryarray是
展开字段
字段类型必填说明
activeVersion.workflowPublishHistory.[]idnumber是
activeVersion.workflowPublishHistory.[]workflowIdstring是
activeVersion.workflowPublishHistory.[]versionIdstring是
activeVersion.workflowPublishHistory.[]eventstring是

可选值:activated, deactivated

activeVersion.workflowPublishHistory.[]userIdstring是
activeVersion.workflowPublishHistory.[]createdAtstring是

下载完整 OpenAPI 定义(JSON)

workflowPublishPublicDto.generated 对象 ​

字段类型必填说明
idstring是
namestring是
descriptionstring是
activeboolean是

已弃用。请改为检查 activeVersionId 是否非 null。

activeVersionIdstring是
createdAtstring是
updatedAtstring是
isArchivedboolean是
versionIdstring是
versionCounternumber是
sourceWorkflowIdstring是
triggerCountnumber是
nodesarray是

组成工作流的节点

展开字段
字段类型必填说明
nodes.[]idstring否
nodes.[]namestring否
nodes.[]webhookIdstring否
nodes.[]disabledboolean否
nodes.[]notesInFlowboolean否
nodes.[]notesstring否
nodes.[]typestring否
nodes.[]typeVersionnumber否
nodes.[]executeOnceboolean否
nodes.[]alwaysOutputDataboolean否
nodes.[]retryOnFailboolean否
nodes.[]maxTriesnumber否
nodes.[]waitBetweenTriesnumber否
nodes.[]continueOnFailboolean否

请改用 onError

nodes.[]onErrorstring否
nodes.[]positionarray否
nodes.[]parametersobject否
nodes.[]credentialsobject否
nodes.[]customTelemetryTagsobject否
展开字段
字段类型必填说明
nodes.[]customTelemetryTags.tagarray否
connectionsobject是

节点之间的连接,以源节点名称为键

nodeGroupsarray是

在画布上以框架显示的节点视觉分组

展开字段
字段类型必填说明
nodeGroups.[]idstring是

节点分组的唯一标识符

nodeGroups.[]namestring是

节点分组的显示名称

nodeGroups.[]descriptionstring否

节点分组的可选纯文本说明

nodeGroups.[]nodeIdsarray是

属于此分组的节点 ID

settingsobject是

工作流的执行和行为设置

展开字段
字段类型必填说明
settings.saveExecutionProgress联合类型否
展开字段

结构 1

结构 2

settings.saveManualExecutions联合类型否
展开字段

结构 1

结构 2

settings.saveDataErrorExecutionstring否

可选值:DEFAULT, all, none

settings.saveDataSuccessExecutionstring否

可选值:DEFAULT, all, none

settings.executionTimeoutnumber否
settings.errorWorkflowstring否

包含错误触发器节点的工作流 ID。

settings.timezonestring否
settings.executionOrderstring否
settings.binaryModestring否

控制如何从节点输入中解析二进制数据。这是内部派生设置,不应通过编程方式设置。工作流响应中会包含此项以供参考,但创建或更新工作流时传入的任何值都会被忽略。

可选值:separate, combined

settings.engineTypestring否

运行此工作流的执行引擎。工作流响应中会包含此项以供参考,但创建或更新工作流时传入的任何值都会被忽略。

settings.callerPolicystring否

控制哪些工作流可以通过 Execute Workflow 节点调用此工作流,默认为 workflowsFromSameOwner。

可选项:

  • any:任何工作流均可调用此工作流,不作限制。
  • none:其他工作流均不能调用此工作流,即完全阻止。
  • workflowsFromSameOwner(默认):仅属于同一项目的工作流可以调用此工作流。
  • workflowsFromAList:仅 callerIds 中列出的工作流可以调用此工作流。

可选值:any, none, workflowsFromAList, workflowsFromSameOwner

settings.callerIdsstring否

允许调用此工作流的工作流 ID 列表,以逗号分隔,仅在 workflowsFromAList 策略下使用

settings.timeSavedModestring否

控制每次执行节省时间的计算方式。

可选项:

  • fixed:使用 timeSavedPerExecution 的值,适用于每次执行节省时间相同的情况。
  • dynamic:根据实际执行指标计算节省时间,忽略 timeSavedPerExecution。

可选值:fixed, dynamic

settings.timeSavedPerExecutionnumber否

每次执行预计节省的时间,单位为分钟

settings.redactionPolicystring否

控制是否遮蔽此工作流的执行数据。

可选项:

  • none(默认):不遮蔽,存储所有执行数据。
  • non-manual:仅遮蔽生产执行,即非手动触发的执行。
  • manual-only:仅遮蔽手动触发的执行。
  • all:遮蔽手动和生产模式的全部执行。

可选值:none, non-manual, manual-only, all

settings.redactCallerExecutionsboolean否

控制将此工作流作为子工作流调用的工作流,是否也在相同通道上遮蔽其执行数据。调用方的执行记录会保留此工作流输出的副本。默认为 true,仅当此工作流的输出不敏感时才应关闭。此工作流从自身子工作流收到的遮蔽要求,始终会传递给调用方。

settings.availableInMCPboolean否

控制能否通过模型上下文协议(MCP)访问此工作流。默认为 false。工作流必须处于激活状态,且至少包含一个激活的 Webhook 节点。

settings.customTelemetryTagsarray否
展开字段
字段类型必填说明
settings.customTelemetryTags.[]keystring是
settings.customTelemetryTags.[]valuestring是
settings.credentialResolverIdstring否

为此工作流解析凭据的凭据解析器 ID。这是通过凭据解析器配置管理的内部派生设置,不应通过编程方式设置。工作流响应中会包含此项以供参考,但创建或更新工作流时传入的任何值都会被忽略。

staticDataobject是

工作流在执行之间保留的数据

pinDataobject否

节点的固定示例数据,以节点名称为键

metaobject是

工作流元数据,例如模板信息

展开字段
字段类型必填说明
meta.onboardingIdstring否
meta.templateIdstring否
meta.instanceIdstring否
meta.templateCredsSetupCompletedboolean否
tagsarray否
展开字段
字段类型必填说明
tags.[]idstring是

只读。

tags.[]namestring是
tags.[]createdAtstring是

只读。

tags.[]updatedAtstring是

只读。

activeVersionobject是
展开字段
字段类型必填说明
activeVersion.versionIdstring是
activeVersion.workflowIdstring是
activeVersion.nodesarray是

组成工作流的节点

展开字段
字段类型必填说明
activeVersion.nodes.[]idstring否
activeVersion.nodes.[]namestring否
activeVersion.nodes.[]webhookIdstring否
activeVersion.nodes.[]disabledboolean否
activeVersion.nodes.[]notesInFlowboolean否
activeVersion.nodes.[]notesstring否
activeVersion.nodes.[]typestring否
activeVersion.nodes.[]typeVersionnumber否
activeVersion.nodes.[]executeOnceboolean否
activeVersion.nodes.[]alwaysOutputDataboolean否
activeVersion.nodes.[]retryOnFailboolean否
activeVersion.nodes.[]maxTriesnumber否
activeVersion.nodes.[]waitBetweenTriesnumber否
activeVersion.nodes.[]continueOnFailboolean否

请改用 onError

activeVersion.nodes.[]onErrorstring否
activeVersion.nodes.[]positionarray否
activeVersion.nodes.[]parametersobject否
activeVersion.nodes.[]credentialsobject否
activeVersion.nodes.[]customTelemetryTagsobject否
activeVersion.connectionsobject是

节点之间的连接,以源节点名称为键

activeVersion.nodeGroupsarray是

在画布上以框架显示的节点视觉分组

展开字段
字段类型必填说明
activeVersion.nodeGroups.[]idstring是

节点分组的唯一标识符

activeVersion.nodeGroups.[]namestring是

节点分组的显示名称

activeVersion.nodeGroups.[]descriptionstring否

节点分组的可选纯文本说明

activeVersion.nodeGroups.[]nodeIdsarray是

属于此分组的节点 ID

activeVersion.authorsstring是
activeVersion.namestring是
activeVersion.descriptionstring是
activeVersion.autosavedboolean是
activeVersion.createdAtstring是
activeVersion.updatedAtstring是
activeVersion.workflowPublishHistoryarray是
展开字段
字段类型必填说明
activeVersion.workflowPublishHistory.[]idnumber是
activeVersion.workflowPublishHistory.[]workflowIdstring是
activeVersion.workflowPublishHistory.[]versionIdstring是
activeVersion.workflowPublishHistory.[]eventstring是

可选值:activated, deactivated

activeVersion.workflowPublishHistory.[]userIdstring是
activeVersion.workflowPublishHistory.[]createdAtstring是

下载完整 OpenAPI 定义(JSON)

workflowTagsPublicDto.generated 对象 ​

字段类型必填说明
[]idstring是

只读。

[]namestring是
[]createdAtstring是

只读。

[]updatedAtstring是

只读。

下载完整 OpenAPI 定义(JSON)

本文为社区中文翻译。查看对应英文原文