Skip to main content
The API allows you to describe flow nodes through the API. When creating/updating a versioned prompt, you want to specify an object that conforms to the appropriate schema in the nodeData field. If you want to use the output of a previous node in a future node, you can reference it by using double curly braces. For example, if you have a node with the ID node_1 and you want to use the output of node_1 in node_2, you can reference it as {{node.node_1.output}} in any string field. The notation to lookup any data is {{node.node_id.field_name}}.

Function Call

Type:
function_call
Schema:

Question

Type:
question
Schema:

Freeform

Type:
freeform
Schema: