diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index bdb8c9b5..3d523741 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." } } }, @@ -13026,7 +13057,6 @@ } }, "model": { - "description": "These are the options for the workflow's LLM.", "oneOf": [ { "$ref": "#/components/schemas/WorkflowOpenAIModel", @@ -13047,6 +13077,10 @@ "items": { "$ref": "#/components/schemas/Edge" } + }, + "globalPrompt": { + "type": "string", + "maxLength": 5000 } }, "required": [ @@ -20595,7 +20629,6 @@ } }, "model": { - "description": "These are the options for the workflow's LLM.", "oneOf": [ { "$ref": "#/components/schemas/WorkflowOpenAIModel", @@ -20616,6 +20649,10 @@ "items": { "$ref": "#/components/schemas/Edge" } + }, + "globalPrompt": { + "type": "string", + "maxLength": 5000 } }, "required": [ @@ -21056,6 +21093,7 @@ "call.in-progress.error-vapifault-transport-never-connected", "call.in-progress.error-vapifault-transport-connected-but-call-not-active", "call.in-progress.error-vapifault-call-started-but-connection-to-transport-missing", + "call.in-progress.error-vapifault-worker-died", "call.in-progress.error-vapifault-openai-llm-failed", "call.in-progress.error-vapifault-azure-openai-llm-failed", "call.in-progress.error-vapifault-groq-llm-failed", @@ -21443,7 +21481,12 @@ "phone-call-provider-closed-websocket", "call.forwarding.operator-busy", "silence-timed-out", - "call.in-progress.error-sip-telephony-provider-failed-to-connect-call", + "call.in-progress.error-sip-inbound-call-failed-to-connect", + "call.in-progress.error-providerfault-outbound-sip-403-forbidden", + "call.in-progress.error-providerfault-outbound-sip-407-proxy-authentication-required", + "call.in-progress.error-providerfault-outbound-sip-503-service-unavailable", + "call.in-progress.error-providerfault-outbound-sip-480-temporarily-unavailable", + "call.in-progress.error-sip-outbound-call-failed-to-connect", "call.ringing.hook-executed-say", "call.ringing.hook-executed-transfer", "twilio-failed-to-connect-call", @@ -22923,12 +22966,19 @@ "maxLength": 40 }, "status": { + "type": "string", "description": "This is the current status of the session. Can be either 'active' or 'completed'.", "enum": [ "active", "completed" - ], - "type": "string" + ] + }, + "expirationSeconds": { + "type": "number", + "description": "Session expiration time in seconds. Defaults to 24 hours (86400 seconds) if not set.", + "minimum": 60, + "maximum": 2592000, + "example": 86400 }, "assistantId": { "type": "string", @@ -23007,12 +23057,19 @@ "maxLength": 40 }, "status": { + "type": "string", "description": "This is the current status of the session. Can be either 'active' or 'completed'.", "enum": [ "active", "completed" - ], - "type": "string" + ] + }, + "expirationSeconds": { + "type": "number", + "description": "Session expiration time in seconds. Defaults to 24 hours (86400 seconds) if not set.", + "minimum": 60, + "maximum": 2592000, + "example": 86400 }, "assistantId": { "type": "string", @@ -23085,12 +23142,19 @@ "maxLength": 40 }, "status": { + "type": "string", "description": "This is the new status for the session.", "enum": [ "active", "completed" - ], - "type": "string" + ] + }, + "expirationSeconds": { + "type": "number", + "description": "Session expiration time in seconds. Defaults to 24 hours (86400 seconds) if not set.", + "minimum": 60, + "maximum": 2592000, + "example": 86400 }, "messages": { "type": "array", @@ -29577,7 +29641,6 @@ } }, "model": { - "description": "These are the options for the workflow's LLM.", "oneOf": [ { "$ref": "#/components/schemas/WorkflowOpenAIModel", @@ -29612,6 +29675,10 @@ "items": { "$ref": "#/components/schemas/Edge" } + }, + "globalPrompt": { + "type": "string", + "maxLength": 5000 } }, "required": [ @@ -29643,7 +29710,6 @@ } }, "model": { - "description": "These are the options for the workflow's LLM.", "oneOf": [ { "$ref": "#/components/schemas/WorkflowOpenAIModel", @@ -29664,6 +29730,10 @@ "items": { "$ref": "#/components/schemas/Edge" } + }, + "globalPrompt": { + "type": "string", + "maxLength": 5000 } } }, @@ -38088,6 +38158,7 @@ "call.in-progress.error-vapifault-transport-never-connected", "call.in-progress.error-vapifault-transport-connected-but-call-not-active", "call.in-progress.error-vapifault-call-started-but-connection-to-transport-missing", + "call.in-progress.error-vapifault-worker-died", "call.in-progress.error-vapifault-openai-llm-failed", "call.in-progress.error-vapifault-azure-openai-llm-failed", "call.in-progress.error-vapifault-groq-llm-failed", @@ -38475,7 +38546,12 @@ "phone-call-provider-closed-websocket", "call.forwarding.operator-busy", "silence-timed-out", - "call.in-progress.error-sip-telephony-provider-failed-to-connect-call", + "call.in-progress.error-sip-inbound-call-failed-to-connect", + "call.in-progress.error-providerfault-outbound-sip-403-forbidden", + "call.in-progress.error-providerfault-outbound-sip-407-proxy-authentication-required", + "call.in-progress.error-providerfault-outbound-sip-503-service-unavailable", + "call.in-progress.error-providerfault-outbound-sip-480-temporarily-unavailable", + "call.in-progress.error-sip-outbound-call-failed-to-connect", "call.ringing.hook-executed-say", "call.ringing.hook-executed-transfer", "twilio-failed-to-connect-call", @@ -39199,6 +39275,7 @@ "call.in-progress.error-vapifault-transport-never-connected", "call.in-progress.error-vapifault-transport-connected-but-call-not-active", "call.in-progress.error-vapifault-call-started-but-connection-to-transport-missing", + "call.in-progress.error-vapifault-worker-died", "call.in-progress.error-vapifault-openai-llm-failed", "call.in-progress.error-vapifault-azure-openai-llm-failed", "call.in-progress.error-vapifault-groq-llm-failed", @@ -39586,7 +39663,12 @@ "phone-call-provider-closed-websocket", "call.forwarding.operator-busy", "silence-timed-out", - "call.in-progress.error-sip-telephony-provider-failed-to-connect-call", + "call.in-progress.error-sip-inbound-call-failed-to-connect", + "call.in-progress.error-providerfault-outbound-sip-403-forbidden", + "call.in-progress.error-providerfault-outbound-sip-407-proxy-authentication-required", + "call.in-progress.error-providerfault-outbound-sip-503-service-unavailable", + "call.in-progress.error-providerfault-outbound-sip-480-temporarily-unavailable", + "call.in-progress.error-sip-outbound-call-failed-to-connect", "call.ringing.hook-executed-say", "call.ringing.hook-executed-transfer", "twilio-failed-to-connect-call",