|
5470 | 5470 | }
|
5471 | 5471 | }
|
5472 | 5472 | },
|
| 5473 | + "NodeArtifact": { |
| 5474 | + "type": "object", |
| 5475 | + "properties": { |
| 5476 | + "nodeName": { |
| 5477 | + "type": "string", |
| 5478 | + "description": "This is the node id." |
| 5479 | + }, |
| 5480 | + "messages": { |
| 5481 | + "description": "This is the messages that were spoken during the node.", |
| 5482 | + "type": "array", |
| 5483 | + "items": { |
| 5484 | + "type": "object" |
| 5485 | + } |
| 5486 | + }, |
| 5487 | + "variables": { |
| 5488 | + "type": "object", |
| 5489 | + "description": "This is the object containing the variables extracted from the node." |
| 5490 | + } |
| 5491 | + } |
| 5492 | + }, |
5473 | 5493 | "Artifact": {
|
5474 | 5494 | "type": "object",
|
5475 | 5495 | "properties": {
|
|
5543 | 5563 | "pcapUrl": {
|
5544 | 5564 | "type": "string",
|
5545 | 5565 | "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`."
|
| 5566 | + }, |
| 5567 | + "nodes": { |
| 5568 | + "description": "This is the history of workflow nodes that were executed during the call.", |
| 5569 | + "type": "array", |
| 5570 | + "items": { |
| 5571 | + "$ref": "#/components/schemas/NodeArtifact" |
| 5572 | + } |
| 5573 | + }, |
| 5574 | + "variables": { |
| 5575 | + "type": "object", |
| 5576 | + "description": "This is the state of variables at the end of the workflow execution." |
5546 | 5577 | }
|
5547 | 5578 | }
|
5548 | 5579 | },
|
|
8606 | 8637 | "type": "string"
|
8607 | 8638 | }
|
8608 | 8639 | },
|
8609 |
| - "regex": { |
8610 |
| - "type": "string", |
8611 |
| - "description": "This is a regex that will be used to validate data in question." |
8612 |
| - }, |
8613 | 8640 | "value": {
|
8614 | 8641 | "type": "string",
|
8615 | 8642 | "description": "This the value that will be used in filling the property."
|
|
11923 | 11950 | ]
|
11924 | 11951 | }
|
11925 | 11952 | },
|
| 11953 | + "toolStrictCompatibilityMode": { |
| 11954 | + "type": "string", |
| 11955 | + "description": "Azure OpenAI doesn't support `maxLength` right now https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/structured-outputs?tabs=python-secure%2Cdotnet-entra-id&pivots=programming-language-csharp#unsupported-type-specific-keywords. Need to strip.\n\n- `strip-parameters-with-unsupported-validation` will strip parameters with unsupported validation.\n- `strip-unsupported-validation` will keep the parameters but strip unsupported validation.\n\n@default `strip-unsupported-validation`", |
| 11956 | + "enum": [ |
| 11957 | + "strip-parameters-with-unsupported-validation", |
| 11958 | + "strip-unsupported-validation" |
| 11959 | + ] |
| 11960 | + }, |
11926 | 11961 | "temperature": {
|
11927 | 11962 | "type": "number",
|
11928 | 11963 | "description": "This is the temperature that will be used for calls. Default is 0 to leverage caching for lower latency.",
|
|
13026 | 13061 | }
|
13027 | 13062 | },
|
13028 | 13063 | "model": {
|
13029 |
| - "description": "These are the options for the workflow's LLM.", |
13030 | 13064 | "oneOf": [
|
13031 | 13065 | {
|
13032 | 13066 | "$ref": "#/components/schemas/WorkflowOpenAIModel",
|
|
13047 | 13081 | "items": {
|
13048 | 13082 | "$ref": "#/components/schemas/Edge"
|
13049 | 13083 | }
|
| 13084 | + }, |
| 13085 | + "globalPrompt": { |
| 13086 | + "type": "string", |
| 13087 | + "maxLength": 5000 |
13050 | 13088 | }
|
13051 | 13089 | },
|
13052 | 13090 | "required": [
|
|
20595 | 20633 | }
|
20596 | 20634 | },
|
20597 | 20635 | "model": {
|
20598 |
| - "description": "These are the options for the workflow's LLM.", |
20599 | 20636 | "oneOf": [
|
20600 | 20637 | {
|
20601 | 20638 | "$ref": "#/components/schemas/WorkflowOpenAIModel",
|
|
20616 | 20653 | "items": {
|
20617 | 20654 | "$ref": "#/components/schemas/Edge"
|
20618 | 20655 | }
|
| 20656 | + }, |
| 20657 | + "globalPrompt": { |
| 20658 | + "type": "string", |
| 20659 | + "maxLength": 5000 |
20619 | 20660 | }
|
20620 | 20661 | },
|
20621 | 20662 | "required": [
|
|
21056 | 21097 | "call.in-progress.error-vapifault-transport-never-connected",
|
21057 | 21098 | "call.in-progress.error-vapifault-transport-connected-but-call-not-active",
|
21058 | 21099 | "call.in-progress.error-vapifault-call-started-but-connection-to-transport-missing",
|
| 21100 | + "call.in-progress.error-vapifault-worker-died", |
21059 | 21101 | "call.in-progress.error-vapifault-openai-llm-failed",
|
21060 | 21102 | "call.in-progress.error-vapifault-azure-openai-llm-failed",
|
21061 | 21103 | "call.in-progress.error-vapifault-groq-llm-failed",
|
|
21443 | 21485 | "phone-call-provider-closed-websocket",
|
21444 | 21486 | "call.forwarding.operator-busy",
|
21445 | 21487 | "silence-timed-out",
|
21446 |
| - "call.in-progress.error-sip-telephony-provider-failed-to-connect-call", |
| 21488 | + "call.in-progress.error-sip-inbound-call-failed-to-connect", |
| 21489 | + "call.in-progress.error-providerfault-outbound-sip-403-forbidden", |
| 21490 | + "call.in-progress.error-providerfault-outbound-sip-407-proxy-authentication-required", |
| 21491 | + "call.in-progress.error-providerfault-outbound-sip-503-service-unavailable", |
| 21492 | + "call.in-progress.error-providerfault-outbound-sip-480-temporarily-unavailable", |
| 21493 | + "call.in-progress.error-sip-outbound-call-failed-to-connect", |
21447 | 21494 | "call.ringing.hook-executed-say",
|
21448 | 21495 | "call.ringing.hook-executed-transfer",
|
21449 | 21496 | "twilio-failed-to-connect-call",
|
@@ -22923,12 +22970,19 @@
|
22923 | 22970 | "maxLength": 40
|
22924 | 22971 | },
|
22925 | 22972 | "status": {
|
| 22973 | + "type": "string", |
22926 | 22974 | "description": "This is the current status of the session. Can be either 'active' or 'completed'.",
|
22927 | 22975 | "enum": [
|
22928 | 22976 | "active",
|
22929 | 22977 | "completed"
|
22930 |
| - ], |
22931 |
| - "type": "string" |
| 22978 | + ] |
| 22979 | + }, |
| 22980 | + "expirationSeconds": { |
| 22981 | + "type": "number", |
| 22982 | + "description": "Session expiration time in seconds. Defaults to 24 hours (86400 seconds) if not set.", |
| 22983 | + "minimum": 60, |
| 22984 | + "maximum": 2592000, |
| 22985 | + "example": 86400 |
22932 | 22986 | },
|
22933 | 22987 | "assistantId": {
|
22934 | 22988 | "type": "string",
|
@@ -23007,12 +23061,19 @@
|
23007 | 23061 | "maxLength": 40
|
23008 | 23062 | },
|
23009 | 23063 | "status": {
|
| 23064 | + "type": "string", |
23010 | 23065 | "description": "This is the current status of the session. Can be either 'active' or 'completed'.",
|
23011 | 23066 | "enum": [
|
23012 | 23067 | "active",
|
23013 | 23068 | "completed"
|
23014 |
| - ], |
23015 |
| - "type": "string" |
| 23069 | + ] |
| 23070 | + }, |
| 23071 | + "expirationSeconds": { |
| 23072 | + "type": "number", |
| 23073 | + "description": "Session expiration time in seconds. Defaults to 24 hours (86400 seconds) if not set.", |
| 23074 | + "minimum": 60, |
| 23075 | + "maximum": 2592000, |
| 23076 | + "example": 86400 |
23016 | 23077 | },
|
23017 | 23078 | "assistantId": {
|
23018 | 23079 | "type": "string",
|
@@ -23085,12 +23146,19 @@
|
23085 | 23146 | "maxLength": 40
|
23086 | 23147 | },
|
23087 | 23148 | "status": {
|
| 23149 | + "type": "string", |
23088 | 23150 | "description": "This is the new status for the session.",
|
23089 | 23151 | "enum": [
|
23090 | 23152 | "active",
|
23091 | 23153 | "completed"
|
23092 |
| - ], |
23093 |
| - "type": "string" |
| 23154 | + ] |
| 23155 | + }, |
| 23156 | + "expirationSeconds": { |
| 23157 | + "type": "number", |
| 23158 | + "description": "Session expiration time in seconds. Defaults to 24 hours (86400 seconds) if not set.", |
| 23159 | + "minimum": 60, |
| 23160 | + "maximum": 2592000, |
| 23161 | + "example": 86400 |
23094 | 23162 | },
|
23095 | 23163 | "messages": {
|
23096 | 23164 | "type": "array",
|
|
29577 | 29645 | }
|
29578 | 29646 | },
|
29579 | 29647 | "model": {
|
29580 |
| - "description": "These are the options for the workflow's LLM.", |
29581 | 29648 | "oneOf": [
|
29582 | 29649 | {
|
29583 | 29650 | "$ref": "#/components/schemas/WorkflowOpenAIModel",
|
|
29612 | 29679 | "items": {
|
29613 | 29680 | "$ref": "#/components/schemas/Edge"
|
29614 | 29681 | }
|
| 29682 | + }, |
| 29683 | + "globalPrompt": { |
| 29684 | + "type": "string", |
| 29685 | + "maxLength": 5000 |
29615 | 29686 | }
|
29616 | 29687 | },
|
29617 | 29688 | "required": [
|
|
29643 | 29714 | }
|
29644 | 29715 | },
|
29645 | 29716 | "model": {
|
29646 |
| - "description": "These are the options for the workflow's LLM.", |
29647 | 29717 | "oneOf": [
|
29648 | 29718 | {
|
29649 | 29719 | "$ref": "#/components/schemas/WorkflowOpenAIModel",
|
|
29664 | 29734 | "items": {
|
29665 | 29735 | "$ref": "#/components/schemas/Edge"
|
29666 | 29736 | }
|
| 29737 | + }, |
| 29738 | + "globalPrompt": { |
| 29739 | + "type": "string", |
| 29740 | + "maxLength": 5000 |
29667 | 29741 | }
|
29668 | 29742 | }
|
29669 | 29743 | },
|
|
38088 | 38162 | "call.in-progress.error-vapifault-transport-never-connected",
|
38089 | 38163 | "call.in-progress.error-vapifault-transport-connected-but-call-not-active",
|
38090 | 38164 | "call.in-progress.error-vapifault-call-started-but-connection-to-transport-missing",
|
| 38165 | + "call.in-progress.error-vapifault-worker-died", |
38091 | 38166 | "call.in-progress.error-vapifault-openai-llm-failed",
|
38092 | 38167 | "call.in-progress.error-vapifault-azure-openai-llm-failed",
|
38093 | 38168 | "call.in-progress.error-vapifault-groq-llm-failed",
|
|
38475 | 38550 | "phone-call-provider-closed-websocket",
|
38476 | 38551 | "call.forwarding.operator-busy",
|
38477 | 38552 | "silence-timed-out",
|
38478 |
| - "call.in-progress.error-sip-telephony-provider-failed-to-connect-call", |
| 38553 | + "call.in-progress.error-sip-inbound-call-failed-to-connect", |
| 38554 | + "call.in-progress.error-providerfault-outbound-sip-403-forbidden", |
| 38555 | + "call.in-progress.error-providerfault-outbound-sip-407-proxy-authentication-required", |
| 38556 | + "call.in-progress.error-providerfault-outbound-sip-503-service-unavailable", |
| 38557 | + "call.in-progress.error-providerfault-outbound-sip-480-temporarily-unavailable", |
| 38558 | + "call.in-progress.error-sip-outbound-call-failed-to-connect", |
38479 | 38559 | "call.ringing.hook-executed-say",
|
38480 | 38560 | "call.ringing.hook-executed-transfer",
|
38481 | 38561 | "twilio-failed-to-connect-call",
|
|
39199 | 39279 | "call.in-progress.error-vapifault-transport-never-connected",
|
39200 | 39280 | "call.in-progress.error-vapifault-transport-connected-but-call-not-active",
|
39201 | 39281 | "call.in-progress.error-vapifault-call-started-but-connection-to-transport-missing",
|
| 39282 | + "call.in-progress.error-vapifault-worker-died", |
39202 | 39283 | "call.in-progress.error-vapifault-openai-llm-failed",
|
39203 | 39284 | "call.in-progress.error-vapifault-azure-openai-llm-failed",
|
39204 | 39285 | "call.in-progress.error-vapifault-groq-llm-failed",
|
|
39586 | 39667 | "phone-call-provider-closed-websocket",
|
39587 | 39668 | "call.forwarding.operator-busy",
|
39588 | 39669 | "silence-timed-out",
|
39589 |
| - "call.in-progress.error-sip-telephony-provider-failed-to-connect-call", |
| 39670 | + "call.in-progress.error-sip-inbound-call-failed-to-connect", |
| 39671 | + "call.in-progress.error-providerfault-outbound-sip-403-forbidden", |
| 39672 | + "call.in-progress.error-providerfault-outbound-sip-407-proxy-authentication-required", |
| 39673 | + "call.in-progress.error-providerfault-outbound-sip-503-service-unavailable", |
| 39674 | + "call.in-progress.error-providerfault-outbound-sip-480-temporarily-unavailable", |
| 39675 | + "call.in-progress.error-sip-outbound-call-failed-to-connect", |
39590 | 39676 | "call.ringing.hook-executed-say",
|
39591 | 39677 | "call.ringing.hook-executed-transfer",
|
39592 | 39678 | "twilio-failed-to-connect-call",
|
|
0 commit comments