SubmitWorkflowUserInputResponse
0data objectrequired
Possible values: [waiting, running, waiting_for_input, success, failed, aborted, timed_out]
result objectrequired
Workflow 实际运行的入口 ID;Conversation 与旧记录可省略。
运行创建时快照的入口标题;历史展示不随后续源码标题变化。
仅定时运行存在,表示该 run 由调度器创建。
Possible values: [schedule]
run 创建时快照的计划名称。
Possible values: [window-interval, cron]
external object
记录 run 的客户端或外部入口来源。Desktop、External Run API、Embed
和 Webhook 都会写入 source,方便执行日志、KV 关联和回放区分来源。
OpenAI Responses 调用还会完整保存标准化请求与终态 Response;完整认证
Key 不进入记录,apiKeyId 与 apiKeyName 仅标识 Key ID 和前缀。
Possible values: [external, embed, webhook, desktop, schedule, mcp]
actorProfile object
Optional email address for the profile summary.
Optional avatar image URL or data URL for the uploader profile.
openai.responsesinputs object
Possible values: [blocking, streaming]
openai object
request objectrequired
Possible values: non-empty
input objectrequired
- string
- object[]
Possible values: non-empty
Possible values: non-empty
Possible values: >= 0 and <= 2
Possible values: >= 0 and <= 1
Possible values: >= 1
text object
format object
textPossible values: [low, medium, high]
Possible values: [reasoning.encrypted_content]
truefalsefalse继续一个状态为 completed 或 incomplete 且仍保留的 Response。
Possible values: Value must match regular expression ^resp_
conversation object
- string
- object
Possible values: Value must match regular expression ^conv_
metadata object
Possible values: <= 512 characters
response objectrequired
Possible values: Value must match regular expression ^resp_
response仅当状态为 completed 时填写 Unix 秒时间戳;其它状态为 null。
Possible values: [queued, in_progress, completed, failed, cancelled, incomplete]
error objectrequired
- null
- object
incomplete_details objectrequired
- null
- object
output object[]required
Possible values: Value must match regular expression ^msg_
messagePossible values: [user, assistant, system, developer]
content objectrequired
- string
- object[]
Possible values: non-empty
Possible values: [in_progress, completed, incomplete]
falseconversation objectrequired
- null
- object
metadata objectrequired
Possible values: <= 512 characters
autoreasoning objectrequired
text objectrequired
format objectrequired
textPossible values: [low, medium, high]
disabledusage objectrequired
- null
- OpenAIResponseUsage
webhook object
headers object
Possible values: [waiting, running, waiting_for_input, success, failed, aborted, timed_out]
pendingUserInput object
与所选 Workflow entrypoint(Conversation 则为 executor)的 params 相同的 WorkflowParamDefinition 数组。
defaultValues object
metadata object
resolvedUserInputs object[]
values objectrequired
report objectrequired
执行报告;定时运行包含计划和 fire 快照,output 节点使用 outputs[].output.items 和 result.data.output.items,等待用户输入时包含 pendingUserInput,业务计时卡片使用 timers。
Possible values: [schedule]
Possible values: [window-interval, cron]
执行报告;定时运行包含计划和 fire 快照,output 节点使用 outputs[].output.items 和 result.data.output.items,等待用户输入时包含 pendingUserInput,业务计时卡片使用 timers。
{
"errCode": 0,
"errMessage": "string",
"data": {
"runId": "string",
"workflowName": "string",
"status": "waiting",
"requestId": "string",
"result": {
"runId": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"conversationId": "string",
"target": "string",
"resolvedTarget": "string",
"entrypointId": "string",
"entrypointTitle": "string",
"source": "schedule",
"scheduleId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"scheduleName": "string",
"fireId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"scheduledFor": "2024-07-29T15:51:28.071Z",
"triggerKind": "window-interval",
"args": [
"string"
],
"external": {
"source": "external",
"principalKind": "string",
"actorType": "string",
"actorUserId": "string",
"actorProfileId": "string",
"actorDisplayName": "string",
"actorProfile": {
"userId": "string",
"displayName": "string",
"email": "string",
"avatarUrl": "string"
},
"apiKeyId": "string",
"apiKeyName": "string",
"protocol": "openai.responses",
"user": "string",
"conversationId": "string",
"inputs": {},
"files": [
null
],
"responseMode": "blocking",
"openai": {
"request": {
"model": "string",
"input": "string",
"instructions": "string",
"temperature": 0,
"top_p": 0,
"max_output_tokens": 0,
"text": {
"format": {
"type": "text"
},
"verbosity": "low"
},
"include": [
"reasoning.encrypted_content"
],
"store": true,
"stream": false,
"background": false,
"previous_response_id": "string",
"conversation": "string",
"metadata": {}
},
"response": {
"id": "string",
"object": "response",
"created_at": 0,
"completed_at": 0,
"status": "queued",
"background": true,
"error": "null",
"incomplete_details": "null",
"instructions": "string",
"max_output_tokens": 0,
"max_tool_calls": "null",
"model": "string",
"output": [
{
"id": "string",
"type": "message",
"role": "user",
"content": "string",
"status": "in_progress"
}
],
"parallel_tool_calls": true,
"previous_response_id": "string",
"conversation": "null",
"metadata": {},
"store": true,
"temperature": 0,
"top_p": 0,
"tools": [
null
],
"tool_choice": "auto",
"reasoning": {},
"text": {
"format": {
"type": "text"
},
"verbosity": "low"
},
"truncation": "disabled",
"user": "null",
"usage": "null"
}
},
"webhook": {
"workflowName": "string",
"requestId": "string",
"target": "string",
"resolvedTarget": "string",
"headers": {}
}
},
"debugNode": "string",
"status": "waiting",
"durationMs": 0,
"stdout": "string",
"stderr": "string",
"exitCode": 0,
"pendingUserInput": {
"requestId": "string",
"nodeName": "string",
"title": "string",
"description": "string",
"params": [
{}
],
"defaultValues": {},
"metadata": {},
"createdAt": "2024-07-29T15:51:28.071Z"
},
"resolvedUserInputs": [
{
"requestId": "string",
"nodeName": "string",
"values": {},
"submittedAt": "2024-07-29T15:51:28.071Z"
}
],
"report": {
"source": "schedule",
"scheduleId": "string",
"scheduleName": "string",
"fireId": "string",
"scheduledFor": "2024-07-29T15:51:28.071Z",
"triggerKind": "window-interval"
}
}
}
}