Skip to content

Update API specifications with fern api update #458

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 95 additions & 13 deletions fern/apis/api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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."
}
}
},
Expand Down Expand Up @@ -13026,7 +13057,6 @@
}
},
"model": {
"description": "These are the options for the workflow's LLM.",
"oneOf": [
{
"$ref": "#/components/schemas/WorkflowOpenAIModel",
Expand All @@ -13047,6 +13077,10 @@
"items": {
"$ref": "#/components/schemas/Edge"
}
},
"globalPrompt": {
"type": "string",
"maxLength": 5000
}
},
"required": [
Expand Down Expand Up @@ -20595,7 +20629,6 @@
}
},
"model": {
"description": "These are the options for the workflow's LLM.",
"oneOf": [
{
"$ref": "#/components/schemas/WorkflowOpenAIModel",
Expand All @@ -20616,6 +20649,10 @@
"items": {
"$ref": "#/components/schemas/Edge"
}
},
"globalPrompt": {
"type": "string",
"maxLength": 5000
}
},
"required": [
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -29577,7 +29641,6 @@
}
},
"model": {
"description": "These are the options for the workflow's LLM.",
"oneOf": [
{
"$ref": "#/components/schemas/WorkflowOpenAIModel",
Expand Down Expand Up @@ -29612,6 +29675,10 @@
"items": {
"$ref": "#/components/schemas/Edge"
}
},
"globalPrompt": {
"type": "string",
"maxLength": 5000
}
},
"required": [
Expand Down Expand Up @@ -29643,7 +29710,6 @@
}
},
"model": {
"description": "These are the options for the workflow's LLM.",
"oneOf": [
{
"$ref": "#/components/schemas/WorkflowOpenAIModel",
Expand All @@ -29664,6 +29730,10 @@
"items": {
"$ref": "#/components/schemas/Edge"
}
},
"globalPrompt": {
"type": "string",
"maxLength": 5000
}
}
},
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down