WorkflowOutputPayload
errCodeintegerrequired
errMessagestringrequired
items object[]required
Array [
idstringrequired
titlestringrequired
contentrequired
原始输出内容。contentType: json 时可以是对象或数组,不需要提前 stringify;contentType: audio 时使用 {src,mimeType,name,size,durationMs?,format?}。
iconstring
iconPresetstring
Possible values: [info, success, warning, error, note, code, list, quote, none]
contentTypestring
Possible values: [markdown, text, json, audio]
collapsedboolean
metadata object
输出项元数据。管理端回放预览被截断时会包含 previewTruncated: true、previewLimit 和 fullContentIn: detail-log。
property name*any
输出项元数据。管理端回放预览被截断时会包含 previewTruncated: true、previewLimit 和 fullContentIn: detail-log。
]
WorkflowOutputPayload
{
"errCode": 0,
"errMessage": "string",
"items": [
{
"id": "string",
"title": "string",
"icon": "string",
"iconPreset": "info",
"contentType": "markdown",
"collapsed": true,
"metadata": {}
}
]
}