Skip to main content

WorkflowOutputPayload

errCodeintegerrequired
errMessagestringrequired
items object[]required
  • Array [
  • idstringrequired
    titlestringrequired
    contentrequired

    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?}.

    iconstring
    iconPresetstring

    Possible values: [info, success, warning, error, note, code, list, quote, none]

    contentTypestring

    Possible values: [markdown, text, json, audio]

    collapsedboolean
    metadata object

    Output item metadata. The management-side playback preview contains previewTruncated: true, previewLimit, and fullContentIn: detail-log when truncated.

    property name*any

    Output item metadata. The management-side playback preview contains previewTruncated: true, previewLimit, and fullContentIn: detail-log when truncated.

  • ]
  • WorkflowOutputPayload
    {
    "errCode": 0,
    "errMessage": "string",
    "items": [
    {
    "id": "string",
    "title": "string",
    "icon": "string",
    "iconPreset": "info",
    "contentType": "markdown",
    "collapsed": true,
    "metadata": {}
    }
    ]
    }