Save Workflow Results

Persist the workflow output for further tasks.

Save the results of a workflow

You can save the workflow result (the output of the final step) directly to many target location via the following endpoint by changing the type parameter. The details for input parameters can be found in the table below:

Parameter
Type
Description

runTaskId

string

The run task id that you want to save the results of

type

enum

allowed values are convo, note, knowledge_base, insight_graph

convoId

string | null

The target dataroom to save, required if type is convo

knowledgeBases

string[] | null

The target databases slug to contribute, required if type is knowledge_base

typeInsightGraphType

enum

allowed values are STATUS_QUO, VISION, LEGACY, required if type is insight_graph

Save Run Task Output To Note

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
runTaskIdstringOptionalDefault: ""
convoIdany ofOptional
stringOptional
or
nullOptional
knowledgeBasesany ofOptional
or
nullOptional
typestring ยท enumOptionalDefault: convoPossible values:
typeInsightGraphTypeany ofOptional
string ยท enumOptionalPossible values:
or
nullOptional
Responses
200

Successful Response

application/json
post
/cortex/executor/save-run-task-output

Last updated

Was this helpful?