Skip to content

Update API specifications with fern api update #398

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
155 changes: 103 additions & 52 deletions fern/apis/api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -10696,12 +10696,15 @@
"deepseek-r1-distill-llama-70b",
"llama-3.3-70b-versatile",
"llama-3.1-405b-reasoning",
"llama-3.1-70b-versatile",
"llama-3.1-8b-instant",
"mixtral-8x7b-32768",
"llama3-8b-8192",
"llama3-70b-8192",
"gemma2-9b-it"
"gemma2-9b-it",
"meta-llama/llama-4-maverick-17b-128e-instruct",
"meta-llama/llama-4-scout-17b-16e-instruct",
"mistral-saba-24b",
"compound-beta",
"compound-beta-mini"
]
},
"provider": {
Expand Down Expand Up @@ -11565,6 +11568,10 @@
"type": "string",
"maxLength": 80
},
"isStart": {
"type": "boolean",
"description": "This is whether or not the node is the start of the workflow."
},
"metadata": {
"type": "object",
"description": "This is for metadata you want to store on the task."
Expand All @@ -11591,6 +11598,10 @@
"type": "string",
"maxLength": 80
},
"isStart": {
"type": "boolean",
"description": "This is whether or not the node is the start of the workflow."
},
"metadata": {
"type": "object",
"description": "This is for metadata you want to store on the task."
Expand Down Expand Up @@ -11623,6 +11634,10 @@
"type": "string",
"maxLength": 80
},
"isStart": {
"type": "boolean",
"description": "This is whether or not the node is the start of the workflow."
},
"metadata": {
"type": "object",
"description": "This is for metadata you want to store on the task."
Expand All @@ -11642,6 +11657,10 @@
"say"
]
},
"isStart": {
"type": "boolean",
"description": "This is whether or not the node is the start of the workflow."
},
"metadata": {
"type": "object",
"description": "This is for metadata you want to store on the task."
Expand Down Expand Up @@ -11718,6 +11737,10 @@
"type": "string",
"maxLength": 80
},
"isStart": {
"type": "boolean",
"description": "This is whether or not the node is the start of the workflow."
},
"metadata": {
"type": "object",
"description": "This is for metadata you want to store on the task."
Expand Down Expand Up @@ -11792,6 +11815,10 @@
"type": "string",
"maxLength": 80
},
"isStart": {
"type": "boolean",
"description": "This is whether or not the node is the start of the workflow."
},
"metadata": {
"type": "object",
"description": "This is for metadata you want to store on the task."
Expand All @@ -11818,6 +11845,10 @@
"type": "string",
"maxLength": 80
},
"isStart": {
"type": "boolean",
"description": "This is whether or not the node is the start of the workflow."
},
"metadata": {
"type": "object",
"description": "This is for metadata you want to store on the task."
Expand All @@ -11844,6 +11875,10 @@
"type": "string",
"maxLength": 80
},
"isStart": {
"type": "boolean",
"description": "This is whether or not the node is the start of the workflow."
},
"metadata": {
"type": "object",
"description": "This is for metadata you want to store on the task."
Expand Down Expand Up @@ -11973,40 +12008,6 @@
"provider"
]
},
"MessagePlan": {
"type": "object",
"properties": {
"idleMessages": {
"description": "This are the messages that the assistant will speak when the user hasn't responded for `idleTimeoutSeconds`. Each time the timeout is triggered, a random message will be chosen from this array.\n\nUsage:\n- If user gets distracted and doesn't respond for a while, this can be used to grab their attention.\n- If the transcriber doesn't pick up what the user said, this can be used to ask the user to repeat themselves. (From the perspective of the assistant, the conversation is idle since it didn't \"hear\" any user messages.)\n\n@default null (no idle message is spoken)",
"type": "array",
"items": {
"type": "string",
"maxLength": 1000
}
},
"idleMessageMaxSpokenCount": {
"type": "number",
"description": "This determines the maximum number of times `idleMessages` can be spoken during the call.\n\n@default 3",
"minimum": 1,
"maximum": 10
},
"idleMessageResetCountOnUserSpeechEnabled": {
"type": "boolean",
"description": "This determines whether the idle message count is reset whenever the user speaks.\n\n@default false"
},
"idleTimeoutSeconds": {
"type": "number",
"description": "This is the timeout in seconds before a message from `idleMessages` is spoken. The clock starts when the assistant finishes speaking and remains active until the user speaks.\n\n@default 10",
"minimum": 5,
"maximum": 60
},
"silenceTimeoutMessage": {
"type": "string",
"description": "This is the message that the assistant will say if the call ends due to silence.\n\nIf unspecified, it will hang up without saying anything.",
"maxLength": 1000
}
}
},
"GlobalNodePlan": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -12162,21 +12163,17 @@
"type": "string",
"maxLength": 5000
},
"messagePlan": {
"$ref": "#/components/schemas/MessagePlan"
},
"globalNodePlan": {
"description": "This is the plan for the global node.",
"allOf": [
{
"$ref": "#/components/schemas/GlobalNodePlan"
}
]
"$ref": "#/components/schemas/GlobalNodePlan"
},
"name": {
"type": "string",
"maxLength": 80
},
"isStart": {
"type": "boolean",
"description": "This is whether or not the node is the start of the workflow."
},
"metadata": {
"type": "object",
"description": "This is for metadata you want to store on the task."
Expand Down Expand Up @@ -14358,6 +14355,7 @@
"description": "The voices provided by Vapi",
"enum": [
"Elliot",
"Kylie",
"Rohan",
"Lily",
"Savannah",
Expand Down Expand Up @@ -15596,6 +15594,7 @@
"description": "The voices provided by Vapi",
"enum": [
"Elliot",
"Kylie",
"Rohan",
"Lily",
"Savannah",
Expand Down Expand Up @@ -15909,10 +15908,13 @@
"models": {
"type": "array",
"enum": [
"gpt-4.1-2025-04-14",
"gpt-4.1-mini-2025-04-14",
"gpt-4.1-nano-2025-04-14",
"gpt-4o-2024-11-20",
"gpt-4o-2024-08-06",
"gpt-4o-mini-2024-07-18",
"gpt-4o-2024-05-13",
"gpt-4o-mini-2024-07-18",
"gpt-4-turbo-2024-04-09",
"gpt-4-0125-preview",
"gpt-4-1106-preview",
Expand All @@ -15927,10 +15929,13 @@
"items": {
"type": "string",
"enum": [
"gpt-4.1-2025-04-14",
"gpt-4.1-mini-2025-04-14",
"gpt-4.1-nano-2025-04-14",
"gpt-4o-2024-11-20",
"gpt-4o-2024-08-06",
"gpt-4o-mini-2024-07-18",
"gpt-4o-2024-05-13",
"gpt-4o-mini-2024-07-18",
"gpt-4-turbo-2024-04-09",
"gpt-4-0125-preview",
"gpt-4-1106-preview",
Expand Down Expand Up @@ -17825,6 +17830,40 @@
}
}
},
"MessagePlan": {
"type": "object",
"properties": {
"idleMessages": {
"description": "This are the messages that the assistant will speak when the user hasn't responded for `idleTimeoutSeconds`. Each time the timeout is triggered, a random message will be chosen from this array.\n\nUsage:\n- If user gets distracted and doesn't respond for a while, this can be used to grab their attention.\n- If the transcriber doesn't pick up what the user said, this can be used to ask the user to repeat themselves. (From the perspective of the assistant, the conversation is idle since it didn't \"hear\" any user messages.)\n\n@default null (no idle message is spoken)",
"type": "array",
"items": {
"type": "string",
"maxLength": 1000
}
},
"idleMessageMaxSpokenCount": {
"type": "number",
"description": "This determines the maximum number of times `idleMessages` can be spoken during the call.\n\n@default 3",
"minimum": 1,
"maximum": 10
},
"idleMessageResetCountOnUserSpeechEnabled": {
"type": "boolean",
"description": "This determines whether the idle message count is reset whenever the user speaks.\n\n@default false"
},
"idleTimeoutSeconds": {
"type": "number",
"description": "This is the timeout in seconds before a message from `idleMessages` is spoken. The clock starts when the assistant finishes speaking and remains active until the user speaks.\n\n@default 10",
"minimum": 5,
"maximum": 60
},
"silenceTimeoutMessage": {
"type": "string",
"description": "This is the message that the assistant will say if the call ends due to silence.\n\nIf unspecified, it will hang up without saying anything.",
"maxLength": 1000
}
}
},
"AssistantCustomEndpointingRule": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -29989,10 +30028,13 @@
"models": {
"type": "array",
"enum": [
"gpt-4.1-2025-04-14",
"gpt-4.1-mini-2025-04-14",
"gpt-4.1-nano-2025-04-14",
"gpt-4o-2024-11-20",
"gpt-4o-2024-08-06",
"gpt-4o-mini-2024-07-18",
"gpt-4o-2024-05-13",
"gpt-4o-mini-2024-07-18",
"gpt-4-turbo-2024-04-09",
"gpt-4-0125-preview",
"gpt-4-1106-preview",
Expand All @@ -30007,10 +30049,13 @@
"items": {
"type": "string",
"enum": [
"gpt-4.1-2025-04-14",
"gpt-4.1-mini-2025-04-14",
"gpt-4.1-nano-2025-04-14",
"gpt-4o-2024-11-20",
"gpt-4o-2024-08-06",
"gpt-4o-mini-2024-07-18",
"gpt-4o-2024-05-13",
"gpt-4o-mini-2024-07-18",
"gpt-4-turbo-2024-04-09",
"gpt-4-0125-preview",
"gpt-4-1106-preview",
Expand Down Expand Up @@ -32653,10 +32698,13 @@
"models": {
"type": "array",
"enum": [
"gpt-4.1-2025-04-14",
"gpt-4.1-mini-2025-04-14",
"gpt-4.1-nano-2025-04-14",
"gpt-4o-2024-11-20",
"gpt-4o-2024-08-06",
"gpt-4o-mini-2024-07-18",
"gpt-4o-2024-05-13",
"gpt-4o-mini-2024-07-18",
"gpt-4-turbo-2024-04-09",
"gpt-4-0125-preview",
"gpt-4-1106-preview",
Expand All @@ -32671,10 +32719,13 @@
"items": {
"type": "string",
"enum": [
"gpt-4.1-2025-04-14",
"gpt-4.1-mini-2025-04-14",
"gpt-4.1-nano-2025-04-14",
"gpt-4o-2024-11-20",
"gpt-4o-2024-08-06",
"gpt-4o-mini-2024-07-18",
"gpt-4o-2024-05-13",
"gpt-4o-mini-2024-07-18",
"gpt-4-turbo-2024-04-09",
"gpt-4-0125-preview",
"gpt-4-1106-preview",
Expand Down