diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index bdb8c9b5..480fd902 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -5470,6 +5470,26 @@ } } }, + "NodeArtifact": { + "type": "object", + "properties": { + "nodeName": { + "type": "string", + "description": "This is the node id." + }, + "messages": { + "description": "This is the messages that were spoken during the node.", + "type": "array", + "items": { + "type": "object" + } + }, + "variables": { + "type": "object", + "description": "This is the object containing the variables extracted from the node." + } + } + }, "Artifact": { "type": "object", "properties": { @@ -5543,6 +5563,17 @@ "pcapUrl": { "type": "string", "description": "This is the packet capture url for the call. This is only available for `phone` type calls where phone number's provider is `vapi` or `byo-phone-number`." + }, + "nodes": { + "description": "This is the history of workflow nodes that were executed during the call.", + "type": "array", + "items": { + "$ref": "#/components/schemas/NodeArtifact" + } + }, + "variables": { + "type": "object", + "description": "This is the state of variables at the end of the workflow execution." } } },