DifyWorkflowRunData
Possible values: [running, succeeded, failed, stopped]
outputs objectrequired
Returns the current output protocol on success, with the user visible content in the items array.
items object[]required
Original output content. contentType: json can be an object or an array, and does not need to be stringify in advance;contentType: audio uses {src,mimeType,name,size,durationMs?,format?}.
Possible values: [info, success, warning, error, note, code, list, quote, none]
Possible values: [markdown, text, json, audio]
metadata object
Output item metadata. The management-side playback preview contains previewTruncated: true, previewLimit, and fullContentIn: detail-log when truncated.
Output item metadata. The management-side playback preview contains previewTruncated: true, previewLimit, and fullContentIn: detail-log when truncated.
{
"id": "string",
"workflow_id": "string",
"entrypoint_id": "string",
"entrypoint_title": "string",
"status": "running",
"outputs": {
"errCode": 0,
"errMessage": "string",
"items": [
{
"id": "string",
"title": "string",
"icon": "string",
"iconPreset": "info",
"contentType": "markdown",
"collapsed": true,
"metadata": {}
}
]
},
"error": "string",
"elapsed_time": 0,
"total_tokens": 0,
"total_steps": 0,
"created_at": 0,
"finished_at": 0,
"conversation_id": "string"
}