From df2b91f263161a1d72bfe84c19ccd077af2a0551 Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 30 Oct 2026 00:29:22 +0000 Subject: [PATCH 01/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 285 ++----------------------------------- 1 file changed, 12 insertions(+), 273 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 32b2f5cc6..b2f40b284 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -12130,6 +12130,12 @@ "maximum": 1, "example": 0.4 }, + "feedbackFilterEnabled": { + "type": "boolean", + "description": "Controls whether Vapi filters user transcripts that repeat text from the\nassistant's recent transcript. Disable this only when legitimate caller\nresponses are being mistaken for assistant audio feedback.\n\n@default true", + "example": true, + "default": true + }, "eotThreshold": { "type": "number", "description": "End-of-turn confidence required to finish a turn. Only used with Flux models.\n\n@default 0.7", @@ -15291,6 +15297,12 @@ "maximum": 1, "example": 0.4 }, + "feedbackFilterEnabled": { + "type": "boolean", + "description": "Controls whether Vapi filters user transcripts that repeat text from the\nassistant's recent transcript. Disable this only when legitimate caller\nresponses are being mistaken for assistant audio feedback.\n\n@default true", + "example": true, + "default": true + }, "eotThreshold": { "type": "number", "description": "End-of-turn confidence required to finish a turn. Only used with Flux models.\n\n@default 0.7", @@ -18740,10 +18752,6 @@ "$ref": "#/components/schemas/SmallestAIVoice", "title": "SmallestAIVoice" }, - { - "$ref": "#/components/schemas/TavusVoice", - "title": "TavusVoice" - }, { "$ref": "#/components/schemas/VapiVoice", "title": "VapiVoice" @@ -19484,10 +19492,6 @@ "$ref": "#/components/schemas/SmallestAIVoice", "title": "SmallestAIVoice" }, - { - "$ref": "#/components/schemas/TavusVoice", - "title": "TavusVoice" - }, { "$ref": "#/components/schemas/VapiVoice", "title": "VapiVoice" @@ -19613,10 +19617,6 @@ "$ref": "#/components/schemas/SmallestAIVoice", "title": "SmallestAIVoice" }, - { - "$ref": "#/components/schemas/TavusVoice", - "title": "TavusVoice" - }, { "$ref": "#/components/schemas/VapiVoice", "title": "VapiVoice" @@ -20753,10 +20753,6 @@ "$ref": "#/components/schemas/SmallestAIVoice", "title": "SmallestAIVoice" }, - { - "$ref": "#/components/schemas/TavusVoice", - "title": "TavusVoice" - }, { "$ref": "#/components/schemas/VapiVoice", "title": "VapiVoice" @@ -21647,10 +21643,6 @@ "$ref": "#/components/schemas/SmallestAIVoice", "title": "SmallestAIVoice" }, - { - "$ref": "#/components/schemas/TavusVoice", - "title": "TavusVoice" - }, { "$ref": "#/components/schemas/VapiVoice", "title": "VapiVoice" @@ -27488,10 +27480,6 @@ "$ref": "#/components/schemas/SmallestAIVoice", "title": "SmallestAIVoice" }, - { - "$ref": "#/components/schemas/TavusVoice", - "title": "TavusVoice" - }, { "$ref": "#/components/schemas/VapiVoice", "title": "VapiVoice" @@ -28810,10 +28798,6 @@ "$ref": "#/components/schemas/SmallestAIVoice", "title": "SmallestAIVoice" }, - { - "$ref": "#/components/schemas/TavusVoice", - "title": "TavusVoice" - }, { "$ref": "#/components/schemas/VapiVoice", "title": "VapiVoice" @@ -29983,10 +29967,6 @@ "$ref": "#/components/schemas/FallbackSmallestAIVoice", "title": "Smallest AI" }, - { - "$ref": "#/components/schemas/FallbackTavusVoice", - "title": "TavusVoice" - }, { "$ref": "#/components/schemas/FallbackNeuphonicVoice", "title": "Neuphonic" @@ -31979,133 +31959,6 @@ "voiceId" ] }, - "TavusConversationProperties": { - "type": "object", - "properties": { - "maxCallDuration": { - "type": "number", - "description": "The maximum duration of the call in seconds. The default `maxCallDuration` is 3600 seconds (1 hour).\nOnce the time limit specified by this parameter has been reached, the conversation will automatically shut down." - }, - "participantLeftTimeout": { - "type": "number", - "description": "The duration in seconds after which the call will be automatically shut down once the last participant leaves." - }, - "participantAbsentTimeout": { - "type": "number", - "description": "Starting from conversation creation, the duration in seconds after which the call will be automatically shut down if no participant joins the call.\nDefault is 300 seconds (5 minutes)." - }, - "enableRecording": { - "type": "boolean", - "description": "If true, the user will be able to record the conversation." - }, - "enableTranscription": { - "type": "boolean", - "description": "If true, the user will be able to transcribe the conversation.\nYou can find more instructions on displaying transcriptions if you are using your custom DailyJS components here.\nYou need to have an event listener on Daily that listens for `app-messages`." - }, - "applyGreenscreen": { - "type": "boolean", - "description": "If true, the background will be replaced with a greenscreen (RGB values: `[0, 255, 155]`).\nYou can use WebGL on the frontend to make the greenscreen transparent or change its color." - }, - "language": { - "type": "string", - "description": "The language of the conversation. Please provide the **full language name**, not the two-letter code.\nIf you are using your own TTS voice, please ensure it supports the language you provide.\nIf you are using a stock replica or default persona, please note that only ElevenLabs and Cartesia supported languages are available.\nYou can find a full list of supported languages for Cartesia here, for ElevenLabs here, and for PlayHT here." - }, - "recordingS3BucketName": { - "type": "string", - "description": "The name of the S3 bucket where the recording will be stored." - }, - "recordingS3BucketRegion": { - "type": "string", - "description": "The region of the S3 bucket where the recording will be stored." - }, - "awsAssumeRoleArn": { - "type": "string", - "description": "The ARN of the role that will be assumed to access the S3 bucket." - } - } - }, - "TavusVoice": { - "type": "object", - "properties": { - "cachingEnabled": { - "type": "boolean", - "description": "This is the flag to toggle voice caching for the assistant.", - "example": true, - "default": true - }, - "provider": { - "type": "string", - "description": "This is the voice provider that will be used.", - "enum": [ - "tavus" - ] - }, - "voiceId": { - "description": "This is the provider-specific ID that will be used.", - "oneOf": [ - { - "type": "string", - "enum": [ - "r52da2535a" - ], - "title": "Preset Voice Options" - }, - { - "type": "string", - "title": "Tavus Voice ID" - } - ] - }, - "chunkPlan": { - "description": "This is the plan for chunking the model output before it is sent to the voice provider.", - "allOf": [ - { - "$ref": "#/components/schemas/ChunkPlan" - } - ] - }, - "personaId": { - "type": "string", - "description": "This is the unique identifier for the persona that the replica will use in the conversation." - }, - "callbackUrl": { - "type": "string", - "description": "This is the url that will receive webhooks with updates regarding the conversation state." - }, - "conversationName": { - "type": "string", - "description": "This is the name for the conversation." - }, - "conversationalContext": { - "type": "string", - "description": "This is the context that will be appended to any context provided in the persona, if one is provided." - }, - "customGreeting": { - "type": "string", - "description": "This is the custom greeting that the replica will give once a participant joines the conversation." - }, - "properties": { - "description": "These are optional properties used to customize the conversation.", - "allOf": [ - { - "$ref": "#/components/schemas/TavusConversationProperties" - } - ] - }, - "fallbackPlan": { - "description": "This is the plan for voice provider fallbacks in the event that the primary voice provider fails.", - "allOf": [ - { - "$ref": "#/components/schemas/FallbackPlan" - } - ] - } - }, - "required": [ - "provider", - "voiceId" - ] - }, "VapiPronunciationDictionaryLocator": { "type": "object", "properties": { @@ -34706,80 +34559,6 @@ "voiceId" ] }, - "FallbackTavusVoice": { - "type": "object", - "properties": { - "cachingEnabled": { - "type": "boolean", - "description": "This is the flag to toggle voice caching for the assistant.", - "example": true, - "default": true - }, - "provider": { - "type": "string", - "description": "This is the voice provider that will be used.", - "enum": [ - "tavus" - ] - }, - "voiceId": { - "description": "This is the provider-specific ID that will be used.", - "oneOf": [ - { - "type": "string", - "enum": [ - "r52da2535a" - ], - "title": "Preset Voice Options" - }, - { - "type": "string", - "title": "Tavus Voice ID" - } - ] - }, - "personaId": { - "type": "string", - "description": "This is the unique identifier for the persona that the replica will use in the conversation." - }, - "callbackUrl": { - "type": "string", - "description": "This is the url that will receive webhooks with updates regarding the conversation state." - }, - "conversationName": { - "type": "string", - "description": "This is the name for the conversation." - }, - "conversationalContext": { - "type": "string", - "description": "This is the context that will be appended to any context provided in the persona, if one is provided." - }, - "customGreeting": { - "type": "string", - "description": "This is the custom greeting that the replica will give once a participant joines the conversation." - }, - "properties": { - "description": "These are optional properties used to customize the conversation.", - "allOf": [ - { - "$ref": "#/components/schemas/TavusConversationProperties" - } - ] - }, - "chunkPlan": { - "description": "This is the plan for chunking the model output before it is sent to the voice provider.", - "allOf": [ - { - "$ref": "#/components/schemas/ChunkPlan" - } - ] - } - }, - "required": [ - "provider", - "voiceId" - ] - }, "FallbackVapiVoice": { "type": "object", "properties": { @@ -37411,10 +37190,6 @@ "$ref": "#/components/schemas/SmallestAIVoice", "title": "SmallestAIVoice" }, - { - "$ref": "#/components/schemas/TavusVoice", - "title": "TavusVoice" - }, { "$ref": "#/components/schemas/VapiVoice", "title": "VapiVoice" @@ -38357,10 +38132,6 @@ "$ref": "#/components/schemas/SmallestAIVoice", "title": "SmallestAIVoice" }, - { - "$ref": "#/components/schemas/TavusVoice", - "title": "TavusVoice" - }, { "$ref": "#/components/schemas/VapiVoice", "title": "VapiVoice" @@ -39399,10 +39170,6 @@ "$ref": "#/components/schemas/SmallestAIVoice", "title": "SmallestAIVoice" }, - { - "$ref": "#/components/schemas/TavusVoice", - "title": "TavusVoice" - }, { "$ref": "#/components/schemas/VapiVoice", "title": "VapiVoice" @@ -40423,10 +40190,6 @@ "$ref": "#/components/schemas/SmallestAIVoice", "title": "SmallestAIVoice" }, - { - "$ref": "#/components/schemas/TavusVoice", - "title": "TavusVoice" - }, { "$ref": "#/components/schemas/VapiVoice", "title": "VapiVoice" @@ -41448,10 +41211,6 @@ "$ref": "#/components/schemas/SmallestAIVoice", "title": "SmallestAIVoice" }, - { - "$ref": "#/components/schemas/TavusVoice", - "title": "TavusVoice" - }, { "$ref": "#/components/schemas/VapiVoice", "title": "VapiVoice" @@ -42366,10 +42125,6 @@ "$ref": "#/components/schemas/SmallestAIVoice", "title": "SmallestAIVoice" }, - { - "$ref": "#/components/schemas/TavusVoice", - "title": "TavusVoice" - }, { "$ref": "#/components/schemas/VapiVoice", "title": "VapiVoice" @@ -43260,10 +43015,6 @@ "$ref": "#/components/schemas/SmallestAIVoice", "title": "SmallestAIVoice" }, - { - "$ref": "#/components/schemas/TavusVoice", - "title": "TavusVoice" - }, { "$ref": "#/components/schemas/VapiVoice", "title": "VapiVoice" @@ -44341,10 +44092,6 @@ "$ref": "#/components/schemas/SmallestAIVoice", "title": "SmallestAIVoice" }, - { - "$ref": "#/components/schemas/TavusVoice", - "title": "TavusVoice" - }, { "$ref": "#/components/schemas/VapiVoice", "title": "VapiVoice" @@ -45045,10 +44792,6 @@ "$ref": "#/components/schemas/SmallestAIVoice", "title": "SmallestAIVoice" }, - { - "$ref": "#/components/schemas/TavusVoice", - "title": "TavusVoice" - }, { "$ref": "#/components/schemas/VapiVoice", "title": "VapiVoice" @@ -45731,10 +45474,6 @@ "$ref": "#/components/schemas/SmallestAIVoice", "title": "SmallestAIVoice" }, - { - "$ref": "#/components/schemas/TavusVoice", - "title": "TavusVoice" - }, { "$ref": "#/components/schemas/VapiVoice", "title": "VapiVoice" From c3b2fe8b7f0e41de0d11ac3827c2c61f9fc466bb Mon Sep 17 00:00:00 2001 From: github-actions Date: Sat, 31 Oct 2026 00:23:52 +0000 Subject: [PATCH 02/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 39 +++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index b2f40b284..336643639 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -46817,7 +46817,7 @@ }, "callToken": { "type": "string", - "description": "This is the meeting token the web client should join the call with.\nWhen video recording is enabled, joining with this token starts the cloud\nrecording automatically server-side, which is more reliable than the\nclient starting it after joining. Set by the server; only present when\nvideo recording is enabled." + "description": "This is the meeting token the web client should join the call with.\nWhen video recording is enabled, joining with this token starts the cloud\nrecording automatically server-side, which is more reliable than the\nclient starting it after joining. Set by the server; only present when\nvideo recording is enabled.\n\nWith `videoRecordingStartMode: 'server'`, joining with the token doesn't\nstart the recording: Vapi starts it once the user joins, and the client\nmust not start it either." }, "callUrl": { "type": "string", @@ -47928,6 +47928,11 @@ "type": "string", "description": "This is the explanation for how the call ended.", "enum": [ + "call.in-progress.error-vapifault-guardrail-evaluation-failed", + "call.in-progress.error-vapifault-guardrail-playback-timeout", + "call.in-progress.guardrail-blocked", + "call.in-progress.error-vapifault-call-start-failed", + "call.in-progress.error-vapifault-assistant-handoff-start-failed", "call-start-error-neither-assistant-nor-server-set", "assistant-request-failed", "assistant-request-returned-error", @@ -47955,6 +47960,10 @@ "call.start.assistant-version-error-validation", "call.start.squad-version-error-validation", "assistant-not-valid", + "call.in-progress.error-vapifault-guardrail-evaluation-failed", + "call.in-progress.error-vapifault-guardrail-playback-timeout", + "call.in-progress.error-vapifault-call-start-failed", + "call.in-progress.error-vapifault-assistant-handoff-start-failed", "call.start.error-vapifault-database-error", "assistant-not-found", "pipeline-error-openai-voice-failed", @@ -49636,6 +49645,16 @@ "type": "boolean", "default": true }, + "videoRecordingStartMode": { + "type": "string", + "description": "This determines who starts the video recording. Only applies when video\nrecording is enabled (`artifactPlan.videoRecordingEnabled`).\n\n- `client`: the web client starts the recording when it joins.\n- `server`: Vapi starts the recording once when the user first joins, so a\n weak client connection can't stop it from starting. The returned\n `transport.callToken` doesn't start the recording, and the client should\n not start it either. If Vapi can't set up the server-side start, no token\n is returned. If the start itself fails, the client is told during the\n call.\n\nDefaults to `client`.", + "example": "server", + "enum": [ + "client", + "server" + ], + "default": "client" + }, "assistantId": { "type": "string", "description": "This is the assistant ID that will be used for the call. To use a transient assistant, use `assistant` instead.\n\nTo start a call with:\n- Assistant, use `assistantId` or `assistant`\n- Squad, use `squadId` or `squad`\n- Workflow, use `workflowId` or `workflow`" @@ -79955,6 +79974,11 @@ "type": "string", "description": "This is the reason the call ended. This can also be found at `call.endedReason` on GET /call/:id.", "enum": [ + "call.in-progress.error-vapifault-guardrail-evaluation-failed", + "call.in-progress.error-vapifault-guardrail-playback-timeout", + "call.in-progress.guardrail-blocked", + "call.in-progress.error-vapifault-call-start-failed", + "call.in-progress.error-vapifault-assistant-handoff-start-failed", "call-start-error-neither-assistant-nor-server-set", "assistant-request-failed", "assistant-request-returned-error", @@ -79982,6 +80006,10 @@ "call.start.assistant-version-error-validation", "call.start.squad-version-error-validation", "assistant-not-valid", + "call.in-progress.error-vapifault-guardrail-evaluation-failed", + "call.in-progress.error-vapifault-guardrail-playback-timeout", + "call.in-progress.error-vapifault-call-start-failed", + "call.in-progress.error-vapifault-assistant-handoff-start-failed", "call.start.error-vapifault-database-error", "assistant-not-found", "pipeline-error-openai-voice-failed", @@ -81416,6 +81444,11 @@ "type": "string", "description": "This is the reason the call ended. This is only sent if the status is \"ended\".", "enum": [ + "call.in-progress.error-vapifault-guardrail-evaluation-failed", + "call.in-progress.error-vapifault-guardrail-playback-timeout", + "call.in-progress.guardrail-blocked", + "call.in-progress.error-vapifault-call-start-failed", + "call.in-progress.error-vapifault-assistant-handoff-start-failed", "call-start-error-neither-assistant-nor-server-set", "assistant-request-failed", "assistant-request-returned-error", @@ -81443,6 +81476,10 @@ "call.start.assistant-version-error-validation", "call.start.squad-version-error-validation", "assistant-not-valid", + "call.in-progress.error-vapifault-guardrail-evaluation-failed", + "call.in-progress.error-vapifault-guardrail-playback-timeout", + "call.in-progress.error-vapifault-call-start-failed", + "call.in-progress.error-vapifault-assistant-handoff-start-failed", "call.start.error-vapifault-database-error", "assistant-not-found", "pipeline-error-openai-voice-failed", From e89f28696c199601e2a7694a587dfe722750594e Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 3 Nov 2026 00:24:01 +0000 Subject: [PATCH 03/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 589 ++++++++++++++++++++++++++++++++++++- 1 file changed, 587 insertions(+), 2 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 336643639..693502012 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -61280,6 +61280,579 @@ "toolId" ] }, + "CallHealthDashboardApiErrorDTO": { + "type": "object", + "properties": { + "code": { + "type": "string", + "minLength": 1 + }, + "message": { + "type": "string", + "minLength": 1 + }, + "requestId": { + "type": "string", + "minLength": 1 + }, + "retryable": { + "type": "boolean" + } + }, + "required": [ + "code", + "message", + "requestId", + "retryable" + ] + }, + "CallHealthDashboardAssistantReferenceDTO": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string", + "minLength": 1 + }, + "latestVersion": { + "type": "string", + "description": "Current assistant.latest_version label; omitted when unavailable, never a goal revision.", + "minLength": 1 + } + }, + "required": [ + "id" + ] + }, + "CallHealthDashboardIssueDailyDTO": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "UTC calendar date, with boundary buckets clipped to the requested window.", + "format": "date" + }, + "affectedCallCount": { + "type": "integer", + "description": "Distinct visible calls matching this issue in the bucket.", + "minimum": 0, + "maximum": 9007199254740991 + }, + "analyzedCallCount": { + "type": "integer", + "description": "All accepted current-goal outcomes for the issue's assistant in the bucket.", + "minimum": 0, + "maximum": 9007199254740991 + }, + "affectedCallRate": { + "type": "number", + "description": "affectedCallCount / analyzedCallCount; omitted for a zero denominator.", + "minimum": 0, + "maximum": 1 + } + }, + "required": [ + "date", + "affectedCallCount", + "analyzedCallCount" + ] + }, + "CallHealthDashboardIssueCoverageDTO": { + "type": "object", + "properties": { + "state": { + "type": "string", + "enum": [ + "complete", + "partial", + "sweeping", + "blocked" + ] + }, + "asOf": { + "type": "string", + "format": "date-time", + "pattern": "^\\d{4}-\\d{2}-\\d{2}T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.(\\d{1,6}))?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$" + } + }, + "required": [ + "state", + "asOf" + ] + }, + "CallHealthDashboardIssueSummaryDTO": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string", + "minLength": 1 + }, + "status": { + "type": "string", + "enum": [ + "active", + "resolved", + "dismissed" + ] + }, + "rowVersion": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "goalId": { + "type": "string", + "description": "Owning goal identity; issue-ID routes derive this selection from the issue.", + "format": "uuid" + }, + "summary": { + "type": "string", + "minLength": 1 + }, + "assistant": { + "$ref": "#/components/schemas/CallHealthDashboardAssistantReferenceDTO" + }, + "affectedCallCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "analyzedCallCount": { + "type": "integer", + "description": "Same assistant/current-goal/window denominator used by the goal reads.", + "minimum": 0, + "maximum": 9007199254740991 + }, + "affectedCallRate": { + "type": "number", + "description": "Distinct calls matching this issue / analyzedCallCount; absent at zero.", + "minimum": 0, + "maximum": 1 + }, + "dailySeries": { + "description": "One ascending contiguous page of UTC buckets; memberships across issues are not unique calls.", + "minItems": 1, + "maxItems": 100, + "type": "array", + "items": { + "$ref": "#/components/schemas/CallHealthDashboardIssueDailyDTO" + } + }, + "lastSeenAt": { + "type": "string", + "format": "date-time", + "pattern": "^\\d{4}-\\d{2}-\\d{2}T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.(\\d{1,6}))?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$" + }, + "coverage": { + "$ref": "#/components/schemas/CallHealthDashboardIssueCoverageDTO" + } + }, + "required": [ + "id", + "name", + "status", + "rowVersion", + "goalId", + "summary", + "assistant", + "affectedCallCount", + "analyzedCallCount", + "dailySeries", + "coverage" + ] + }, + "CallHealthDashboardWindowDTO": { + "type": "object", + "properties": { + "callTimeGte": { + "type": "string", + "format": "date-time", + "pattern": "^\\d{4}-\\d{2}-\\d{2}T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.(\\d{1,6}))?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$" + }, + "callTimeLt": { + "type": "string", + "format": "date-time", + "pattern": "^\\d{4}-\\d{2}-\\d{2}T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.(\\d{1,6}))?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$" + } + }, + "required": [ + "callTimeGte", + "callTimeLt" + ] + }, + "CallHealthDashboardSeriesPageDTO": { + "type": "object", + "properties": { + "window": { + "description": "Full resolved completion window used by every total, rate and coverage count.", + "allOf": [ + { + "$ref": "#/components/schemas/CallHealthDashboardWindowDTO" + } + ] + }, + "pageWindow": { + "description": "Clipped completion window represented by this page's daily buckets.", + "allOf": [ + { + "$ref": "#/components/schemas/CallHealthDashboardWindowDTO" + } + ] + }, + "nextCursor": { + "type": "string", + "description": "Continue chart dates only; independent of the issue-row nextCursor.", + "minLength": 1, + "maxLength": 2048, + "pattern": "^[A-Za-z0-9_-]+$" + } + }, + "required": [ + "window", + "pageWindow" + ] + }, + "CallHealthDashboardFacetsDTO": { + "type": "object", + "properties": { + "statuses": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "active", + "resolved", + "dismissed" + ] + } + } + }, + "required": [ + "statuses" + ] + }, + "CallHealthDashboardIntakeCoverageDTO": { + "type": "object", + "properties": { + "deliveryMode": { + "type": "string", + "enum": [ + "bestEffort" + ] + }, + "endToEndCoverage": { + "type": "string", + "enum": [ + "unknown" + ] + } + }, + "required": [ + "deliveryMode", + "endToEndCoverage" + ] + }, + "CallHealthDashboardGoalGapsDTO": { + "type": "object", + "properties": { + "pending": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "unavailable": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "skipped": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "error": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "excluded": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + } + }, + "required": [ + "pending", + "unavailable", + "skipped", + "error", + "excluded" + ] + }, + "CallHealthDashboardClassificationCoverageDTO": { + "type": "object", + "properties": { + "pending": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "unavailable": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "skipped": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "error": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "excluded": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "complete": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "partial": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + } + }, + "required": [ + "pending", + "unavailable", + "skipped", + "error", + "excluded", + "complete", + "partial" + ] + }, + "CallHealthDashboardAssignmentCoverageDTO": { + "type": "object", + "properties": { + "pending": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "unmatched": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "skipped": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "unavailable": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "error": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "coverageGapCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + } + }, + "required": [ + "pending", + "unmatched", + "skipped", + "unavailable", + "error", + "coverageGapCount" + ] + }, + "CallHealthDashboardDiscoveryCoverageDTO": { + "type": "object", + "properties": { + "pendingIssueCategoryCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "blockedIssueCategoryCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + } + }, + "required": [ + "pendingIssueCategoryCount", + "blockedIssueCategoryCount" + ] + }, + "CallHealthDashboardSweepCoverageDTO": { + "type": "object", + "properties": { + "state": { + "type": "string", + "enum": [ + "idle", + "enumerating", + "processing", + "deduplicating", + "blocked" + ] + } + }, + "required": [ + "state" + ] + }, + "CallHealthDashboardCoverageDTO": { + "type": "object", + "properties": { + "asOf": { + "type": "string", + "format": "date-time", + "pattern": "^\\d{4}-\\d{2}-\\d{2}T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.(\\d{1,6}))?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$" + }, + "intake": { + "$ref": "#/components/schemas/CallHealthDashboardIntakeCoverageDTO" + }, + "goal": { + "$ref": "#/components/schemas/CallHealthDashboardGoalGapsDTO" + }, + "classification": { + "$ref": "#/components/schemas/CallHealthDashboardClassificationCoverageDTO" + }, + "assignment": { + "$ref": "#/components/schemas/CallHealthDashboardAssignmentCoverageDTO" + }, + "discovery": { + "$ref": "#/components/schemas/CallHealthDashboardDiscoveryCoverageDTO" + }, + "sweep": { + "$ref": "#/components/schemas/CallHealthDashboardSweepCoverageDTO" + }, + "countsComplete": { + "type": "boolean", + "description": "Completeness of received authorized work only; never source delivery coverage." + } + }, + "required": [ + "asOf", + "intake", + "goal", + "classification", + "assignment", + "discovery", + "sweep", + "countsComplete" + ] + }, + "CallHealthDashboardIssueListResponseDTO": { + "type": "object", + "properties": { + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CallHealthDashboardIssueSummaryDTO" + } + }, + "seriesPage": { + "description": "Every row's dailySeries represents this same date page.", + "allOf": [ + { + "$ref": "#/components/schemas/CallHealthDashboardSeriesPageDTO" + } + ] + }, + "facets": { + "$ref": "#/components/schemas/CallHealthDashboardFacetsDTO" + }, + "nextCursor": { + "type": "string", + "minLength": 1, + "maxLength": 2048, + "pattern": "^[A-Za-z0-9_-]+$" + }, + "coverage": { + "$ref": "#/components/schemas/CallHealthDashboardCoverageDTO" + } + }, + "required": [ + "results", + "seriesPage", + "facets", + "coverage" + ] + }, + "CallHealthDashboardIssueDefinitionDTO": { + "type": "object", + "properties": { + "applicability": { + "type": "string", + "nullable": true, + "minLength": 1 + }, + "problem": { + "type": "string", + "nullable": true, + "minLength": 1 + }, + "createdTaxonomyVersion": { + "type": "integer", + "nullable": true, + "minimum": 1, + "maximum": 9007199254740991 + } + }, + "required": [ + "applicability", + "problem", + "createdTaxonomyVersion" + ] + }, + "CallHealthDashboardIssueDetailResponseDTO": { + "type": "object", + "properties": { + "issue": { + "$ref": "#/components/schemas/CallHealthDashboardIssueSummaryDTO" + }, + "seriesPage": { + "$ref": "#/components/schemas/CallHealthDashboardSeriesPageDTO" + }, + "definition": { + "$ref": "#/components/schemas/CallHealthDashboardIssueDefinitionDTO" + }, + "coverage": { + "$ref": "#/components/schemas/CallHealthDashboardCoverageDTO" + } + }, + "required": [ + "issue", + "seriesPage", + "definition", + "coverage" + ] + }, "StructuredOutputRunResult": { "type": "object", "properties": { @@ -68479,8 +69052,20 @@ "claude-haiku-5-5" ] }, + "reasoningEffort": { + "type": "string", + "description": "Reasoning effort for the judge on claude-haiku-5-5. `none` turns thinking\noff. `low` to `max` let the judge think before it submits its verdict.\nUnset means `none`. Rejected for every other model.", + "enum": [ + "none", + "low", + "medium", + "high", + "xhigh", + "max" + ] + }, "thinking": { - "description": "This is the optional configuration for Anthropic's thinking feature.\n\n- If provided, `maxTokens` must be greater than `thinking.budgetTokens`.", + "description": "This is the optional configuration for Anthropic's thinking feature.\nclaude-haiku-5-5 uses `reasoningEffort` instead.\n\n- If provided, `maxTokens` must be greater than `thinking.budgetTokens`.", "allOf": [ { "$ref": "#/components/schemas/AnthropicThinkingConfig" @@ -69539,7 +70124,7 @@ "enum": [ "goal_met", "goal_not_met", - "ineligible" + "not_applicable" ], "description": "Absent until a semantic result is accepted. Processing failures are never goal_not_met." } From 5ddfa827ee8a11546bd08da403aa92fc8890dd91 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 4 Nov 2026 00:24:14 +0000 Subject: [PATCH 04/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 1488 ++++++++++++++++++++++++++++-------- 1 file changed, 1161 insertions(+), 327 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 693502012..2d8be97e6 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -11209,6 +11209,10 @@ { "$ref": "#/components/schemas/FallbackXaiTranscriber", "title": "xAI" + }, + { + "$ref": "#/components/schemas/FallbackReson8Transcriber", + "title": "Reson8" } ] } @@ -13896,6 +13900,73 @@ "provider" ] }, + "Reson8Transcriber": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "enum": [ + "reson8" + ] + }, + "model": { + "type": "string", + "description": "The Reson8 speech-to-text endpoint to use. `turns` is Reson8's turn-detection endpoint.", + "enum": [ + "turns" + ] + }, + "language": { + "type": "string", + "description": "Language for transcription (e.g. `nl`), or a comma-separated candidate list such as `nl,en` which constrains auto-detection. When omitted, Reson8 auto-detects the language per utterance. Supported: de, en, es, fr, fy, it, nl, pl, pt, sv.", + "pattern": "^(de|en|es|fr|fy|it|nl|pl|pt|sv)(,(de|en|es|fr|fy|it|nl|pl|pt|sv))*$" + }, + "keyterms": { + "description": "Domain-specific terms to boost recognition (brand names, product codes, jargon). Sent to Reson8 as the `phrases` parameter. Max 250 phrases.", + "type": "array", + "items": { + "type": "string", + "maxLength": 255 + } + }, + "customModelId": { + "type": "string", + "description": "A stored Reson8 phrase collection (custom model) id, managed via the Reson8 API or console." + }, + "eagerTurnProbability": { + "type": "number", + "description": "Threshold (0-1) at which Reson8 emits an eager turn-end candidate. Provider default 0.5.", + "minimum": 0, + "maximum": 1 + }, + "finalTurnProbability": { + "type": "number", + "description": "Threshold (0-1) at which Reson8 confirms the end of a turn. Provider default 0.92.", + "minimum": 0, + "maximum": 1 + }, + "fillerMode": { + "type": "string", + "description": "How Reson8 renders filler words in transcripts. Provider default `natural`.", + "enum": [ + "clean", + "natural", + "verbatim" + ] + }, + "fallbackPlan": { + "description": "This is the plan for transcriber provider fallbacks in the event that the primary transcriber provider fails.", + "allOf": [ + { + "$ref": "#/components/schemas/FallbackTranscriberPlan" + } + ] + } + }, + "required": [ + "provider" + ] + }, "VapiTranscriber": { "type": "object", "properties": { @@ -16946,6 +17017,65 @@ "provider" ] }, + "FallbackReson8Transcriber": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "enum": [ + "reson8" + ] + }, + "model": { + "type": "string", + "description": "The Reson8 speech-to-text endpoint to use. `turns` is Reson8's turn-detection endpoint.", + "enum": [ + "turns" + ] + }, + "language": { + "type": "string", + "description": "Language for transcription (e.g. `nl`), or a comma-separated candidate list such as `nl,en` which constrains auto-detection. When omitted, Reson8 auto-detects the language per utterance. Supported: de, en, es, fr, fy, it, nl, pl, pt, sv.", + "pattern": "^(de|en|es|fr|fy|it|nl|pl|pt|sv)(,(de|en|es|fr|fy|it|nl|pl|pt|sv))*$" + }, + "keyterms": { + "description": "Domain-specific terms to boost recognition (brand names, product codes, jargon). Sent to Reson8 as the `phrases` parameter. Max 250 phrases.", + "type": "array", + "items": { + "type": "string", + "maxLength": 255 + } + }, + "customModelId": { + "type": "string", + "description": "A stored Reson8 phrase collection (custom model) id, managed via the Reson8 API or console." + }, + "eagerTurnProbability": { + "type": "number", + "description": "Threshold (0-1) at which Reson8 emits an eager turn-end candidate. Provider default 0.5.", + "minimum": 0, + "maximum": 1 + }, + "finalTurnProbability": { + "type": "number", + "description": "Threshold (0-1) at which Reson8 confirms the end of a turn. Provider default 0.92.", + "minimum": 0, + "maximum": 1 + }, + "fillerMode": { + "type": "string", + "description": "How Reson8 renders filler words in transcripts. Provider default `natural`.", + "enum": [ + "clean", + "natural", + "verbatim" + ] + } + }, + "required": [ + "provider" + ] + }, "LangfuseObservabilityPlan": { "type": "object", "properties": { @@ -18833,6 +18963,10 @@ "$ref": "#/components/schemas/XaiTranscriber", "title": "XaiTranscriber" }, + { + "$ref": "#/components/schemas/Reson8Transcriber", + "title": "Reson8Transcriber" + }, { "$ref": "#/components/schemas/VapiTranscriber", "title": "VapiTranscriber" @@ -20619,6 +20753,10 @@ "$ref": "#/components/schemas/XaiTranscriber", "title": "XaiTranscriber" }, + { + "$ref": "#/components/schemas/Reson8Transcriber", + "title": "Reson8Transcriber" + }, { "$ref": "#/components/schemas/VapiTranscriber", "title": "VapiTranscriber" @@ -21182,6 +21320,10 @@ "$ref": "#/components/schemas/CreateSonioxCredentialDTO", "title": "SonioxCredential" }, + { + "$ref": "#/components/schemas/CreateReson8CredentialDTO", + "title": "Reson8Credential" + }, { "$ref": "#/components/schemas/CreateSupabaseCredentialDTO", "title": "SupabaseCredential" @@ -21309,6 +21451,7 @@ "mistral": "#/components/schemas/CreateMistralCredentialDTO", "speechmatics": "#/components/schemas/CreateSpeechmaticsCredentialDTO", "soniox": "#/components/schemas/CreateSonioxCredentialDTO", + "reson8": "#/components/schemas/CreateReson8CredentialDTO", "google.calendar.oauth2-client": "#/components/schemas/CreateGoogleCalendarOAuth2ClientCredentialDTO", "google.calendar.oauth2-authorization": "#/components/schemas/CreateGoogleCalendarOAuth2AuthorizationCredentialDTO", "google.sheets.oauth2-authorization": "#/components/schemas/CreateGoogleSheetsOAuth2AuthorizationCredentialDTO", @@ -21509,6 +21652,10 @@ "$ref": "#/components/schemas/XaiTranscriber", "title": "XaiTranscriber" }, + { + "$ref": "#/components/schemas/Reson8Transcriber", + "title": "Reson8Transcriber" + }, { "$ref": "#/components/schemas/VapiTranscriber", "title": "VapiTranscriber" @@ -22072,6 +22219,10 @@ "$ref": "#/components/schemas/CreateSonioxCredentialDTO", "title": "SonioxCredential" }, + { + "$ref": "#/components/schemas/CreateReson8CredentialDTO", + "title": "Reson8Credential" + }, { "$ref": "#/components/schemas/CreateSupabaseCredentialDTO", "title": "SupabaseCredential" @@ -22199,6 +22350,7 @@ "mistral": "#/components/schemas/CreateMistralCredentialDTO", "speechmatics": "#/components/schemas/CreateSpeechmaticsCredentialDTO", "soniox": "#/components/schemas/CreateSonioxCredentialDTO", + "reson8": "#/components/schemas/CreateReson8CredentialDTO", "google.calendar.oauth2-client": "#/components/schemas/CreateGoogleCalendarOAuth2ClientCredentialDTO", "google.calendar.oauth2-authorization": "#/components/schemas/CreateGoogleCalendarOAuth2AuthorizationCredentialDTO", "google.sheets.oauth2-authorization": "#/components/schemas/CreateGoogleSheetsOAuth2AuthorizationCredentialDTO", @@ -27419,6 +27571,10 @@ "$ref": "#/components/schemas/XaiTranscriber", "title": "XaiTranscriber" }, + { + "$ref": "#/components/schemas/Reson8Transcriber", + "title": "Reson8Transcriber" + }, { "$ref": "#/components/schemas/VapiTranscriber", "title": "VapiTranscriber" @@ -28737,6 +28893,10 @@ "$ref": "#/components/schemas/XaiTranscriber", "title": "XaiTranscriber" }, + { + "$ref": "#/components/schemas/Reson8Transcriber", + "title": "Reson8Transcriber" + }, { "$ref": "#/components/schemas/VapiTranscriber", "title": "VapiTranscriber" @@ -29041,6 +29201,10 @@ "$ref": "#/components/schemas/CreateSonioxCredentialDTO", "title": "SonioxCredential" }, + { + "$ref": "#/components/schemas/CreateReson8CredentialDTO", + "title": "Reson8Credential" + }, { "$ref": "#/components/schemas/CreateSupabaseCredentialDTO", "title": "SupabaseCredential" @@ -29168,6 +29332,7 @@ "mistral": "#/components/schemas/CreateMistralCredentialDTO", "speechmatics": "#/components/schemas/CreateSpeechmaticsCredentialDTO", "soniox": "#/components/schemas/CreateSonioxCredentialDTO", + "reson8": "#/components/schemas/CreateReson8CredentialDTO", "google.calendar.oauth2-client": "#/components/schemas/CreateGoogleCalendarOAuth2ClientCredentialDTO", "google.calendar.oauth2-authorization": "#/components/schemas/CreateGoogleCalendarOAuth2AuthorizationCredentialDTO", "google.sheets.oauth2-authorization": "#/components/schemas/CreateGoogleSheetsOAuth2AuthorizationCredentialDTO", @@ -37056,6 +37221,10 @@ "$ref": "#/components/schemas/XaiTranscriber", "title": "XaiTranscriber" }, + { + "$ref": "#/components/schemas/Reson8Transcriber", + "title": "Reson8Transcriber" + }, { "$ref": "#/components/schemas/VapiTranscriber", "title": "VapiTranscriber" @@ -37619,6 +37788,10 @@ "$ref": "#/components/schemas/CreateSonioxCredentialDTO", "title": "SonioxCredential" }, + { + "$ref": "#/components/schemas/CreateReson8CredentialDTO", + "title": "Reson8Credential" + }, { "$ref": "#/components/schemas/CreateSupabaseCredentialDTO", "title": "SupabaseCredential" @@ -37746,6 +37919,7 @@ "mistral": "#/components/schemas/CreateMistralCredentialDTO", "speechmatics": "#/components/schemas/CreateSpeechmaticsCredentialDTO", "soniox": "#/components/schemas/CreateSonioxCredentialDTO", + "reson8": "#/components/schemas/CreateReson8CredentialDTO", "google.calendar.oauth2-client": "#/components/schemas/CreateGoogleCalendarOAuth2ClientCredentialDTO", "google.calendar.oauth2-authorization": "#/components/schemas/CreateGoogleCalendarOAuth2AuthorizationCredentialDTO", "google.sheets.oauth2-authorization": "#/components/schemas/CreateGoogleSheetsOAuth2AuthorizationCredentialDTO", @@ -37998,6 +38172,10 @@ "$ref": "#/components/schemas/XaiTranscriber", "title": "XaiTranscriber" }, + { + "$ref": "#/components/schemas/Reson8Transcriber", + "title": "Reson8Transcriber" + }, { "$ref": "#/components/schemas/VapiTranscriber", "title": "VapiTranscriber" @@ -38561,6 +38739,10 @@ "$ref": "#/components/schemas/CreateSonioxCredentialDTO", "title": "SonioxCredential" }, + { + "$ref": "#/components/schemas/CreateReson8CredentialDTO", + "title": "Reson8Credential" + }, { "$ref": "#/components/schemas/CreateSupabaseCredentialDTO", "title": "SupabaseCredential" @@ -38688,6 +38870,7 @@ "mistral": "#/components/schemas/CreateMistralCredentialDTO", "speechmatics": "#/components/schemas/CreateSpeechmaticsCredentialDTO", "soniox": "#/components/schemas/CreateSonioxCredentialDTO", + "reson8": "#/components/schemas/CreateReson8CredentialDTO", "google.calendar.oauth2-client": "#/components/schemas/CreateGoogleCalendarOAuth2ClientCredentialDTO", "google.calendar.oauth2-authorization": "#/components/schemas/CreateGoogleCalendarOAuth2AuthorizationCredentialDTO", "google.sheets.oauth2-authorization": "#/components/schemas/CreateGoogleSheetsOAuth2AuthorizationCredentialDTO", @@ -39036,6 +39219,10 @@ "$ref": "#/components/schemas/XaiTranscriber", "title": "XaiTranscriber" }, + { + "$ref": "#/components/schemas/Reson8Transcriber", + "title": "Reson8Transcriber" + }, { "$ref": "#/components/schemas/VapiTranscriber", "title": "VapiTranscriber" @@ -39599,6 +39786,10 @@ "$ref": "#/components/schemas/CreateSonioxCredentialDTO", "title": "SonioxCredential" }, + { + "$ref": "#/components/schemas/CreateReson8CredentialDTO", + "title": "Reson8Credential" + }, { "$ref": "#/components/schemas/CreateSupabaseCredentialDTO", "title": "SupabaseCredential" @@ -39726,6 +39917,7 @@ "mistral": "#/components/schemas/CreateMistralCredentialDTO", "speechmatics": "#/components/schemas/CreateSpeechmaticsCredentialDTO", "soniox": "#/components/schemas/CreateSonioxCredentialDTO", + "reson8": "#/components/schemas/CreateReson8CredentialDTO", "google.calendar.oauth2-client": "#/components/schemas/CreateGoogleCalendarOAuth2ClientCredentialDTO", "google.calendar.oauth2-authorization": "#/components/schemas/CreateGoogleCalendarOAuth2AuthorizationCredentialDTO", "google.sheets.oauth2-authorization": "#/components/schemas/CreateGoogleSheetsOAuth2AuthorizationCredentialDTO", @@ -40056,6 +40248,10 @@ "$ref": "#/components/schemas/XaiTranscriber", "title": "XaiTranscriber" }, + { + "$ref": "#/components/schemas/Reson8Transcriber", + "title": "Reson8Transcriber" + }, { "$ref": "#/components/schemas/VapiTranscriber", "title": "VapiTranscriber" @@ -40619,6 +40815,10 @@ "$ref": "#/components/schemas/CreateSonioxCredentialDTO", "title": "SonioxCredential" }, + { + "$ref": "#/components/schemas/CreateReson8CredentialDTO", + "title": "Reson8Credential" + }, { "$ref": "#/components/schemas/CreateSupabaseCredentialDTO", "title": "SupabaseCredential" @@ -40746,6 +40946,7 @@ "mistral": "#/components/schemas/CreateMistralCredentialDTO", "speechmatics": "#/components/schemas/CreateSpeechmaticsCredentialDTO", "soniox": "#/components/schemas/CreateSonioxCredentialDTO", + "reson8": "#/components/schemas/CreateReson8CredentialDTO", "google.calendar.oauth2-client": "#/components/schemas/CreateGoogleCalendarOAuth2ClientCredentialDTO", "google.calendar.oauth2-authorization": "#/components/schemas/CreateGoogleCalendarOAuth2AuthorizationCredentialDTO", "google.sheets.oauth2-authorization": "#/components/schemas/CreateGoogleSheetsOAuth2AuthorizationCredentialDTO", @@ -41077,6 +41278,10 @@ "$ref": "#/components/schemas/XaiTranscriber", "title": "XaiTranscriber" }, + { + "$ref": "#/components/schemas/Reson8Transcriber", + "title": "Reson8Transcriber" + }, { "$ref": "#/components/schemas/VapiTranscriber", "title": "VapiTranscriber" @@ -41640,6 +41845,10 @@ "$ref": "#/components/schemas/CreateSonioxCredentialDTO", "title": "SonioxCredential" }, + { + "$ref": "#/components/schemas/CreateReson8CredentialDTO", + "title": "Reson8Credential" + }, { "$ref": "#/components/schemas/CreateSupabaseCredentialDTO", "title": "SupabaseCredential" @@ -41767,6 +41976,7 @@ "mistral": "#/components/schemas/CreateMistralCredentialDTO", "speechmatics": "#/components/schemas/CreateSpeechmaticsCredentialDTO", "soniox": "#/components/schemas/CreateSonioxCredentialDTO", + "reson8": "#/components/schemas/CreateReson8CredentialDTO", "google.calendar.oauth2-client": "#/components/schemas/CreateGoogleCalendarOAuth2ClientCredentialDTO", "google.calendar.oauth2-authorization": "#/components/schemas/CreateGoogleCalendarOAuth2AuthorizationCredentialDTO", "google.sheets.oauth2-authorization": "#/components/schemas/CreateGoogleSheetsOAuth2AuthorizationCredentialDTO", @@ -41991,6 +42201,10 @@ "$ref": "#/components/schemas/XaiTranscriber", "title": "XaiTranscriber" }, + { + "$ref": "#/components/schemas/Reson8Transcriber", + "title": "Reson8Transcriber" + }, { "$ref": "#/components/schemas/VapiTranscriber", "title": "VapiTranscriber" @@ -42554,6 +42768,10 @@ "$ref": "#/components/schemas/CreateSonioxCredentialDTO", "title": "SonioxCredential" }, + { + "$ref": "#/components/schemas/CreateReson8CredentialDTO", + "title": "Reson8Credential" + }, { "$ref": "#/components/schemas/CreateSupabaseCredentialDTO", "title": "SupabaseCredential" @@ -42681,6 +42899,7 @@ "mistral": "#/components/schemas/CreateMistralCredentialDTO", "speechmatics": "#/components/schemas/CreateSpeechmaticsCredentialDTO", "soniox": "#/components/schemas/CreateSonioxCredentialDTO", + "reson8": "#/components/schemas/CreateReson8CredentialDTO", "google.calendar.oauth2-client": "#/components/schemas/CreateGoogleCalendarOAuth2ClientCredentialDTO", "google.calendar.oauth2-authorization": "#/components/schemas/CreateGoogleCalendarOAuth2AuthorizationCredentialDTO", "google.sheets.oauth2-authorization": "#/components/schemas/CreateGoogleSheetsOAuth2AuthorizationCredentialDTO", @@ -42881,6 +43100,10 @@ "$ref": "#/components/schemas/XaiTranscriber", "title": "XaiTranscriber" }, + { + "$ref": "#/components/schemas/Reson8Transcriber", + "title": "Reson8Transcriber" + }, { "$ref": "#/components/schemas/VapiTranscriber", "title": "VapiTranscriber" @@ -43444,6 +43667,10 @@ "$ref": "#/components/schemas/CreateSonioxCredentialDTO", "title": "SonioxCredential" }, + { + "$ref": "#/components/schemas/CreateReson8CredentialDTO", + "title": "Reson8Credential" + }, { "$ref": "#/components/schemas/CreateSupabaseCredentialDTO", "title": "SupabaseCredential" @@ -43571,6 +43798,7 @@ "mistral": "#/components/schemas/CreateMistralCredentialDTO", "speechmatics": "#/components/schemas/CreateSpeechmaticsCredentialDTO", "soniox": "#/components/schemas/CreateSonioxCredentialDTO", + "reson8": "#/components/schemas/CreateReson8CredentialDTO", "google.calendar.oauth2-client": "#/components/schemas/CreateGoogleCalendarOAuth2ClientCredentialDTO", "google.calendar.oauth2-authorization": "#/components/schemas/CreateGoogleCalendarOAuth2AuthorizationCredentialDTO", "google.sheets.oauth2-authorization": "#/components/schemas/CreateGoogleSheetsOAuth2AuthorizationCredentialDTO", @@ -44031,6 +44259,10 @@ "$ref": "#/components/schemas/XaiTranscriber", "title": "XaiTranscriber" }, + { + "$ref": "#/components/schemas/Reson8Transcriber", + "title": "Reson8Transcriber" + }, { "$ref": "#/components/schemas/VapiTranscriber", "title": "VapiTranscriber" @@ -44335,6 +44567,10 @@ "$ref": "#/components/schemas/CreateSonioxCredentialDTO", "title": "SonioxCredential" }, + { + "$ref": "#/components/schemas/CreateReson8CredentialDTO", + "title": "Reson8Credential" + }, { "$ref": "#/components/schemas/CreateSupabaseCredentialDTO", "title": "SupabaseCredential" @@ -44462,6 +44698,7 @@ "mistral": "#/components/schemas/CreateMistralCredentialDTO", "speechmatics": "#/components/schemas/CreateSpeechmaticsCredentialDTO", "soniox": "#/components/schemas/CreateSonioxCredentialDTO", + "reson8": "#/components/schemas/CreateReson8CredentialDTO", "google.calendar.oauth2-client": "#/components/schemas/CreateGoogleCalendarOAuth2ClientCredentialDTO", "google.calendar.oauth2-authorization": "#/components/schemas/CreateGoogleCalendarOAuth2AuthorizationCredentialDTO", "google.sheets.oauth2-authorization": "#/components/schemas/CreateGoogleSheetsOAuth2AuthorizationCredentialDTO", @@ -44731,6 +44968,10 @@ "$ref": "#/components/schemas/XaiTranscriber", "title": "XaiTranscriber" }, + { + "$ref": "#/components/schemas/Reson8Transcriber", + "title": "Reson8Transcriber" + }, { "$ref": "#/components/schemas/VapiTranscriber", "title": "VapiTranscriber" @@ -45035,6 +45276,10 @@ "$ref": "#/components/schemas/CreateSonioxCredentialDTO", "title": "SonioxCredential" }, + { + "$ref": "#/components/schemas/CreateReson8CredentialDTO", + "title": "Reson8Credential" + }, { "$ref": "#/components/schemas/CreateSupabaseCredentialDTO", "title": "SupabaseCredential" @@ -45162,6 +45407,7 @@ "mistral": "#/components/schemas/CreateMistralCredentialDTO", "speechmatics": "#/components/schemas/CreateSpeechmaticsCredentialDTO", "soniox": "#/components/schemas/CreateSonioxCredentialDTO", + "reson8": "#/components/schemas/CreateReson8CredentialDTO", "google.calendar.oauth2-client": "#/components/schemas/CreateGoogleCalendarOAuth2ClientCredentialDTO", "google.calendar.oauth2-authorization": "#/components/schemas/CreateGoogleCalendarOAuth2AuthorizationCredentialDTO", "google.sheets.oauth2-authorization": "#/components/schemas/CreateGoogleSheetsOAuth2AuthorizationCredentialDTO", @@ -45413,6 +45659,10 @@ "$ref": "#/components/schemas/XaiTranscriber", "title": "XaiTranscriber" }, + { + "$ref": "#/components/schemas/Reson8Transcriber", + "title": "Reson8Transcriber" + }, { "$ref": "#/components/schemas/VapiTranscriber", "title": "VapiTranscriber" @@ -45717,6 +45967,10 @@ "$ref": "#/components/schemas/CreateSonioxCredentialDTO", "title": "SonioxCredential" }, + { + "$ref": "#/components/schemas/CreateReson8CredentialDTO", + "title": "Reson8Credential" + }, { "$ref": "#/components/schemas/CreateSupabaseCredentialDTO", "title": "SupabaseCredential" @@ -45844,6 +46098,7 @@ "mistral": "#/components/schemas/CreateMistralCredentialDTO", "speechmatics": "#/components/schemas/CreateSpeechmaticsCredentialDTO", "soniox": "#/components/schemas/CreateSonioxCredentialDTO", + "reson8": "#/components/schemas/CreateReson8CredentialDTO", "google.calendar.oauth2-client": "#/components/schemas/CreateGoogleCalendarOAuth2ClientCredentialDTO", "google.calendar.oauth2-authorization": "#/components/schemas/CreateGoogleCalendarOAuth2AuthorizationCredentialDTO", "google.sheets.oauth2-authorization": "#/components/schemas/CreateGoogleSheetsOAuth2AuthorizationCredentialDTO", @@ -48073,6 +48328,16 @@ "call.in-progress.error-vapifault-xai-transcriber-invalid-config", "call.in-progress.error-vapifault-xai-transcriber-server-error", "call.in-progress.error-vapifault-xai-transcriber-failed", + "pipeline-error-reson8-transcriber-auth-failed", + "pipeline-error-reson8-transcriber-rate-limited", + "pipeline-error-reson8-transcriber-invalid-config", + "pipeline-error-reson8-transcriber-closed", + "pipeline-error-reson8-transcriber-failed", + "call.in-progress.error-vapifault-reson8-transcriber-auth-failed", + "call.in-progress.error-vapifault-reson8-transcriber-rate-limited", + "call.in-progress.error-vapifault-reson8-transcriber-invalid-config", + "call.in-progress.error-vapifault-reson8-transcriber-closed", + "call.in-progress.error-vapifault-reson8-transcriber-failed", "pipeline-error-cartesia-transcriber-failed", "call.in-progress.error-vapifault-cartesia-transcriber-failed", "call.in-progress.error-pipeline-no-available-llm-model", @@ -48408,6 +48673,7 @@ "call.in-progress.error-vapifault-cartesia-socket-hang-up", "call.in-progress.error-vapifault-cartesia-requested-payment", "call.in-progress.error-providerfault-cartesia-500-server-error", + "call.in-progress.error-providerfault-cartesia-502-server-error", "call.in-progress.error-providerfault-cartesia-503-server-error", "call.in-progress.error-providerfault-cartesia-522-server-error", "pipeline-error-eleven-labs-voice-not-found", @@ -48528,6 +48794,16 @@ "call.in-progress.error-vapifault-xai-transcriber-invalid-config", "call.in-progress.error-vapifault-xai-transcriber-server-error", "call.in-progress.error-vapifault-xai-transcriber-failed", + "pipeline-error-reson8-transcriber-auth-failed", + "pipeline-error-reson8-transcriber-rate-limited", + "pipeline-error-reson8-transcriber-invalid-config", + "pipeline-error-reson8-transcriber-closed", + "pipeline-error-reson8-transcriber-failed", + "call.in-progress.error-vapifault-reson8-transcriber-auth-failed", + "call.in-progress.error-vapifault-reson8-transcriber-rate-limited", + "call.in-progress.error-vapifault-reson8-transcriber-invalid-config", + "call.in-progress.error-vapifault-reson8-transcriber-closed", + "call.in-progress.error-vapifault-reson8-transcriber-failed", "pipeline-error-cartesia-transcriber-failed", "call.in-progress.error-vapifault-cartesia-transcriber-failed", "call.in-progress.error-warm-transfer-max-duration", @@ -49739,6 +50015,697 @@ } } }, + "CallHealthDashboardApiErrorDTO": { + "type": "object", + "properties": { + "code": { + "type": "string", + "minLength": 1 + }, + "message": { + "type": "string", + "minLength": 1 + }, + "requestId": { + "type": "string", + "minLength": 1 + }, + "retryable": { + "type": "boolean" + } + }, + "required": [ + "code", + "message", + "requestId", + "retryable" + ] + }, + "CallHealthDashboardAssistantReferenceDTO": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string", + "minLength": 1 + }, + "latestVersion": { + "type": "string", + "description": "Current assistant.latest_version label; omitted when unavailable, never a goal revision.", + "minLength": 1 + } + }, + "required": [ + "id" + ] + }, + "CallHealthDashboardGoalDefinitionDTO": { + "type": "object", + "properties": { + "goalId": { + "type": "string", + "description": "Explicit selected goal identity, stable across its revisions.", + "format": "uuid" + }, + "succeedsWhen": { + "type": "string", + "description": "Current visible revision of the selected goal.", + "minLength": 1, + "maxLength": 600 + }, + "leaveOut": { + "type": "string", + "description": "Current optional semantic exclusions.", + "minLength": 1, + "maxLength": 300 + } + }, + "required": [ + "goalId", + "succeedsWhen" + ] + }, + "CallHealthDashboardGoalSummaryDTO": { + "type": "object", + "properties": { + "registeredCallCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "eligibleCallCount": { + "type": "integer", + "description": "Calls with an accepted semantic eligibility decision and binary goal outcome.", + "minimum": 0, + "maximum": 9007199254740991 + }, + "ineligibleCallCount": { + "type": "integer", + "description": "Accepted semantic exclusions; absent from the goal denominator.", + "minimum": 0, + "maximum": 9007199254740991 + }, + "unassessedCallCount": { + "type": "integer", + "description": "No accepted eligibility decision, including technical or privacy exclusions.", + "minimum": 0, + "maximum": 9007199254740991 + }, + "goalMetCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "goalNotMetCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "evaluatedCallCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "analyzedCallCount": { + "type": "integer", + "description": "Accepted current-goal results, including ineligible; independent of issue processing.", + "minimum": 0, + "maximum": 9007199254740991 + }, + "goalMetRate": { + "type": "number", + "description": "Goal-met / evaluatedCallCount; omitted when there are no binary outcomes.", + "minimum": 0, + "maximum": 1 + }, + "goalNotMetRate": { + "type": "number", + "minimum": 0, + "maximum": 1 + } + }, + "required": [ + "registeredCallCount", + "eligibleCallCount", + "ineligibleCallCount", + "unassessedCallCount", + "goalMetCount", + "goalNotMetCount", + "evaluatedCallCount", + "analyzedCallCount" + ] + }, + "CallHealthDashboardAssistantOverviewDTO": { + "type": "object", + "properties": { + "assistant": { + "description": "Current permitted assistant metadata, fetched in a batch.", + "allOf": [ + { + "$ref": "#/components/schemas/CallHealthDashboardAssistantReferenceDTO" + } + ] + }, + "goalDefinition": { + "description": "Every row represents an explicitly selected, tenant-owned assistant goal.", + "allOf": [ + { + "$ref": "#/components/schemas/CallHealthDashboardGoalDefinitionDTO" + } + ] + }, + "goal": { + "description": "Window totals for the selected goal, including zero-result assistants.", + "allOf": [ + { + "$ref": "#/components/schemas/CallHealthDashboardGoalSummaryDTO" + } + ] + } + }, + "required": [ + "assistant", + "goalDefinition", + "goal" + ] + }, + "CallHealthDashboardIntakeCoverageDTO": { + "type": "object", + "properties": { + "deliveryMode": { + "type": "string", + "enum": [ + "bestEffort" + ] + }, + "endToEndCoverage": { + "type": "string", + "enum": [ + "unknown" + ] + } + }, + "required": [ + "deliveryMode", + "endToEndCoverage" + ] + }, + "CallHealthDashboardGoalGapsDTO": { + "type": "object", + "properties": { + "pending": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "unavailable": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "skipped": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "error": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "excluded": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + } + }, + "required": [ + "pending", + "unavailable", + "skipped", + "error", + "excluded" + ] + }, + "CallHealthDashboardClassificationCoverageDTO": { + "type": "object", + "properties": { + "pending": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "unavailable": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "skipped": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "error": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "excluded": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "complete": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "partial": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + } + }, + "required": [ + "pending", + "unavailable", + "skipped", + "error", + "excluded", + "complete", + "partial" + ] + }, + "CallHealthDashboardAssignmentCoverageDTO": { + "type": "object", + "properties": { + "pending": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "unmatched": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "skipped": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "unavailable": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "error": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "coverageGapCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + } + }, + "required": [ + "pending", + "unmatched", + "skipped", + "unavailable", + "error", + "coverageGapCount" + ] + }, + "CallHealthDashboardDiscoveryCoverageDTO": { + "type": "object", + "properties": { + "pendingIssueCategoryCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "blockedIssueCategoryCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + } + }, + "required": [ + "pendingIssueCategoryCount", + "blockedIssueCategoryCount" + ] + }, + "CallHealthDashboardSweepCoverageDTO": { + "type": "object", + "properties": { + "state": { + "type": "string", + "enum": [ + "idle", + "enumerating", + "processing", + "deduplicating", + "blocked" + ] + } + }, + "required": [ + "state" + ] + }, + "CallHealthDashboardCoverageDTO": { + "type": "object", + "properties": { + "asOf": { + "type": "string", + "format": "date-time", + "pattern": "^\\d{4}-\\d{2}-\\d{2}T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.(\\d{1,6}))?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$" + }, + "intake": { + "$ref": "#/components/schemas/CallHealthDashboardIntakeCoverageDTO" + }, + "goal": { + "$ref": "#/components/schemas/CallHealthDashboardGoalGapsDTO" + }, + "classification": { + "$ref": "#/components/schemas/CallHealthDashboardClassificationCoverageDTO" + }, + "assignment": { + "$ref": "#/components/schemas/CallHealthDashboardAssignmentCoverageDTO" + }, + "discovery": { + "$ref": "#/components/schemas/CallHealthDashboardDiscoveryCoverageDTO" + }, + "sweep": { + "$ref": "#/components/schemas/CallHealthDashboardSweepCoverageDTO" + }, + "countsComplete": { + "type": "boolean", + "description": "Completeness of received authorized work only; never source delivery coverage." + } + }, + "required": [ + "asOf", + "intake", + "goal", + "classification", + "assignment", + "discovery", + "sweep", + "countsComplete" + ] + }, + "CallHealthDashboardAssistantListResponseDTO": { + "type": "object", + "properties": { + "results": { + "description": "Visible nondeleted assistants in ascending ID transport order; sort the exhausted result in the frontend.", + "type": "array", + "items": { + "$ref": "#/components/schemas/CallHealthDashboardAssistantOverviewDTO" + } + }, + "nextCursor": { + "type": "string", + "description": "Opaque ID continuation bound to tenant, completion window and filters.", + "minLength": 1, + "maxLength": 2048, + "pattern": "^[A-Za-z0-9_-]+$" + }, + "coverage": { + "description": "Received-work processing coverage, separate from analyzed goal results.", + "allOf": [ + { + "$ref": "#/components/schemas/CallHealthDashboardCoverageDTO" + } + ] + } + }, + "required": [ + "results", + "coverage" + ] + }, + "CallHealthDashboardGoalOptionDTO": { + "type": "object", + "properties": { + "goalId": { + "type": "string", + "description": "Explicit selected goal identity, stable across its revisions.", + "format": "uuid" + }, + "succeedsWhen": { + "type": "string", + "description": "Current visible revision of the selected goal.", + "minLength": 1, + "maxLength": 600 + }, + "leaveOut": { + "type": "string", + "description": "Current optional semantic exclusions.", + "minLength": 1, + "maxLength": 300 + }, + "goalVersion": { + "type": "string", + "description": "Current revision for display; clients select by stable goalId, never by this version.", + "pattern": "^[1-9]\\d{0,18}$", + "minLength": 1, + "maxLength": 19 + } + }, + "required": [ + "goalId", + "succeedsWhen", + "goalVersion" + ] + }, + "CallHealthDashboardAssistantGoalsDTO": { + "type": "object", + "properties": { + "assistantId": { + "type": "string", + "description": "Requested assistant identity whose current published row remains visible.", + "format": "uuid" + }, + "goals": { + "description": "Empty when this visible assistant has no goals; no goal is automatically selected.", + "type": "array", + "items": { + "$ref": "#/components/schemas/CallHealthDashboardGoalOptionDTO" + } + } + }, + "required": [ + "assistantId", + "goals" + ] + }, + "CallHealthDashboardAssistantGoalsResponseDTO": { + "type": "object", + "properties": { + "results": { + "description": "Complete requested visible assistant cohort, including assistants with no goal options.", + "type": "array", + "items": { + "$ref": "#/components/schemas/CallHealthDashboardAssistantGoalsDTO" + } + } + }, + "required": [ + "results" + ] + }, + "CallHealthDashboardGoalDailyDTO": { + "type": "object", + "properties": { + "registeredCallCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "eligibleCallCount": { + "type": "integer", + "description": "Calls with an accepted semantic eligibility decision and binary goal outcome.", + "minimum": 0, + "maximum": 9007199254740991 + }, + "ineligibleCallCount": { + "type": "integer", + "description": "Accepted semantic exclusions; absent from the goal denominator.", + "minimum": 0, + "maximum": 9007199254740991 + }, + "unassessedCallCount": { + "type": "integer", + "description": "No accepted eligibility decision, including technical or privacy exclusions.", + "minimum": 0, + "maximum": 9007199254740991 + }, + "goalMetCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "goalNotMetCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "evaluatedCallCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "analyzedCallCount": { + "type": "integer", + "description": "Accepted current-goal results, including ineligible; independent of issue processing.", + "minimum": 0, + "maximum": 9007199254740991 + }, + "goalMetRate": { + "type": "number", + "description": "Goal-met / evaluatedCallCount; omitted when there are no binary outcomes.", + "minimum": 0, + "maximum": 1 + }, + "goalNotMetRate": { + "type": "number", + "minimum": 0, + "maximum": 1 + }, + "date": { + "type": "string", + "description": "UTC calendar date; the first and last buckets are clipped to the requested window.", + "format": "date" + } + }, + "required": [ + "registeredCallCount", + "eligibleCallCount", + "ineligibleCallCount", + "unassessedCallCount", + "goalMetCount", + "goalNotMetCount", + "evaluatedCallCount", + "analyzedCallCount", + "date" + ] + }, + "CallHealthDashboardWindowDTO": { + "type": "object", + "properties": { + "callTimeGte": { + "type": "string", + "format": "date-time", + "pattern": "^\\d{4}-\\d{2}-\\d{2}T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.(\\d{1,6}))?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$" + }, + "callTimeLt": { + "type": "string", + "format": "date-time", + "pattern": "^\\d{4}-\\d{2}-\\d{2}T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.(\\d{1,6}))?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$" + } + }, + "required": [ + "callTimeGte", + "callTimeLt" + ] + }, + "CallHealthDashboardSeriesPageDTO": { + "type": "object", + "properties": { + "window": { + "description": "Full resolved completion window used by every total, rate and coverage count.", + "allOf": [ + { + "$ref": "#/components/schemas/CallHealthDashboardWindowDTO" + } + ] + }, + "pageWindow": { + "description": "Clipped completion window represented by this page's daily buckets.", + "allOf": [ + { + "$ref": "#/components/schemas/CallHealthDashboardWindowDTO" + } + ] + }, + "nextCursor": { + "type": "string", + "description": "Continue chart dates only; independent of the issue-row nextCursor.", + "minLength": 1, + "maxLength": 2048, + "pattern": "^[A-Za-z0-9_-]+$" + } + }, + "required": [ + "window", + "pageWindow" + ] + }, + "CallHealthDashboardAssistantSummaryResponseDTO": { + "type": "object", + "properties": { + "assistant": { + "description": "Current permitted assistant metadata, fetched in a batch.", + "allOf": [ + { + "$ref": "#/components/schemas/CallHealthDashboardAssistantReferenceDTO" + } + ] + }, + "goalDefinition": { + "description": "Every row represents an explicitly selected, tenant-owned assistant goal.", + "allOf": [ + { + "$ref": "#/components/schemas/CallHealthDashboardGoalDefinitionDTO" + } + ] + }, + "goal": { + "description": "Window totals for the selected goal, including zero-result assistants.", + "allOf": [ + { + "$ref": "#/components/schemas/CallHealthDashboardGoalSummaryDTO" + } + ] + }, + "results": { + "description": "One ascending contiguous page of UTC dates, including empty buckets.", + "minItems": 1, + "maxItems": 100, + "type": "array", + "items": { + "$ref": "#/components/schemas/CallHealthDashboardGoalDailyDTO" + } + }, + "seriesPage": { + "$ref": "#/components/schemas/CallHealthDashboardSeriesPageDTO" + }, + "coverage": { + "description": "Received-work processing coverage, separate from success rates.", + "allOf": [ + { + "$ref": "#/components/schemas/CallHealthDashboardCoverageDTO" + } + ] + } + }, + "required": [ + "assistant", + "goalDefinition", + "goal", + "results", + "seriesPage", + "coverage" + ] + }, "DeveloperMessage": { "type": "object", "properties": { @@ -61280,53 +62247,6 @@ "toolId" ] }, - "CallHealthDashboardApiErrorDTO": { - "type": "object", - "properties": { - "code": { - "type": "string", - "minLength": 1 - }, - "message": { - "type": "string", - "minLength": 1 - }, - "requestId": { - "type": "string", - "minLength": 1 - }, - "retryable": { - "type": "boolean" - } - }, - "required": [ - "code", - "message", - "requestId", - "retryable" - ] - }, - "CallHealthDashboardAssistantReferenceDTO": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid" - }, - "name": { - "type": "string", - "minLength": 1 - }, - "latestVersion": { - "type": "string", - "description": "Current assistant.latest_version label; omitted when unavailable, never a goal revision.", - "minLength": 1 - } - }, - "required": [ - "id" - ] - }, "CallHealthDashboardIssueDailyDTO": { "type": "object", "properties": { @@ -61468,57 +62388,6 @@ "coverage" ] }, - "CallHealthDashboardWindowDTO": { - "type": "object", - "properties": { - "callTimeGte": { - "type": "string", - "format": "date-time", - "pattern": "^\\d{4}-\\d{2}-\\d{2}T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.(\\d{1,6}))?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$" - }, - "callTimeLt": { - "type": "string", - "format": "date-time", - "pattern": "^\\d{4}-\\d{2}-\\d{2}T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.(\\d{1,6}))?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$" - } - }, - "required": [ - "callTimeGte", - "callTimeLt" - ] - }, - "CallHealthDashboardSeriesPageDTO": { - "type": "object", - "properties": { - "window": { - "description": "Full resolved completion window used by every total, rate and coverage count.", - "allOf": [ - { - "$ref": "#/components/schemas/CallHealthDashboardWindowDTO" - } - ] - }, - "pageWindow": { - "description": "Clipped completion window represented by this page's daily buckets.", - "allOf": [ - { - "$ref": "#/components/schemas/CallHealthDashboardWindowDTO" - } - ] - }, - "nextCursor": { - "type": "string", - "description": "Continue chart dates only; independent of the issue-row nextCursor.", - "minLength": 1, - "maxLength": 2048, - "pattern": "^[A-Za-z0-9_-]+$" - } - }, - "required": [ - "window", - "pageWindow" - ] - }, "CallHealthDashboardFacetsDTO": { "type": "object", "properties": { @@ -61538,235 +62407,6 @@ "statuses" ] }, - "CallHealthDashboardIntakeCoverageDTO": { - "type": "object", - "properties": { - "deliveryMode": { - "type": "string", - "enum": [ - "bestEffort" - ] - }, - "endToEndCoverage": { - "type": "string", - "enum": [ - "unknown" - ] - } - }, - "required": [ - "deliveryMode", - "endToEndCoverage" - ] - }, - "CallHealthDashboardGoalGapsDTO": { - "type": "object", - "properties": { - "pending": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "unavailable": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "skipped": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "error": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "excluded": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "pending", - "unavailable", - "skipped", - "error", - "excluded" - ] - }, - "CallHealthDashboardClassificationCoverageDTO": { - "type": "object", - "properties": { - "pending": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "unavailable": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "skipped": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "error": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "excluded": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "complete": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "partial": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "pending", - "unavailable", - "skipped", - "error", - "excluded", - "complete", - "partial" - ] - }, - "CallHealthDashboardAssignmentCoverageDTO": { - "type": "object", - "properties": { - "pending": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "unmatched": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "skipped": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "unavailable": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "error": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "coverageGapCount": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "pending", - "unmatched", - "skipped", - "unavailable", - "error", - "coverageGapCount" - ] - }, - "CallHealthDashboardDiscoveryCoverageDTO": { - "type": "object", - "properties": { - "pendingIssueCategoryCount": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "blockedIssueCategoryCount": { - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "pendingIssueCategoryCount", - "blockedIssueCategoryCount" - ] - }, - "CallHealthDashboardSweepCoverageDTO": { - "type": "object", - "properties": { - "state": { - "type": "string", - "enum": [ - "idle", - "enumerating", - "processing", - "deduplicating", - "blocked" - ] - } - }, - "required": [ - "state" - ] - }, - "CallHealthDashboardCoverageDTO": { - "type": "object", - "properties": { - "asOf": { - "type": "string", - "format": "date-time", - "pattern": "^\\d{4}-\\d{2}-\\d{2}T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.(\\d{1,6}))?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$" - }, - "intake": { - "$ref": "#/components/schemas/CallHealthDashboardIntakeCoverageDTO" - }, - "goal": { - "$ref": "#/components/schemas/CallHealthDashboardGoalGapsDTO" - }, - "classification": { - "$ref": "#/components/schemas/CallHealthDashboardClassificationCoverageDTO" - }, - "assignment": { - "$ref": "#/components/schemas/CallHealthDashboardAssignmentCoverageDTO" - }, - "discovery": { - "$ref": "#/components/schemas/CallHealthDashboardDiscoveryCoverageDTO" - }, - "sweep": { - "$ref": "#/components/schemas/CallHealthDashboardSweepCoverageDTO" - }, - "countsComplete": { - "type": "boolean", - "description": "Completeness of received authorized work only; never source delivery coverage." - } - }, - "required": [ - "asOf", - "intake", - "goal", - "classification", - "assignment", - "discovery", - "sweep", - "countsComplete" - ] - }, "CallHealthDashboardIssueListResponseDTO": { "type": "object", "properties": { @@ -70213,6 +70853,62 @@ "results" ] }, + "CallHealthDashboardAffectedCallDTO": { + "type": "object", + "properties": { + "callId": { + "type": "string", + "format": "uuid" + }, + "assistantId": { + "type": "string", + "format": "uuid" + }, + "callTime": { + "type": "string", + "format": "date-time", + "pattern": "^\\d{4}-\\d{2}-\\d{2}T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.(\\d{1,6}))?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$", + "description": "Call completion time (endedAt), never startedAt." + }, + "callAvailability": { + "type": "string", + "enum": [ + "available", + "unavailable" + ] + } + }, + "required": [ + "callId", + "assistantId", + "callTime", + "callAvailability" + ] + }, + "CallHealthDashboardAffectedCallsResponseDTO": { + "type": "object", + "properties": { + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/CallHealthDashboardAffectedCallDTO" + } + }, + "nextCursor": { + "type": "string", + "minLength": 1, + "maxLength": 2048, + "pattern": "^[A-Za-z0-9_-]+$" + }, + "coverage": { + "$ref": "#/components/schemas/CallHealthDashboardCoverageDTO" + } + }, + "required": [ + "results", + "coverage" + ] + }, "CreateOrgDTO": { "type": "object", "properties": { @@ -73387,6 +74083,54 @@ "updatedAt" ] }, + "Reson8Credential": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "enum": [ + "reson8" + ] + }, + "apiKey": { + "type": "string", + "pattern": "\\S", + "description": "This is not returned in the API." + }, + "id": { + "type": "string", + "description": "This is the unique identifier for the credential." + }, + "orgId": { + "type": "string", + "description": "This is the unique identifier for the org that this credential belongs to." + }, + "createdAt": { + "format": "date-time", + "type": "string", + "description": "This is the ISO 8601 date-time string of when the credential was created." + }, + "updatedAt": { + "format": "date-time", + "type": "string", + "description": "This is the ISO 8601 date-time string of when the assistant was last updated." + }, + "name": { + "type": "string", + "description": "This is the name of credential. This is just for your reference.", + "minLength": 1, + "maxLength": 40 + } + }, + "required": [ + "provider", + "apiKey", + "id", + "orgId", + "createdAt", + "updatedAt" + ] + }, "SonioxCredential": { "type": "object", "properties": { @@ -74656,6 +75400,32 @@ "bucketPlan" ] }, + "CreateReson8CredentialDTO": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "enum": [ + "reson8" + ] + }, + "apiKey": { + "type": "string", + "pattern": "\\S", + "description": "This is not returned in the API." + }, + "name": { + "type": "string", + "description": "This is the name of credential. This is just for your reference.", + "minLength": 1, + "maxLength": 40 + } + }, + "required": [ + "provider", + "apiKey" + ] + }, "CreateSonioxCredentialDTO": { "type": "object", "properties": { @@ -76391,6 +77161,28 @@ } } }, + "UpdateReson8CredentialDTO": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "enum": [ + "reson8" + ] + }, + "apiKey": { + "type": "string", + "pattern": "\\S", + "description": "This is not returned in the API." + }, + "name": { + "type": "string", + "description": "This is the name of credential. This is just for your reference.", + "minLength": 1, + "maxLength": 40 + } + } + }, "UpdateSonioxCredentialDTO": { "type": "object", "properties": { @@ -80704,6 +81496,16 @@ "call.in-progress.error-vapifault-xai-transcriber-invalid-config", "call.in-progress.error-vapifault-xai-transcriber-server-error", "call.in-progress.error-vapifault-xai-transcriber-failed", + "pipeline-error-reson8-transcriber-auth-failed", + "pipeline-error-reson8-transcriber-rate-limited", + "pipeline-error-reson8-transcriber-invalid-config", + "pipeline-error-reson8-transcriber-closed", + "pipeline-error-reson8-transcriber-failed", + "call.in-progress.error-vapifault-reson8-transcriber-auth-failed", + "call.in-progress.error-vapifault-reson8-transcriber-rate-limited", + "call.in-progress.error-vapifault-reson8-transcriber-invalid-config", + "call.in-progress.error-vapifault-reson8-transcriber-closed", + "call.in-progress.error-vapifault-reson8-transcriber-failed", "pipeline-error-cartesia-transcriber-failed", "call.in-progress.error-vapifault-cartesia-transcriber-failed", "call.in-progress.error-pipeline-no-available-llm-model", @@ -81039,6 +81841,7 @@ "call.in-progress.error-vapifault-cartesia-socket-hang-up", "call.in-progress.error-vapifault-cartesia-requested-payment", "call.in-progress.error-providerfault-cartesia-500-server-error", + "call.in-progress.error-providerfault-cartesia-502-server-error", "call.in-progress.error-providerfault-cartesia-503-server-error", "call.in-progress.error-providerfault-cartesia-522-server-error", "pipeline-error-eleven-labs-voice-not-found", @@ -81159,6 +81962,16 @@ "call.in-progress.error-vapifault-xai-transcriber-invalid-config", "call.in-progress.error-vapifault-xai-transcriber-server-error", "call.in-progress.error-vapifault-xai-transcriber-failed", + "pipeline-error-reson8-transcriber-auth-failed", + "pipeline-error-reson8-transcriber-rate-limited", + "pipeline-error-reson8-transcriber-invalid-config", + "pipeline-error-reson8-transcriber-closed", + "pipeline-error-reson8-transcriber-failed", + "call.in-progress.error-vapifault-reson8-transcriber-auth-failed", + "call.in-progress.error-vapifault-reson8-transcriber-rate-limited", + "call.in-progress.error-vapifault-reson8-transcriber-invalid-config", + "call.in-progress.error-vapifault-reson8-transcriber-closed", + "call.in-progress.error-vapifault-reson8-transcriber-failed", "pipeline-error-cartesia-transcriber-failed", "call.in-progress.error-vapifault-cartesia-transcriber-failed", "call.in-progress.error-warm-transfer-max-duration", @@ -82174,6 +82987,16 @@ "call.in-progress.error-vapifault-xai-transcriber-invalid-config", "call.in-progress.error-vapifault-xai-transcriber-server-error", "call.in-progress.error-vapifault-xai-transcriber-failed", + "pipeline-error-reson8-transcriber-auth-failed", + "pipeline-error-reson8-transcriber-rate-limited", + "pipeline-error-reson8-transcriber-invalid-config", + "pipeline-error-reson8-transcriber-closed", + "pipeline-error-reson8-transcriber-failed", + "call.in-progress.error-vapifault-reson8-transcriber-auth-failed", + "call.in-progress.error-vapifault-reson8-transcriber-rate-limited", + "call.in-progress.error-vapifault-reson8-transcriber-invalid-config", + "call.in-progress.error-vapifault-reson8-transcriber-closed", + "call.in-progress.error-vapifault-reson8-transcriber-failed", "pipeline-error-cartesia-transcriber-failed", "call.in-progress.error-vapifault-cartesia-transcriber-failed", "call.in-progress.error-pipeline-no-available-llm-model", @@ -82509,6 +83332,7 @@ "call.in-progress.error-vapifault-cartesia-socket-hang-up", "call.in-progress.error-vapifault-cartesia-requested-payment", "call.in-progress.error-providerfault-cartesia-500-server-error", + "call.in-progress.error-providerfault-cartesia-502-server-error", "call.in-progress.error-providerfault-cartesia-503-server-error", "call.in-progress.error-providerfault-cartesia-522-server-error", "pipeline-error-eleven-labs-voice-not-found", @@ -82629,6 +83453,16 @@ "call.in-progress.error-vapifault-xai-transcriber-invalid-config", "call.in-progress.error-vapifault-xai-transcriber-server-error", "call.in-progress.error-vapifault-xai-transcriber-failed", + "pipeline-error-reson8-transcriber-auth-failed", + "pipeline-error-reson8-transcriber-rate-limited", + "pipeline-error-reson8-transcriber-invalid-config", + "pipeline-error-reson8-transcriber-closed", + "pipeline-error-reson8-transcriber-failed", + "call.in-progress.error-vapifault-reson8-transcriber-auth-failed", + "call.in-progress.error-vapifault-reson8-transcriber-rate-limited", + "call.in-progress.error-vapifault-reson8-transcriber-invalid-config", + "call.in-progress.error-vapifault-reson8-transcriber-closed", + "call.in-progress.error-vapifault-reson8-transcriber-failed", "pipeline-error-cartesia-transcriber-failed", "call.in-progress.error-vapifault-cartesia-transcriber-failed", "call.in-progress.error-warm-transfer-max-duration", From d86d26797a1debe26f2b03d999bcb407e6a4c24d Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 5 Nov 2026 00:24:44 +0000 Subject: [PATCH 05/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 2d8be97e6..d34cda010 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -47715,23 +47715,23 @@ "properties": { "modelLatency": { "type": "number", - "description": "This is the model latency for the first token." + "description": "This is the time in milliseconds from the start of the turn's model stage to the model's first output token.\nIt includes knowledge-base retrieval and request routing before the provider request. 0 when it was not measured on this turn." }, "voiceLatency": { "type": "number", - "description": "This is the voice latency from the model output." + "description": "This is the time in milliseconds from the model's first output token to the first reply audio reaching Vapi's turn-taking buffer.\nIt includes the wait to collect enough text for the first voice request (set by `voice.chunkPlan`), the voice provider's time to first audio, and any sample-rate conversion. 0 when it was not measured on this turn." }, "transcriberLatency": { "type": "number", - "description": "This is the transcriber latency from the user speech." + "description": "This is the time in milliseconds from the user's last voice activity signal, normally the end of speech, to the transcriber returning the words of that speech.\n0 when it was not measured, including when the words arrived before that signal." }, "endpointingLatency": { "type": "number", - "description": "This is the endpointing latency." + "description": "This is the time in milliseconds from the transcriber returning the words to Vapi deciding the turn is over and sending it to the model.\n0 when the reply was not triggered by sending a user transcript to the model." }, "turnLatency": { "type": "number", - "description": "This is the latency for the whole turn." + "description": "This is the time in milliseconds from the user's last voice activity signal to Vapi starting to send the assistant's reply audio.\nIt is computed as `transcriberLatency` + `endpointingLatency` + the time from that decision to the reply starting, so when `transcriberLatency` is 0 because it was not measured, this total leaves that interval out. `modelLatency` and `voiceLatency` fall inside the last part, so the fields do not add up to this value." } } }, @@ -47739,7 +47739,7 @@ "type": "object", "properties": { "turnLatencies": { - "description": "These are the individual latencies for each turn.", + "description": "These are the individual latencies for each turn, in milliseconds, measured on Vapi's servers without network or playback time.\nA turn is recorded only when the assistant replies to the user. A first message the assistant speaks first is not recorded; with `assistant-waits-for-user` it is recorded, with `endpointingLatency` 0. A component that was not measured on a turn is 0.", "type": "array", "items": { "$ref": "#/components/schemas/TurnLatency" @@ -47747,11 +47747,11 @@ }, "modelLatencyAverage": { "type": "number", - "description": "This is the average latency for the model to output the first token." + "description": "This is the average `modelLatency` across `turnLatencies`, in milliseconds.\nTurns that recorded 0 because the model latency was not measured are included in the average." }, "voiceLatencyAverage": { "type": "number", - "description": "This is the average latency for the text to speech." + "description": "This is the average `voiceLatency` across `turnLatencies`, in milliseconds.\nTurns that recorded 0 because the voice latency was not measured are included in the average." }, "transcriberLatencyAverage": { "type": "number", @@ -77237,8 +77237,7 @@ } }, "required": [ - "endUserId", - "organizationId" + "endUserId" ] }, "CredentialSessionError": { From 19ce8aaeddc8e81d1923ceb7bf22a7aadb420f05 Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 6 Nov 2026 00:25:12 +0000 Subject: [PATCH 06/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 72 +++++++++++++++++++++++++++++++++++++- 1 file changed, 71 insertions(+), 1 deletion(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index d34cda010..b827ea73d 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -36277,6 +36277,11 @@ "type": "string", "description": "The host URL for Langfuse project. Eg: https://cloud.langfuse.com" }, + "serverVersion": { + "type": "string", + "description": "The semver version of your Langfuse server, e.g. 3.63.0, as its /api/public/health endpoint reports it. Optional.", + "maxLength": 32 + }, "name": { "type": "string", "description": "This is the name of credential. This is just for your reference.", @@ -66804,6 +66809,10 @@ { "$ref": "#/components/schemas/JSONQueryOnCallTableWithStructuredOutputColumn", "title": "JSONQueryOnCallTableWithStructuredOutputColumn" + }, + { + "$ref": "#/components/schemas/JSONQueryOnEventsTable", + "title": "JSONQueryOnEventsTable" } ] } @@ -66934,6 +66943,10 @@ { "$ref": "#/components/schemas/JSONQueryOnCallTableWithStructuredOutputColumn", "title": "JSONQueryOnCallTableWithStructuredOutputColumn" + }, + { + "$ref": "#/components/schemas/JSONQueryOnEventsTable", + "title": "JSONQueryOnEventsTable" } ] } @@ -67012,6 +67025,10 @@ { "$ref": "#/components/schemas/JSONQueryOnCallTableWithStructuredOutputColumn", "title": "JSONQueryOnCallTableWithStructuredOutputColumn" + }, + { + "$ref": "#/components/schemas/JSONQueryOnEventsTable", + "title": "JSONQueryOnEventsTable" } ] } @@ -67186,6 +67203,10 @@ { "$ref": "#/components/schemas/JSONQueryOnCallTableWithStructuredOutputColumn", "title": "JSONQueryOnCallTableWithStructuredOutputColumn" + }, + { + "$ref": "#/components/schemas/JSONQueryOnEventsTable", + "title": "JSONQueryOnEventsTable" } ] } @@ -67260,6 +67281,10 @@ { "$ref": "#/components/schemas/JSONQueryOnCallTableWithStructuredOutputColumn", "title": "JSONQueryOnCallTableWithStructuredOutputColumn" + }, + { + "$ref": "#/components/schemas/JSONQueryOnEventsTable", + "title": "JSONQueryOnEventsTable" } ] } @@ -67308,6 +67333,10 @@ { "$ref": "#/components/schemas/JSONQueryOnCallTableWithStructuredOutputColumn", "title": "JSONQueryOnCallTableWithStructuredOutputColumn" + }, + { + "$ref": "#/components/schemas/JSONQueryOnEventsTable", + "title": "JSONQueryOnEventsTable" } ] } @@ -67456,6 +67485,10 @@ { "$ref": "#/components/schemas/JSONQueryOnCallTableWithStructuredOutputColumn", "title": "JSONQueryOnCallTableWithStructuredOutputColumn" + }, + { + "$ref": "#/components/schemas/JSONQueryOnEventsTable", + "title": "JSONQueryOnEventsTable" } ] } @@ -67534,6 +67567,10 @@ { "$ref": "#/components/schemas/JSONQueryOnCallTableWithStructuredOutputColumn", "title": "JSONQueryOnCallTableWithStructuredOutputColumn" + }, + { + "$ref": "#/components/schemas/JSONQueryOnEventsTable", + "title": "JSONQueryOnEventsTable" } ] } @@ -67586,6 +67623,10 @@ { "$ref": "#/components/schemas/JSONQueryOnCallTableWithStructuredOutputColumn", "title": "JSONQueryOnCallTableWithStructuredOutputColumn" + }, + { + "$ref": "#/components/schemas/JSONQueryOnEventsTable", + "title": "JSONQueryOnEventsTable" } ] } @@ -67732,12 +67773,13 @@ "operation": { "type": "string", "enum": [ + "count", "average", "sum", "min", "max" ], - "description": "This is the aggregation operation to perform on the column.\nWhen the column is a number type, the operation must be one of the following:\n- average\n- sum\n- min\n- max", + "description": "This is the aggregation operation to perform on the column.\nWhen the column is a number type, the operation must be one of the following:\n- count\n- average\n- sum\n- min\n- max", "example": "sum" }, "name": { @@ -67958,6 +68000,12 @@ "pipeline.denoiserFailed" ] }, + "column": { + "type": "string", + "description": "The structured output an evaluation monitor tracks, as artifact.structuredOutputs[OutputID]", + "example": "artifact.structuredOutputs[1016c445-5a16-410d-a744-3bc07d8b1508]", + "pattern": "^artifact\\.structuredOutputs\\[[^\\]]+\\]$" + }, "operation": { "type": "string", "description": "This is the operation to perform on matching events.\n- \"count\": Returns the raw count of matching events\n- \"percentage\": Returns (count of matching events / total calls) * 100", @@ -68479,6 +68527,10 @@ { "$ref": "#/components/schemas/JSONQueryOnCallTableWithStructuredOutputColumn", "title": "JSONQueryOnCallTableWithStructuredOutputColumn" + }, + { + "$ref": "#/components/schemas/JSONQueryOnEventsTable", + "title": "JSONQueryOnEventsTable" } ] } @@ -68557,6 +68609,10 @@ { "$ref": "#/components/schemas/JSONQueryOnCallTableWithStructuredOutputColumn", "title": "JSONQueryOnCallTableWithStructuredOutputColumn" + }, + { + "$ref": "#/components/schemas/JSONQueryOnEventsTable", + "title": "JSONQueryOnEventsTable" } ] } @@ -68609,6 +68665,10 @@ { "$ref": "#/components/schemas/JSONQueryOnCallTableWithStructuredOutputColumn", "title": "JSONQueryOnCallTableWithStructuredOutputColumn" + }, + { + "$ref": "#/components/schemas/JSONQueryOnEventsTable", + "title": "JSONQueryOnEventsTable" } ] } @@ -73250,6 +73310,11 @@ "type": "string", "description": "The host URL for Langfuse project. Eg: https://cloud.langfuse.com" }, + "serverVersion": { + "type": "string", + "description": "The semver version of your Langfuse server, e.g. 3.63.0, as its /api/public/health endpoint reports it. Optional.", + "maxLength": 32 + }, "id": { "type": "string", "description": "This is the unique identifier for the credential." @@ -76415,6 +76480,11 @@ "type": "string", "description": "The host URL for Langfuse project. Eg: https://cloud.langfuse.com" }, + "serverVersion": { + "type": "string", + "description": "The semver version of your Langfuse server, e.g. 3.63.0, as its /api/public/health endpoint reports it. Optional.", + "maxLength": 32 + }, "name": { "type": "string", "description": "This is the name of credential. This is just for your reference.", From 275db04606f8749b5b4360745e78f2619a9eca71 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sat, 7 Nov 2026 00:23:04 +0000 Subject: [PATCH 07/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 1188 +++++++++++++++++++++++++++++++++++- 1 file changed, 1157 insertions(+), 31 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index b827ea73d..29e97bc77 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -10497,6 +10497,694 @@ ] } }, + "/guardrail/rules": { + "get": { + "operationId": "GuardrailRulesController_list", + "summary": "List guardrail rules", + "parameters": [ + { + "name": "limit", + "required": false, + "in": "query", + "description": "Positive bounded list size, matching the shared library reader.", + "schema": { + "minimum": 1, + "maximum": 1000, + "default": 100, + "type": "number" + } + }, + { + "name": "search", + "required": false, + "in": "query", + "description": "Case-insensitive name or identifier fragment; omitted means all resources.", + "schema": { + "type": "string" + } + }, + { + "name": "packId", + "required": false, + "in": "query", + "description": "Limits rules to a pack in the authenticated organization without per-member requests.", + "schema": { + "format": "uuid", + "type": "string" + } + }, + { + "name": "createdAtGt", + "required": false, + "in": "query", + "description": "This will return items where the createdAt is greater than the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "createdAtLt", + "required": false, + "in": "query", + "description": "This will return items where the createdAt is less than the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "createdAtGe", + "required": false, + "in": "query", + "description": "This will return items where the createdAt is greater than or equal to the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "createdAtLe", + "required": false, + "in": "query", + "description": "This will return items where the createdAt is less than or equal to the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "updatedAtGt", + "required": false, + "in": "query", + "description": "This will return items where the updatedAt is greater than the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "updatedAtLt", + "required": false, + "in": "query", + "description": "This will return items where the updatedAt is less than the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "updatedAtGe", + "required": false, + "in": "query", + "description": "This will return items where the updatedAt is greater than or equal to the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "updatedAtLe", + "required": false, + "in": "query", + "description": "This will return items where the updatedAt is less than or equal to the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GuardrailRule" + } + } + } + } + } + }, + "tags": [ + "Guardrail Rules" + ], + "security": [ + { + "bearer": [] + } + ] + } + }, + "/guardrail/rules/paginated": { + "get": { + "operationId": "GuardrailRulesController_paginated", + "summary": "List paginated guardrail rules", + "parameters": [ + { + "name": "limit", + "required": false, + "in": "query", + "schema": { + "minimum": 1, + "maximum": 1000, + "default": 100, + "type": "number" + } + }, + { + "name": "search", + "required": false, + "in": "query", + "description": "Case-insensitive name or identifier fragment; omitted means all resources.", + "schema": { + "type": "string" + } + }, + { + "name": "packId", + "required": false, + "in": "query", + "description": "Limits rules to a pack in the authenticated organization without per-member requests.", + "schema": { + "format": "uuid", + "type": "string" + } + }, + { + "name": "sortBy", + "required": false, + "in": "query", + "description": "Only persisted creation order is supported, with the ID as a stable tie-breaker.", + "schema": { + "enum": [ + "createdAt" + ], + "type": "string" + } + }, + { + "name": "createdAtGt", + "required": false, + "in": "query", + "description": "This will return items where the createdAt is greater than the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "createdAtLt", + "required": false, + "in": "query", + "description": "This will return items where the createdAt is less than the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "createdAtGe", + "required": false, + "in": "query", + "description": "This will return items where the createdAt is greater than or equal to the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "createdAtLe", + "required": false, + "in": "query", + "description": "This will return items where the createdAt is less than or equal to the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "updatedAtGt", + "required": false, + "in": "query", + "description": "This will return items where the updatedAt is greater than the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "updatedAtLt", + "required": false, + "in": "query", + "description": "This will return items where the updatedAt is less than the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "updatedAtGe", + "required": false, + "in": "query", + "description": "This will return items where the updatedAt is greater than or equal to the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "updatedAtLe", + "required": false, + "in": "query", + "description": "This will return items where the updatedAt is less than or equal to the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "page", + "required": false, + "in": "query", + "description": "A safe integer page; the reader also validates the computed offset.", + "schema": { + "minimum": 1, + "maximum": 9007199254740991, + "type": "number" + } + }, + { + "name": "sortOrder", + "required": false, + "in": "query", + "description": "This is the sort order for pagination. Defaults to 'DESC'.", + "schema": { + "enum": [ + "ASC", + "DESC" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GuardrailRulesPage" + } + } + } + } + }, + "tags": [ + "Guardrail Rules" + ], + "security": [ + { + "bearer": [] + } + ] + } + }, + "/guardrail/rules/{id}": { + "get": { + "operationId": "GuardrailRulesController_find", + "summary": "Get guardrail rule", + "parameters": [ + { + "name": "id", + "required": true, + "in": "path", + "description": "The unique identifier for the resource.", + "schema": { + "format": "uuid", + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GuardrailRule" + } + } + } + } + }, + "tags": [ + "Guardrail Rules" + ], + "security": [ + { + "bearer": [] + } + ] + } + }, + "/guardrail/packs": { + "get": { + "operationId": "GuardrailPacksController_list", + "summary": "List guardrail packs", + "parameters": [ + { + "name": "limit", + "required": false, + "in": "query", + "description": "Positive bounded list size, matching the shared library reader.", + "schema": { + "minimum": 1, + "maximum": 1000, + "default": 100, + "type": "number" + } + }, + { + "name": "search", + "required": false, + "in": "query", + "description": "Case-insensitive name or identifier fragment; omitted means all resources.", + "schema": { + "type": "string" + } + }, + { + "name": "createdAtGt", + "required": false, + "in": "query", + "description": "This will return items where the createdAt is greater than the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "createdAtLt", + "required": false, + "in": "query", + "description": "This will return items where the createdAt is less than the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "createdAtGe", + "required": false, + "in": "query", + "description": "This will return items where the createdAt is greater than or equal to the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "createdAtLe", + "required": false, + "in": "query", + "description": "This will return items where the createdAt is less than or equal to the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "updatedAtGt", + "required": false, + "in": "query", + "description": "This will return items where the updatedAt is greater than the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "updatedAtLt", + "required": false, + "in": "query", + "description": "This will return items where the updatedAt is less than the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "updatedAtGe", + "required": false, + "in": "query", + "description": "This will return items where the updatedAt is greater than or equal to the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "updatedAtLe", + "required": false, + "in": "query", + "description": "This will return items where the updatedAt is less than or equal to the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GuardrailPack" + } + } + } + } + } + }, + "tags": [ + "Guardrail Packs" + ], + "security": [ + { + "bearer": [] + } + ] + } + }, + "/guardrail/packs/paginated": { + "get": { + "operationId": "GuardrailPacksController_paginated", + "summary": "List paginated guardrail packs", + "parameters": [ + { + "name": "limit", + "required": false, + "in": "query", + "schema": { + "minimum": 1, + "maximum": 1000, + "default": 100, + "type": "number" + } + }, + { + "name": "search", + "required": false, + "in": "query", + "description": "Case-insensitive name or identifier fragment; omitted means all resources.", + "schema": { + "type": "string" + } + }, + { + "name": "sortBy", + "required": false, + "in": "query", + "description": "Only persisted creation order is supported, with the ID as a stable tie-breaker.", + "schema": { + "enum": [ + "createdAt" + ], + "type": "string" + } + }, + { + "name": "createdAtGt", + "required": false, + "in": "query", + "description": "This will return items where the createdAt is greater than the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "createdAtLt", + "required": false, + "in": "query", + "description": "This will return items where the createdAt is less than the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "createdAtGe", + "required": false, + "in": "query", + "description": "This will return items where the createdAt is greater than or equal to the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "createdAtLe", + "required": false, + "in": "query", + "description": "This will return items where the createdAt is less than or equal to the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "updatedAtGt", + "required": false, + "in": "query", + "description": "This will return items where the updatedAt is greater than the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "updatedAtLt", + "required": false, + "in": "query", + "description": "This will return items where the updatedAt is less than the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "updatedAtGe", + "required": false, + "in": "query", + "description": "This will return items where the updatedAt is greater than or equal to the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "updatedAtLe", + "required": false, + "in": "query", + "description": "This will return items where the updatedAt is less than or equal to the specified value.", + "schema": { + "format": "date-time", + "type": "string" + } + }, + { + "name": "page", + "required": false, + "in": "query", + "description": "A safe integer page; the reader also validates the computed offset.", + "schema": { + "minimum": 1, + "maximum": 9007199254740991, + "type": "number" + } + }, + { + "name": "sortOrder", + "required": false, + "in": "query", + "description": "This is the sort order for pagination. Defaults to 'DESC'.", + "schema": { + "enum": [ + "ASC", + "DESC" + ], + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GuardrailPacksPage" + } + } + } + } + }, + "tags": [ + "Guardrail Packs" + ], + "security": [ + { + "bearer": [] + } + ] + } + }, + "/guardrail/packs/{id}": { + "get": { + "operationId": "GuardrailPacksController_find", + "summary": "Get guardrail pack", + "parameters": [ + { + "name": "id", + "required": true, + "in": "path", + "description": "The unique identifier for the resource.", + "schema": { + "format": "uuid", + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GuardrailPack" + } + } + } + } + }, + "tags": [ + "Guardrail Packs" + ], + "security": [ + { + "bearer": [] + } + ] + } + }, "/provider/{provider}/{resourceName}": { "post": { "operationId": "ProviderResourceController_createProviderResource", @@ -11239,7 +11927,7 @@ }, "confidenceThreshold": { "type": "number", - "description": "Transcripts below this confidence threshold will be discarded.\n\n@default 0.4", + "description": "Transcripts below this confidence threshold will be discarded.\n\nDefaults to 0.4 for legacy streaming models. Universal Pro models do not\nfilter by confidence unless this field is explicitly set.", "minimum": 0, "maximum": 1, "example": 0.4 @@ -14596,7 +15284,7 @@ }, "confidenceThreshold": { "type": "number", - "description": "Transcripts below this confidence threshold will be discarded.\n\n@default 0.4", + "description": "Transcripts below this confidence threshold will be discarded.\n\nDefaults to 0.4 for legacy streaming models. Universal Pro models do not\nfilter by confidence unless this field is explicitly set.", "minimum": 0, "maximum": 1, "example": 0.4 @@ -18979,13 +19667,17 @@ "example": "Hello! I understand you need to be transferred. Let me connect you." }, "backgroundSound": { - "description": "This is the background sound in the transfer assistant call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.", + "description": "This is the background sound in the transfer assistant call. Default for phone calls is 'office' and default for web calls is 'off'.\nBundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'.\nYou can also provide a custom sound by providing a URL to an audio file.", "oneOf": [ { "type": "string", "enum": [ "off", - "office" + "office", + "white-noise", + "city", + "crowd", + "farm" ], "example": "office" }, @@ -21115,13 +21807,17 @@ "example": 600 }, "backgroundSound": { - "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.", + "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nBundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'.\nYou can also provide a custom sound by providing a URL to an audio file.", "oneOf": [ { "type": "string", "enum": [ "off", - "office" + "office", + "white-noise", + "city", + "crowd", + "farm" ], "example": "office" }, @@ -22014,13 +22710,17 @@ "example": 600 }, "backgroundSound": { - "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.", + "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nBundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'.\nYou can also provide a custom sound by providing a URL to an audio file.", "oneOf": [ { "type": "string", "enum": [ "off", - "office" + "office", + "white-noise", + "city", + "crowd", + "farm" ], "example": "office" }, @@ -28999,13 +29699,17 @@ ] }, "backgroundSound": { - "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.", + "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nBundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'.\nYou can also provide a custom sound by providing a URL to an audio file.", "oneOf": [ { "type": "string", "enum": [ "off", - "office" + "office", + "white-noise", + "city", + "crowd", + "farm" ], "example": "office" }, @@ -37588,13 +38292,17 @@ "example": 600 }, "backgroundSound": { - "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.", + "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nBundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'.\nYou can also provide a custom sound by providing a URL to an audio file.", "oneOf": [ { "type": "string", "enum": [ "off", - "office" + "office", + "white-noise", + "city", + "crowd", + "farm" ], "example": "office" }, @@ -38539,13 +39247,17 @@ "example": 600 }, "backgroundSound": { - "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.", + "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nBundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'.\nYou can also provide a custom sound by providing a URL to an audio file.", "oneOf": [ { "type": "string", "enum": [ "off", - "office" + "office", + "white-noise", + "city", + "crowd", + "farm" ], "example": "office" }, @@ -39586,13 +40298,17 @@ "example": 600 }, "backgroundSound": { - "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.", + "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nBundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'.\nYou can also provide a custom sound by providing a URL to an audio file.", "oneOf": [ { "type": "string", "enum": [ "off", - "office" + "office", + "white-noise", + "city", + "crowd", + "farm" ], "example": "office" }, @@ -40615,13 +41331,17 @@ "example": 600 }, "backgroundSound": { - "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.", + "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nBundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'.\nYou can also provide a custom sound by providing a URL to an audio file.", "oneOf": [ { "type": "string", "enum": [ "off", - "office" + "office", + "white-noise", + "city", + "crowd", + "farm" ], "example": "office" }, @@ -41645,13 +42365,17 @@ "example": 600 }, "backgroundSound": { - "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.", + "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nBundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'.\nYou can also provide a custom sound by providing a URL to an audio file.", "oneOf": [ { "type": "string", "enum": [ "off", - "office" + "office", + "white-noise", + "city", + "crowd", + "farm" ], "example": "office" }, @@ -42568,13 +43292,17 @@ "example": 600 }, "backgroundSound": { - "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.", + "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nBundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'.\nYou can also provide a custom sound by providing a URL to an audio file.", "oneOf": [ { "type": "string", "enum": [ "off", - "office" + "office", + "white-noise", + "city", + "crowd", + "farm" ], "example": "office" }, @@ -43467,13 +44195,17 @@ "example": 600 }, "backgroundSound": { - "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.", + "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nBundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'.\nYou can also provide a custom sound by providing a URL to an audio file.", "oneOf": [ { "type": "string", "enum": [ "off", - "office" + "office", + "white-noise", + "city", + "crowd", + "farm" ], "example": "office" }, @@ -44370,13 +45102,17 @@ ] }, "backgroundSound": { - "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.", + "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nBundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'.\nYou can also provide a custom sound by providing a URL to an audio file.", "oneOf": [ { "type": "string", "enum": [ "off", - "office" + "office", + "white-noise", + "city", + "crowd", + "farm" ], "example": "office" }, @@ -45079,13 +45815,17 @@ ] }, "backgroundSound": { - "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.", + "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nBundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'.\nYou can also provide a custom sound by providing a URL to an audio file.", "oneOf": [ { "type": "string", "enum": [ "off", - "office" + "office", + "white-noise", + "city", + "crowd", + "farm" ], "example": "office" }, @@ -45770,13 +46510,17 @@ ] }, "backgroundSound": { - "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nYou can also provide a custom sound by providing a URL to an audio file.", + "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nBundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'.\nYou can also provide a custom sound by providing a URL to an audio file.", "oneOf": [ { "type": "string", "enum": [ "off", - "office" + "office", + "white-noise", + "city", + "crowd", + "farm" ], "example": "office" }, @@ -70969,6 +71713,129 @@ "coverage" ] }, + "CallHealthDashboardTriageRequestDTO": { + "type": "object", + "properties": { + "action": { + "type": "string", + "enum": [ + "resolve", + "dismiss", + "restore" + ] + }, + "expectedRowVersion": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "comment": { + "type": "string", + "description": "Trimmed; at most 2,048 UTF-16 code units. Empty comments are omitted from activity." + } + }, + "required": [ + "action", + "expectedRowVersion" + ] + }, + "CallHealthDashboardIssueReferenceDTO": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string", + "minLength": 1 + }, + "status": { + "type": "string", + "enum": [ + "active", + "resolved", + "dismissed" + ] + }, + "rowVersion": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + } + }, + "required": [ + "id", + "name", + "status", + "rowVersion" + ] + }, + "CallHealthDashboardIssueActivityDTO": { + "type": "object", + "properties": { + "rowVersion": { + "type": "integer", + "description": "Existing issue version after this transition; also the per-issue activity identity.", + "minimum": 1, + "maximum": 9007199254740991 + }, + "action": { + "type": "string", + "description": "User resolve, dismiss or restore, or the system reopen written when a new match reopens a resolved issue.", + "enum": [ + "resolve", + "dismiss", + "restore", + "reopen" + ] + }, + "actorUserId": { + "type": "string", + "description": "Omitted for private-key actors and system entries; names/emails are not copied.", + "format": "uuid" + }, + "comment": { + "type": "string", + "description": "Optional team-visible comment; omitted after privacy scrubbing.", + "maxLength": 2048 + }, + "createdAt": { + "type": "string", + "description": "Database action time; ordering uses rowVersion rather than rounded timestamps.", + "format": "date-time", + "pattern": "^\\d{4}-\\d{2}-\\d{2}T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.(\\d{1,6}))?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$" + } + }, + "required": [ + "rowVersion", + "action", + "createdAt" + ] + }, + "CallHealthDashboardIssueActivityListResponseDTO": { + "type": "object", + "properties": { + "results": { + "description": "Newest issue versions first; this is shared team activity, not per-user feedback.", + "maxItems": 100, + "type": "array", + "items": { + "$ref": "#/components/schemas/CallHealthDashboardIssueActivityDTO" + } + }, + "nextCursor": { + "type": "string", + "description": "Signed continuation bound to the authenticated organization, issue and activity contract.", + "minLength": 1, + "maxLength": 2048, + "pattern": "^[A-Za-z0-9_-]+$" + } + }, + "required": [ + "results" + ] + }, "CreateOrgDTO": { "type": "object", "properties": { @@ -71105,7 +71972,8 @@ "description": "This is the status of the subscription. Past due subscriptions are subscriptions\nwith past due payments.", "enum": [ "active", - "frozen" + "frozen", + "blocked" ] }, "credits": { @@ -78610,6 +79478,264 @@ } } }, + "GuardrailFixedResponseAction": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "auto-response" + ] + }, + "mode": { + "type": "string", + "description": "Omitted legacy modes normalize to fixed when transformed.", + "default": "fixed", + "enum": [ + "fixed" + ] + }, + "text": { + "type": "string", + "description": "Replacement speech; it must pass its own guardrail evaluation.", + "pattern": "/\\S/" + } + }, + "required": [ + "type", + "text" + ] + }, + "GuardrailRedirectAction": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "auto-response" + ] + }, + "mode": { + "type": "string", + "enum": [ + "redirect" + ] + }, + "instructions": { + "type": "string", + "description": "Steering instructions for generating a replacement candidate.", + "pattern": "/\\S/" + } + }, + "required": [ + "type", + "mode", + "instructions" + ] + }, + "GuardrailEscalateAction": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "escalate" + ] + }, + "toolId": { + "type": "string", + "description": "Existing same-organization tool; attachment is checked at assignment. Tool edits/deletion can invalidate the action: activation must revalidate the current tool and arguments, and use failurePolicy on failure.", + "format": "uuid" + }, + "arguments": { + "type": "object", + "description": "Parameter names follow the normalized tool schema (SMS uses body/to).", + "additionalProperties": true + } + }, + "required": [ + "type", + "toolId", + "arguments" + ] + }, + "GuardrailAuthoring": { + "type": "object", + "properties": { + "mode": { + "type": "string", + "enum": [ + "always", + "never" + ] + }, + "behavior": { + "type": "string", + "pattern": "/\\S/" + }, + "condition": { + "type": "string", + "description": "Natural-language condition evaluated using the candidate and call history.", + "pattern": "/\\S/" + } + }, + "required": [ + "mode", + "behavior" + ] + }, + "GuardrailRule": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "orgId": { + "type": "string", + "format": "uuid" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string", + "pattern": "/\\S/" + }, + "authoring": { + "nullable": true, + "description": "Structured editor input. Supplied PATCH authoring replaces the complete object; advanced text writes clear it to null.", + "allOf": [ + { + "$ref": "#/components/schemas/GuardrailAuthoring" + } + ] + }, + "instructions": { + "type": "string", + "description": "Evaluated instructions, generated from authoring or supplied in advanced mode.", + "pattern": "/\\S/" + }, + "sensitivity": { + "type": "string", + "description": "Evaluation sensitivity; numeric cutoffs are internal and provisional.", + "enum": [ + "low", + "medium", + "aggressive" + ] + }, + "action": { + "description": "Supplied PATCH actions replace the complete variant.", + "oneOf": [ + { + "oneOf": [ + { + "$ref": "#/components/schemas/GuardrailFixedResponseAction" + }, + { + "$ref": "#/components/schemas/GuardrailRedirectAction" + } + ] + }, + { + "$ref": "#/components/schemas/GuardrailEscalateAction" + } + ] + } + }, + "required": [ + "id", + "orgId", + "createdAt", + "updatedAt", + "name", + "sensitivity", + "action" + ] + }, + "GuardrailRulesPage": { + "type": "object", + "properties": { + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GuardrailRule" + } + }, + "metadata": { + "$ref": "#/components/schemas/PaginationMeta" + } + }, + "required": [ + "results", + "metadata" + ] + }, + "GuardrailPack": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "orgId": { + "type": "string", + "format": "uuid" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string", + "pattern": "/\\S/" + }, + "ruleIds": { + "type": "array", + "description": "Projected from membership rows; a supplied array replaces membership.", + "items": { + "type": "string", + "format": "uuid" + } + } + }, + "required": [ + "id", + "orgId", + "createdAt", + "updatedAt", + "name", + "ruleIds" + ] + }, + "GuardrailPacksPage": { + "type": "object", + "properties": { + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GuardrailPack" + } + }, + "metadata": { + "$ref": "#/components/schemas/PaginationMeta" + } + }, + "required": [ + "results", + "metadata" + ] + }, "CartesiaPronunciationDictItem": { "type": "object", "properties": { From da61fa33804a9b9e10fe7c1a58c476fb376887df Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 10 Nov 2026 00:23:11 +0000 Subject: [PATCH 08/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 69 ++++++++++++++++++++++++++++++-------- 1 file changed, 55 insertions(+), 14 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 29e97bc77..b6d2b3c5e 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -13531,10 +13531,15 @@ "type": "string", "enum": [ "stt-rt-v4", - "stt-rt-v5" + "stt-rt-v5", + "stt-rt-v6" ], "description": "The Soniox model to use for transcription." }, + "agentTextInputEnabled": { + "type": "boolean", + "description": "Sends the assistant's speech to Soniox as context, which improves caller transcription and filters out echo. Only supported on stt-rt-v6. Defaults to on; set to false to disable." + }, "language": { "type": "string", "enum": [ @@ -13932,14 +13937,14 @@ }, "endpointSensitivity": { "type": "number", - "description": "How likely Soniox is to emit an endpoint (end the caller turn). Higher values make endpoints more likely for faster turn-taking; negative values make them less likely, which helps when callers pause mid-sentence (e.g. reading numbers group by group). Range: -1.0 to 1.0. Default: 0.3 (the platform low-latency voice profile; Soniox's own default is 0.0). Supported by stt-rt-v5; omitted from the Soniox request on explicit stt-rt-v4. Soniox recommends tuning endpointLatencyAdjustmentLevel first, and advises against negative sensitivity while the level is above 0 (the settings work against each other).", + "description": "How likely Soniox is to emit an endpoint (end the caller turn). Higher values make endpoints more likely for faster turn-taking; negative values make them less likely, which helps when callers pause mid-sentence (e.g. reading numbers group by group). Range: -1.0 to 1.0. Default: 0.3 (the platform low-latency voice profile; Soniox's own default is 0.0). Supported by stt-rt-v5 and stt-rt-v6; omitted from the Soniox request on explicit stt-rt-v4. Soniox recommends tuning endpointLatencyAdjustmentLevel first, and advises against negative sensitivity while the level is above 0 (the settings work against each other).", "minimum": -1, "maximum": 1, "example": 0.3 }, "endpointLatencyAdjustmentLevel": { "type": "number", - "description": "How aggressively Soniox reduces endpoint latency. 0 is Soniox's default semantic endpointing; 3 is the most aggressive. Higher levels return endpoints sooner but may split speech into more segments and slightly reduce accuracy. Integer. Range: 0-3. Default: 2 (the platform low-latency voice profile; Soniox's own default is 0). Supported by stt-rt-v5; omitted from the Soniox request on explicit stt-rt-v4.", + "description": "How aggressively Soniox reduces endpoint latency. 0 is Soniox's default semantic endpointing; 3 is the most aggressive. Higher levels return endpoints sooner but may split speech into more segments and slightly reduce accuracy. Integer. Range: 0-3. Default: 2 (the platform low-latency voice profile; Soniox's own default is 0). Supported by stt-rt-v5 and stt-rt-v6; omitted from the Soniox request on explicit stt-rt-v4.", "minimum": 0, "maximum": 3, "example": 2 @@ -16720,10 +16725,15 @@ "type": "string", "enum": [ "stt-rt-v4", - "stt-rt-v5" + "stt-rt-v5", + "stt-rt-v6" ], "description": "The Soniox model to use for transcription." }, + "agentTextInputEnabled": { + "type": "boolean", + "description": "Sends the assistant's speech to Soniox as context, which improves caller transcription and filters out echo. Only supported on stt-rt-v6. Defaults to on; set to false to disable." + }, "language": { "type": "string", "enum": [ @@ -17121,14 +17131,14 @@ }, "endpointSensitivity": { "type": "number", - "description": "How likely Soniox is to emit an endpoint (end the caller turn). Higher values make endpoints more likely for faster turn-taking; negative values make them less likely, which helps when callers pause mid-sentence (e.g. reading numbers group by group). Range: -1.0 to 1.0. Default: 0.3 (the platform low-latency voice profile; Soniox's own default is 0.0). Supported by stt-rt-v5; omitted from the Soniox request on explicit stt-rt-v4. Soniox recommends tuning endpointLatencyAdjustmentLevel first, and advises against negative sensitivity while the level is above 0 (the settings work against each other).", + "description": "How likely Soniox is to emit an endpoint (end the caller turn). Higher values make endpoints more likely for faster turn-taking; negative values make them less likely, which helps when callers pause mid-sentence (e.g. reading numbers group by group). Range: -1.0 to 1.0. Default: 0.3 (the platform low-latency voice profile; Soniox's own default is 0.0). Supported by stt-rt-v5 and stt-rt-v6; omitted from the Soniox request on explicit stt-rt-v4. Soniox recommends tuning endpointLatencyAdjustmentLevel first, and advises against negative sensitivity while the level is above 0 (the settings work against each other).", "minimum": -1, "maximum": 1, "example": 0.3 }, "endpointLatencyAdjustmentLevel": { "type": "number", - "description": "How aggressively Soniox reduces endpoint latency. 0 is Soniox's default semantic endpointing; 3 is the most aggressive. Higher levels return endpoints sooner but may split speech into more segments and slightly reduce accuracy. Integer. Range: 0-3. Default: 2 (the platform low-latency voice profile; Soniox's own default is 0). Supported by stt-rt-v5; omitted from the Soniox request on explicit stt-rt-v4.", + "description": "How aggressively Soniox reduces endpoint latency. 0 is Soniox's default semantic endpointing; 3 is the most aggressive. Higher levels return endpoints sooner but may split speech into more segments and slightly reduce accuracy. Integer. Range: 0-3. Default: 2 (the platform low-latency voice profile; Soniox's own default is 0). Supported by stt-rt-v5 and stt-rt-v6; omitted from the Soniox request on explicit stt-rt-v4.", "minimum": 0, "maximum": 3, "example": 2 @@ -24659,7 +24669,7 @@ ] }, "thinking": { - "description": "Optional configuration for Anthropic's thinking feature.\nOnly applicable for claude-3-7-sonnet-20250219 model.\nIf provided, maxTokens must be greater than thinking.budgetTokens.", + "description": "Optional configuration for Anthropic's thinking feature.\nOnly applicable for models that support a thinking budget.\nSet maxTokens greater than thinking.budgetTokens; the default cap is too small.", "allOf": [ { "$ref": "#/components/schemas/AnthropicThinkingConfig" @@ -24852,6 +24862,7 @@ "claude-sonnet-4-6", "claude-haiku-4-5-20251001", "claude-haiku-5-5", + "global.anthropic.claude-sonnet-4-6", "global.anthropic.claude-haiku-4-5-20251001-v1:0" ] }, @@ -24874,6 +24885,7 @@ "claude-sonnet-4-6", "claude-haiku-4-5-20251001", "claude-haiku-5-5", + "global.anthropic.claude-sonnet-4-6", "global.anthropic.claude-haiku-4-5-20251001-v1:0" ], "maxItems": 1, @@ -24898,6 +24910,7 @@ "claude-sonnet-4-6", "claude-haiku-4-5-20251001", "claude-haiku-5-5", + "global.anthropic.claude-sonnet-4-6", "global.anthropic.claude-haiku-4-5-20251001-v1:0" ] } @@ -24915,7 +24928,7 @@ ] }, "thinking": { - "description": "Optional configuration for Anthropic's thinking feature.\nOnly applicable for claude-3-7-sonnet-20250219 model.\nIf provided, maxTokens must be greater than thinking.budgetTokens.", + "description": "Optional configuration for Anthropic's thinking feature.\nOnly applicable for models that support a thinking budget.\nSet maxTokens greater than thinking.budgetTokens; the default cap is too small.", "allOf": [ { "$ref": "#/components/schemas/AnthropicThinkingConfig" @@ -28012,6 +28025,7 @@ "claude-sonnet-4-6", "claude-haiku-4-5-20251001", "claude-haiku-5-5", + "global.anthropic.claude-sonnet-4-6", "global.anthropic.claude-haiku-4-5-20251001-v1:0" ] }, @@ -48462,6 +48476,25 @@ "TurnLatency": { "type": "object", "properties": { + "unmeasured": { + "type": "array", + "description": "These are the latency components that were not measured on this turn. A listed component's latency field is not a real measurement: it usually reads 0, which here means \"not measured\", not 0ms, but a `transcriber` value measured from a speech start keeps its nonzero value. Drop listed components when aggregating. Omitted when every component was measured.\n\n- `transcriber`: no VAD speech marker for the turn, the sample was dropped as stale, the VAD missed this utterance (its newest marker was already used by an earlier turn), the transcript's time predates this utterance, or the VAD had still not flagged the end of speech when the reply started, including when the user kept talking after a tentative stop (the value is then measured from a speech start, or from the stop the user talked through).\n- `endpointing`: no user transcript was committed this turn (for example the first message, or a tool-result turn), or the transcript's time predates this utterance (carried over from an earlier one).\n- `model`: the model sent no output token this turn (for example a static message).\n- `voice`: no voice timing from model output this turn.", + "enum": [ + "transcriber", + "endpointing", + "model", + "voice" + ], + "items": { + "type": "string", + "enum": [ + "transcriber", + "endpointing", + "model", + "voice" + ] + } + }, "modelLatency": { "type": "number", "description": "This is the time in milliseconds from the start of the turn's model stage to the model's first output token.\nIt includes knowledge-base retrieval and request routing before the provider request. 0 when it was not measured on this turn." @@ -48472,7 +48505,7 @@ }, "transcriberLatency": { "type": "number", - "description": "This is the time in milliseconds from the user's last voice activity signal, normally the end of speech, to the transcriber returning the words of that speech.\n0 when it was not measured, including when the words arrived before that signal." + "description": "This is the time in milliseconds from the user's last voice activity signal, normally the end of speech, to the transcriber returning the words of that speech.\n0 both when it was not measured (listed in `unmeasured`) and when the words arrived before that signal." }, "endpointingLatency": { "type": "number", @@ -48480,7 +48513,7 @@ }, "turnLatency": { "type": "number", - "description": "This is the time in milliseconds from the user's last voice activity signal to Vapi starting to send the assistant's reply audio.\nIt is computed as `transcriberLatency` + `endpointingLatency` + the time from that decision to the reply starting, so when `transcriberLatency` is 0 because it was not measured, this total leaves that interval out. `modelLatency` and `voiceLatency` fall inside the last part, so the fields do not add up to this value." + "description": "This is the time in milliseconds from the user's last voice activity signal to Vapi starting to send the assistant's reply audio.\nIt is computed as `transcriberLatency` + `endpointingLatency` + the time from that decision to the reply starting, so it is not a real measurement either when `unmeasured` lists `transcriber`: the total then leaves that interval out (0) or counts it from a speech start. `modelLatency` and `voiceLatency` fall inside the last part, so the fields do not add up to this value." } } }, @@ -48529,6 +48562,10 @@ "numAssistantInterrupted": { "type": "number", "description": "This is the number of times the assistant was interrupted by the user during the call." + }, + "turnLatencyUnmeasuredTracked": { + "type": "boolean", + "description": "This is `true` when the call was recorded with `TurnLatency.unmeasured`, so a turn without that list had every component measured.\nAbsent on calls recorded before `unmeasured` existed, where a 0 latency may mean either 0ms or \"not measured\"." } } }, @@ -64744,11 +64781,13 @@ "properties": { "metric": { "type": "string", - "description": "This is the latency component to measure.\n- turn: total time from the end of user speech to the start of assistant speech\n- model: LLM time to first token\n- voice: TTS time to first audio", + "description": "This is the latency component to measure.\n- turn: total time from the end of user speech to the start of assistant speech\n- model: LLM time to first token\n- voice: TTS time to first audio\n- transcriber: time from the end of user speech to the transcript's words being known\n- endpointing: time from the transcript's words being known to deciding the user finished their turn\n\nTurns where a component was not measured are left out of that metric.", "enum": [ "turn", "model", - "voice" + "voice", + "transcriber", + "endpointing" ], "example": "turn" }, @@ -66023,7 +66062,9 @@ "enum": [ "turn", "model", - "voice" + "voice", + "transcriber", + "endpointing" ] }, "aggregation": { @@ -71595,7 +71636,7 @@ "currentGoalVersion": { "type": "string", "pattern": "^[1-9][0-9]*$", - "description": "Current revision of the requested goal for a visible call. Absent when that goal does not belong to the source assistant or the source is hidden. An absent evaluation does not imply queued or pending work." + "description": "Current revision of the requested goal for a visible call with a registered evaluation. Absent when the call has no registered evaluation, when that goal does not belong to the source assistant, or when the source is hidden. An absent evaluation does not imply queued or pending work." }, "currentEvaluation": { "$ref": "#/components/schemas/GoalEvaluationCurrentDTO" From 0d463ac5fd6d2b4bcf3fa55bfd9515cdd540897b Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 11 Nov 2026 00:24:32 +0000 Subject: [PATCH 09/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 132 +++++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index b6d2b3c5e..64ef27146 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -13101,6 +13101,13 @@ "zu" ] }, + "keyterms": { + "description": "Words or phrases to bias the transcription towards, such as product names. Supported on scribe_v2 (up to 100 terms of 50 characters each) and scribe_v2_realtime (up to 50 terms of 20 characters each). Each term has at most 5 words and none of `< > { } [ ] \\`. Adds ElevenLabs' keyterm prompting rate to the transcriber cost.", + "type": "array", + "items": { + "type": "string" + } + }, "silenceThresholdSeconds": { "type": "number", "description": "This is the number of seconds of silence before VAD commits (0.3-3.0).", @@ -16332,6 +16339,13 @@ "zu" ] }, + "keyterms": { + "description": "Words or phrases to bias the transcription towards, such as product names. Supported on scribe_v2 (up to 100 terms of 50 characters each) and scribe_v2_realtime (up to 50 terms of 20 characters each). Each term has at most 5 words and none of `< > { } [ ] \\`. Adds ElevenLabs' keyterm prompting rate to the transcriber cost.", + "type": "array", + "items": { + "type": "string" + } + }, "silenceThresholdSeconds": { "type": "number", "description": "This is the number of seconds of silence before VAD commits (0.3-3.0).", @@ -44692,6 +44706,124 @@ } } }, + "AssistantGoalErrorDTO": { + "type": "object", + "properties": { + "statusCode": { + "type": "integer", + "minimum": 400, + "maximum": 599 + }, + "error": { + "type": "string" + }, + "message": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + }, + "required": [ + "statusCode", + "message" + ] + }, + "AssistantGoalCreateDTO": { + "type": "object", + "properties": { + "succeedsWhen": { + "type": "string", + "maxLength": 600, + "minLength": 1, + "description": "Success criteria. Trimmed before commit; blank or non-PostgreSQL-compatible text is rejected." + }, + "leaveOut": { + "type": "string", + "nullable": true, + "maxLength": 300, + "minLength": 1, + "description": "Optional trimmed exclusions. Omit or send null for no exclusions." + } + }, + "required": [ + "succeedsWhen" + ] + }, + "AssistantGoalDTO": { + "type": "object", + "properties": { + "orgId": { + "type": "string", + "format": "uuid" + }, + "assistantId": { + "type": "string", + "format": "uuid" + }, + "goalId": { + "type": "string", + "format": "uuid" + }, + "goalVersion": { + "type": "string", + "description": "Committed decimal bigint revision." + }, + "succeedsWhen": { + "type": "string" + }, + "leaveOut": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "Committed goal-change time anchoring its fixed backfill window." + } + }, + "required": [ + "orgId", + "assistantId", + "goalId", + "goalVersion", + "succeedsWhen", + "createdAt" + ] + }, + "AssistantGoalSetDTO": { + "type": "object", + "properties": { + "expectedGoalVersion": { + "type": "string", + "pattern": "^[1-9][0-9]{0,18}$", + "description": "Observed current revision of this goal as a positive decimal bigint string." + }, + "succeedsWhen": { + "type": "string", + "maxLength": 600, + "minLength": 1, + "description": "Success criteria. Trimmed before commit; blank or non-PostgreSQL-compatible text is rejected." + }, + "leaveOut": { + "type": "string", + "nullable": true, + "maxLength": 300, + "minLength": 1, + "description": "Optional trimmed exclusions. Omit or send null for no exclusions." + } + }, + "required": [ + "expectedGoalVersion", + "succeedsWhen" + ] + }, "Squad": { "type": "object", "properties": { From 8c58a2065da792bd203b426c72a1d129a08ad625 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 12 Nov 2026 00:25:08 +0000 Subject: [PATCH 10/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 826 ++++++------------------------------- 1 file changed, 137 insertions(+), 689 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 64ef27146..f7d37789b 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -10497,694 +10497,6 @@ ] } }, - "/guardrail/rules": { - "get": { - "operationId": "GuardrailRulesController_list", - "summary": "List guardrail rules", - "parameters": [ - { - "name": "limit", - "required": false, - "in": "query", - "description": "Positive bounded list size, matching the shared library reader.", - "schema": { - "minimum": 1, - "maximum": 1000, - "default": 100, - "type": "number" - } - }, - { - "name": "search", - "required": false, - "in": "query", - "description": "Case-insensitive name or identifier fragment; omitted means all resources.", - "schema": { - "type": "string" - } - }, - { - "name": "packId", - "required": false, - "in": "query", - "description": "Limits rules to a pack in the authenticated organization without per-member requests.", - "schema": { - "format": "uuid", - "type": "string" - } - }, - { - "name": "createdAtGt", - "required": false, - "in": "query", - "description": "This will return items where the createdAt is greater than the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "createdAtLt", - "required": false, - "in": "query", - "description": "This will return items where the createdAt is less than the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "createdAtGe", - "required": false, - "in": "query", - "description": "This will return items where the createdAt is greater than or equal to the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "createdAtLe", - "required": false, - "in": "query", - "description": "This will return items where the createdAt is less than or equal to the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "updatedAtGt", - "required": false, - "in": "query", - "description": "This will return items where the updatedAt is greater than the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "updatedAtLt", - "required": false, - "in": "query", - "description": "This will return items where the updatedAt is less than the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "updatedAtGe", - "required": false, - "in": "query", - "description": "This will return items where the updatedAt is greater than or equal to the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "updatedAtLe", - "required": false, - "in": "query", - "description": "This will return items where the updatedAt is less than or equal to the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GuardrailRule" - } - } - } - } - } - }, - "tags": [ - "Guardrail Rules" - ], - "security": [ - { - "bearer": [] - } - ] - } - }, - "/guardrail/rules/paginated": { - "get": { - "operationId": "GuardrailRulesController_paginated", - "summary": "List paginated guardrail rules", - "parameters": [ - { - "name": "limit", - "required": false, - "in": "query", - "schema": { - "minimum": 1, - "maximum": 1000, - "default": 100, - "type": "number" - } - }, - { - "name": "search", - "required": false, - "in": "query", - "description": "Case-insensitive name or identifier fragment; omitted means all resources.", - "schema": { - "type": "string" - } - }, - { - "name": "packId", - "required": false, - "in": "query", - "description": "Limits rules to a pack in the authenticated organization without per-member requests.", - "schema": { - "format": "uuid", - "type": "string" - } - }, - { - "name": "sortBy", - "required": false, - "in": "query", - "description": "Only persisted creation order is supported, with the ID as a stable tie-breaker.", - "schema": { - "enum": [ - "createdAt" - ], - "type": "string" - } - }, - { - "name": "createdAtGt", - "required": false, - "in": "query", - "description": "This will return items where the createdAt is greater than the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "createdAtLt", - "required": false, - "in": "query", - "description": "This will return items where the createdAt is less than the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "createdAtGe", - "required": false, - "in": "query", - "description": "This will return items where the createdAt is greater than or equal to the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "createdAtLe", - "required": false, - "in": "query", - "description": "This will return items where the createdAt is less than or equal to the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "updatedAtGt", - "required": false, - "in": "query", - "description": "This will return items where the updatedAt is greater than the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "updatedAtLt", - "required": false, - "in": "query", - "description": "This will return items where the updatedAt is less than the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "updatedAtGe", - "required": false, - "in": "query", - "description": "This will return items where the updatedAt is greater than or equal to the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "updatedAtLe", - "required": false, - "in": "query", - "description": "This will return items where the updatedAt is less than or equal to the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "page", - "required": false, - "in": "query", - "description": "A safe integer page; the reader also validates the computed offset.", - "schema": { - "minimum": 1, - "maximum": 9007199254740991, - "type": "number" - } - }, - { - "name": "sortOrder", - "required": false, - "in": "query", - "description": "This is the sort order for pagination. Defaults to 'DESC'.", - "schema": { - "enum": [ - "ASC", - "DESC" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GuardrailRulesPage" - } - } - } - } - }, - "tags": [ - "Guardrail Rules" - ], - "security": [ - { - "bearer": [] - } - ] - } - }, - "/guardrail/rules/{id}": { - "get": { - "operationId": "GuardrailRulesController_find", - "summary": "Get guardrail rule", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "The unique identifier for the resource.", - "schema": { - "format": "uuid", - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GuardrailRule" - } - } - } - } - }, - "tags": [ - "Guardrail Rules" - ], - "security": [ - { - "bearer": [] - } - ] - } - }, - "/guardrail/packs": { - "get": { - "operationId": "GuardrailPacksController_list", - "summary": "List guardrail packs", - "parameters": [ - { - "name": "limit", - "required": false, - "in": "query", - "description": "Positive bounded list size, matching the shared library reader.", - "schema": { - "minimum": 1, - "maximum": 1000, - "default": 100, - "type": "number" - } - }, - { - "name": "search", - "required": false, - "in": "query", - "description": "Case-insensitive name or identifier fragment; omitted means all resources.", - "schema": { - "type": "string" - } - }, - { - "name": "createdAtGt", - "required": false, - "in": "query", - "description": "This will return items where the createdAt is greater than the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "createdAtLt", - "required": false, - "in": "query", - "description": "This will return items where the createdAt is less than the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "createdAtGe", - "required": false, - "in": "query", - "description": "This will return items where the createdAt is greater than or equal to the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "createdAtLe", - "required": false, - "in": "query", - "description": "This will return items where the createdAt is less than or equal to the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "updatedAtGt", - "required": false, - "in": "query", - "description": "This will return items where the updatedAt is greater than the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "updatedAtLt", - "required": false, - "in": "query", - "description": "This will return items where the updatedAt is less than the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "updatedAtGe", - "required": false, - "in": "query", - "description": "This will return items where the updatedAt is greater than or equal to the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "updatedAtLe", - "required": false, - "in": "query", - "description": "This will return items where the updatedAt is less than or equal to the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GuardrailPack" - } - } - } - } - } - }, - "tags": [ - "Guardrail Packs" - ], - "security": [ - { - "bearer": [] - } - ] - } - }, - "/guardrail/packs/paginated": { - "get": { - "operationId": "GuardrailPacksController_paginated", - "summary": "List paginated guardrail packs", - "parameters": [ - { - "name": "limit", - "required": false, - "in": "query", - "schema": { - "minimum": 1, - "maximum": 1000, - "default": 100, - "type": "number" - } - }, - { - "name": "search", - "required": false, - "in": "query", - "description": "Case-insensitive name or identifier fragment; omitted means all resources.", - "schema": { - "type": "string" - } - }, - { - "name": "sortBy", - "required": false, - "in": "query", - "description": "Only persisted creation order is supported, with the ID as a stable tie-breaker.", - "schema": { - "enum": [ - "createdAt" - ], - "type": "string" - } - }, - { - "name": "createdAtGt", - "required": false, - "in": "query", - "description": "This will return items where the createdAt is greater than the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "createdAtLt", - "required": false, - "in": "query", - "description": "This will return items where the createdAt is less than the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "createdAtGe", - "required": false, - "in": "query", - "description": "This will return items where the createdAt is greater than or equal to the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "createdAtLe", - "required": false, - "in": "query", - "description": "This will return items where the createdAt is less than or equal to the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "updatedAtGt", - "required": false, - "in": "query", - "description": "This will return items where the updatedAt is greater than the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "updatedAtLt", - "required": false, - "in": "query", - "description": "This will return items where the updatedAt is less than the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "updatedAtGe", - "required": false, - "in": "query", - "description": "This will return items where the updatedAt is greater than or equal to the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "updatedAtLe", - "required": false, - "in": "query", - "description": "This will return items where the updatedAt is less than or equal to the specified value.", - "schema": { - "format": "date-time", - "type": "string" - } - }, - { - "name": "page", - "required": false, - "in": "query", - "description": "A safe integer page; the reader also validates the computed offset.", - "schema": { - "minimum": 1, - "maximum": 9007199254740991, - "type": "number" - } - }, - { - "name": "sortOrder", - "required": false, - "in": "query", - "description": "This is the sort order for pagination. Defaults to 'DESC'.", - "schema": { - "enum": [ - "ASC", - "DESC" - ], - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GuardrailPacksPage" - } - } - } - } - }, - "tags": [ - "Guardrail Packs" - ], - "security": [ - { - "bearer": [] - } - ] - } - }, - "/guardrail/packs/{id}": { - "get": { - "operationId": "GuardrailPacksController_find", - "summary": "Get guardrail pack", - "parameters": [ - { - "name": "id", - "required": true, - "in": "path", - "description": "The unique identifier for the resource.", - "schema": { - "format": "uuid", - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GuardrailPack" - } - } - } - } - }, - "tags": [ - "Guardrail Packs" - ], - "security": [ - { - "bearer": [] - } - ] - } - }, "/provider/{provider}/{resourceName}": { "post": { "operationId": "ProviderResourceController_createProviderResource", @@ -67558,6 +66870,7 @@ "formulas": { "type": "array", "description": "Formulas are mathematical expressions applied on the data returned by the queries to transform them before being used to create the insight.\nThe formulas needs to be a valid mathematical expression, supported by MathJS - https://mathjs.org/docs/expressions/syntax.html\nA formula is created by using the query names as the variable.\nThe formulas must contain at least one query name in the LiquidJS format {{query_name}} or {{['query name']}} which will be substituted with the query result.\nFor example, if you have 2 queries, 'Was Booking Made' and 'Average Call Duration', you can create a formula like this:\n```\n{{['Query 1']}} / {{['Query 2']}} * 100\n```\n\n```\n({{[Query 1]}} * 10) + {{[Query 2]}}\n```\nThis will take the\n\nYou can also use the query names as the variable in the formula.", + "maxItems": 20, "items": { "$ref": "#/components/schemas/InsightFormula" } @@ -67685,6 +66998,7 @@ "formulas": { "type": "array", "description": "Formulas are mathematical expressions applied on the data returned by the queries to transform them before being used to create the insight.\nThe formulas needs to be a valid mathematical expression, supported by MathJS - https://mathjs.org/docs/expressions/syntax.html\nA formula is created by using the query names as the variable.\nThe formulas must contain at least one query name in the LiquidJS format {{query_name}} or {{['query name']}} which will be substituted with the query result.\nFor example, if you have 2 queries, 'Was Booking Made' and 'Average Call Duration', you can create a formula like this:\n```\n{{['Query 1']}} / {{['Query 2']}} * 100\n```\n\n```\n({{[Query 1]}} * 10) + {{[Query 2]}}\n```\nThis will take the\n\nYou can also use the query names as the variable in the formula.", + "maxItems": 20, "items": { "$ref": "#/components/schemas/InsightFormula" } @@ -67811,6 +67125,7 @@ "formulas": { "type": "array", "description": "Formulas are mathematical expressions applied on the data returned by the queries to transform them before being used to create the insight.\nThe formulas needs to be a valid mathematical expression, supported by MathJS - https://mathjs.org/docs/expressions/syntax.html\nA formula is created by using the query names as the variable.\nThe formulas must contain at least one query name in the LiquidJS format {{query_name}} or {{['query name']}} which will be substituted with the query result.\nFor example, if you have 2 queries, 'Was Booking Made' and 'Average Call Duration', you can create a formula like this:\n```\n{{['Query 1']}} / {{['Query 2']}} * 100\n```\n\n```\n({{[Query 1]}} * 10) + {{[Query 2]}}\n```\nThis will take the\n\nYou can also use the query names as the variable in the formula.", + "maxItems": 20, "items": { "$ref": "#/components/schemas/InsightFormula" } @@ -68001,6 +67316,7 @@ "formulas": { "type": "array", "description": "Formulas are mathematical expressions applied on the data returned by the queries to transform them before being used to create the insight.\nThe formulas needs to be a valid mathematical expression, supported by MathJS - https://mathjs.org/docs/expressions/syntax.html\nA formula is created by using the query names as the variable.\nThe formulas must contain at least one query name in the LiquidJS format {{query_name}} or {{['query name']}} which will be substituted with the query result.\nFor example, if you have 2 queries, 'Was Booking Made' and 'Average Call Duration', you can create a formula like this:\n```\n{{['Query 1']}} / {{['Query 2']}} * 100\n```\n\n```\n({{[Query 1]}} * 10) + {{[Query 2]}}\n```\nThis will take the\n\nYou can also use the query names as the variable in the formula.", + "maxItems": 20, "items": { "$ref": "#/components/schemas/InsightFormula" } @@ -68079,6 +67395,7 @@ "formulas": { "type": "array", "description": "Formulas are mathematical expressions applied on the data returned by the queries to transform them before being used to create the insight.\nThe formulas needs to be a valid mathematical expression, supported by MathJS - https://mathjs.org/docs/expressions/syntax.html\nA formula is created by using the query names as the variable.\nThe formulas must contain at least one query name in the LiquidJS format {{query_name}} or {{['query name']}} which will be substituted with the query result.\nFor example, if you have 2 queries, 'Was Booking Made' and 'Average Call Duration', you can create a formula like this:\n```\n{{['Query 1']}} / {{['Query 2']}} * 100\n```\n\n```\n({{[Query 1]}} * 10) + {{[Query 2]}}\n```\nThis will take the\n\nYou can also use the query names as the variable in the formula.", + "maxItems": 20, "items": { "$ref": "#/components/schemas/InsightFormula" } @@ -68149,6 +67466,7 @@ "formulas": { "type": "array", "description": "Formulas are mathematical expressions applied on the data returned by the queries to transform them before being used to create the insight.\nThe formulas needs to be a valid mathematical expression, supported by MathJS - https://mathjs.org/docs/expressions/syntax.html\nA formula is created by using the query names as the variable.\nThe formulas must contain at least one query name in the LiquidJS format {{query_name}} or {{['query name']}} which will be substituted with the query result.\nFor example, if you have 2 queries, 'Was Booking Made' and 'Average Call Duration', you can create a formula like this:\n```\n{{['Query 1']}} / {{['Query 2']}} * 100\n```\n\n```\n({{[Query 1]}} * 10) + {{[Query 2]}}\n```\nThis will take the\n\nYou can also use the query names as the variable in the formula.", + "maxItems": 20, "items": { "$ref": "#/components/schemas/InsightFormula" } @@ -68279,6 +67597,7 @@ "formulas": { "type": "array", "description": "Formulas are mathematical expressions applied on the data returned by the queries to transform them before being used to create the insight.\nThe formulas needs to be a valid mathematical expression, supported by MathJS - https://mathjs.org/docs/expressions/syntax.html\nA formula is created by using the query names as the variable.\nThe formulas must contain at least one query name in the LiquidJS format {{query_name}} or {{['query name']}} which will be substituted with the query result.\nFor example, if you have 2 queries, 'Was Booking Made' and 'Average Call Duration', you can create a formula like this:\n```\n{{['Query 1']}} / {{['Query 2']}} * 100\n```\n\n```\n({{[Query 1]}} * 10) + {{[Query 2]}}\n```\nThis will take the\n\nYou can also use the query names as the variable in the formula.", + "maxItems": 20, "items": { "$ref": "#/components/schemas/InsightFormula" } @@ -68361,6 +67680,7 @@ "formulas": { "type": "array", "description": "Formulas are mathematical expressions applied on the data returned by the queries to transform them before being used to create the insight.\nThe formulas needs to be a valid mathematical expression, supported by MathJS - https://mathjs.org/docs/expressions/syntax.html\nA formula is created by using the query names as the variable.\nThe formulas must contain at least one query name in the LiquidJS format {{query_name}} or {{['query name']}} which will be substituted with the query result.\nFor example, if you have 2 queries, 'Was Booking Made' and 'Average Call Duration', you can create a formula like this:\n```\n{{['Query 1']}} / {{['Query 2']}} * 100\n```\n\n```\n({{[Query 1]}} * 10) + {{[Query 2]}}\n```\nThis will take the\n\nYou can also use the query names as the variable in the formula.", + "maxItems": 20, "items": { "$ref": "#/components/schemas/InsightFormula" } @@ -68435,6 +67755,7 @@ "formulas": { "type": "array", "description": "Formulas are mathematical expressions applied on the data returned by the queries to transform them before being used to create the insight.\nThe formulas needs to be a valid mathematical expression, supported by MathJS - https://mathjs.org/docs/expressions/syntax.html\nA formula is created by using the query names as the variable.\nThe formulas must contain at least one query name in the LiquidJS format {{query_name}} or {{['query name']}} which will be substituted with the query result.\nFor example, if you have 2 queries, 'Was Booking Made' and 'Average Call Duration', you can create a formula like this:\n```\n{{['Query 1']}} / {{['Query 2']}} * 100\n```\n\n```\n({{[Query 1]}} * 10) + {{[Query 2]}}\n```\nThis will take the\n\nYou can also use the query names as the variable in the formula.", + "maxItems": 20, "items": { "$ref": "#/components/schemas/InsightFormula" } @@ -69321,6 +68642,7 @@ "formulas": { "type": "array", "description": "Formulas are mathematical expressions applied on the data returned by the queries to transform them before being used to create the insight.\nThe formulas needs to be a valid mathematical expression, supported by MathJS - https://mathjs.org/docs/expressions/syntax.html\nA formula is created by using the query names as the variable.\nThe formulas must contain at least one query name in the LiquidJS format {{query_name}} or {{['query name']}} which will be substituted with the query result.\nFor example, if you have 2 queries, 'Was Booking Made' and 'Average Call Duration', you can create a formula like this:\n```\n{{['Query 1']}} / {{['Query 2']}} * 100\n```\n\n```\n({{[Query 1]}} * 10) + {{[Query 2]}}\n```\nThis will take the\n\nYou can also use the query names as the variable in the formula.", + "maxItems": 20, "items": { "$ref": "#/components/schemas/InsightFormula" } @@ -69403,6 +68725,7 @@ "formulas": { "type": "array", "description": "Formulas are mathematical expressions applied on the data returned by the queries to transform them before being used to create the insight.\nThe formulas needs to be a valid mathematical expression, supported by MathJS - https://mathjs.org/docs/expressions/syntax.html\nA formula is created by using the query names as the variable.\nThe formulas must contain at least one query name in the LiquidJS format {{query_name}} or {{['query name']}} which will be substituted with the query result.\nFor example, if you have 2 queries, 'Was Booking Made' and 'Average Call Duration', you can create a formula like this:\n```\n{{['Query 1']}} / {{['Query 2']}} * 100\n```\n\n```\n({{[Query 1]}} * 10) + {{[Query 2]}}\n```\nThis will take the\n\nYou can also use the query names as the variable in the formula.", + "maxItems": 20, "items": { "$ref": "#/components/schemas/InsightFormula" } @@ -69477,6 +68800,7 @@ "formulas": { "type": "array", "description": "Formulas are mathematical expressions applied on the data returned by the queries to transform them before being used to create the insight.\nThe formulas needs to be a valid mathematical expression, supported by MathJS - https://mathjs.org/docs/expressions/syntax.html\nA formula is created by using the query names as the variable.\nThe formulas must contain at least one query name in the LiquidJS format {{query_name}} or {{['query name']}} which will be substituted with the query result.\nFor example, if you have 2 queries, 'Was Booking Made' and 'Average Call Duration', you can create a formula like this:\n```\n{{['Query 1']}} / {{['Query 2']}} * 100\n```\n\n```\n({{[Query 1]}} * 10) + {{[Query 2]}}\n```\nThis will take the\n\nYou can also use the query names as the variable in the formula.", + "maxItems": 20, "items": { "$ref": "#/components/schemas/InsightFormula" } @@ -79850,6 +79174,28 @@ "metadata" ] }, + "CreateGuardrailPackDTO": { + "type": "object", + "properties": { + "name": { + "type": "string", + "pattern": "\\S" + }, + "ruleIds": { + "type": "array", + "description": "Projected from membership rows; a supplied array replaces membership.", + "maxItems": 100, + "items": { + "type": "string", + "format": "uuid" + } + } + }, + "required": [ + "name", + "ruleIds" + ] + }, "GuardrailPack": { "type": "object", "properties": { @@ -79871,11 +79217,12 @@ }, "name": { "type": "string", - "pattern": "/\\S/" + "pattern": "\\S" }, "ruleIds": { "type": "array", "description": "Projected from membership rows; a supplied array replaces membership.", + "maxItems": 100, "items": { "type": "string", "format": "uuid" @@ -79891,6 +79238,107 @@ "ruleIds" ] }, + "GuardrailPackImpact": { + "type": "object", + "properties": { + "assistantIds": { + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + } + }, + "required": [ + "assistantIds" + ] + }, + "GuardrailPackSnapshot": { + "type": "object", + "properties": { + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "name": { + "type": "string", + "pattern": "\\S" + }, + "ruleIds": { + "type": "array", + "description": "Projected from membership rows; a supplied array replaces membership.", + "maxItems": 100, + "items": { + "type": "string", + "format": "uuid" + } + } + }, + "required": [ + "updatedAt", + "name", + "ruleIds" + ] + }, + "SaveGuardrailPackDTO": { + "type": "object", + "properties": { + "name": { + "type": "string", + "pattern": "\\S" + }, + "ruleIds": { + "type": "array", + "description": "Projected from membership rows; a supplied array replaces membership.", + "maxItems": 100, + "items": { + "type": "string", + "format": "uuid" + } + }, + "expected": { + "description": "The complete last-read snapshot prevents silently replacing another editor’s changes.", + "allOf": [ + { + "$ref": "#/components/schemas/GuardrailPackSnapshot" + } + ] + }, + "confirmedAssistantIds": { + "description": "Exact deduplicated impact acknowledged by the user; rechecked while the pack is locked.", + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + } + }, + "required": [ + "expected" + ] + }, + "GuardrailPackConflictResponseDTO": { + "type": "object", + "properties": { + "error": { + "type": "string", + "description": "Machine-readable cause; clients branch on this, never on `message`.", + "enum": [ + "pack_changed", + "impact_changed", + "global_assignment" + ] + }, + "message": { + "type": "string", + "description": "Sentence-case copy safe to show the user." + } + }, + "required": [ + "error", + "message" + ] + }, "GuardrailPacksPage": { "type": "object", "properties": { From 5e8325ebca67e6cd6af6be983c00056a9f2a53b3 Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 13 Nov 2026 00:24:59 +0000 Subject: [PATCH 11/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index f7d37789b..99352098b 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -35745,16 +35745,17 @@ "type": "string", "description": "This is not returned in the API." }, - "authUsername": { - "type": "string" - }, "sipRegisterPlan": { - "description": "This can be used to configure if SIP register is required by the SIP trunk. If not provided, no SIP registration will be attempted.", + "nullable": true, + "description": "This can be used to configure if SIP register is required by the SIP trunk. On creation, omission disables registration. On update, omission preserves it; null disables it.", "allOf": [ { "$ref": "#/components/schemas/SipTrunkOutboundSipRegisterPlan" } ] + }, + "authUsername": { + "type": "string" } } }, @@ -38135,12 +38136,12 @@ }, "deprecationDate": { "type": "string", - "description": "Day the model became deprecated, `YYYY-MM-DD` in UTC.", + "description": "Registry effective deprecation day, `YYYY-MM-DD` in UTC.", "example": "2025-09-26" }, "retirementDate": { "type": "string", - "description": "Day the model is or was retired, `YYYY-MM-DD` in UTC. On and after this\nday Vapi no longer runs the model as configured.", + "description": "Registry effective retirement day, `YYYY-MM-DD` in UTC. An observation\nmay use an internal effective day; this field establishes neither an\nannounced vendor shutdown nor automatic replacement eligibility.", "example": "2026-03-26" }, "replacementStatus": { From 9f88a75b8a9f7858e562507979c93192a8494c50 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 17 Nov 2026 00:25:05 +0000 Subject: [PATCH 12/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 48 ++++++++++++++++++++++++++++---------- 1 file changed, 36 insertions(+), 12 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 99352098b..b9291fdbb 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -29665,15 +29665,7 @@ }, "model": { "type": "string", - "description": "White-label Vapi models are selected by `version`, not a model name, so\n`model` is optional here (the runtime already accepts a version-only Vapi\npayload). Overriding the required `ModelBase.model`: the declared type stays\n`string` to match the base (avoids TS2416) and the `= undefined!` initializer\nsatisfies TS2612 for the field override, while `@IsOptional` +\n`@ApiPropertyOptional` make validation and the generated OpenAPI schema treat\nit as optional (so `VapiModel.required` is `['provider']`)." - }, - "version": { - "type": "string", - "description": "Vapi-managed model version (update channel). When set, this is a Vapi-managed\nLLM routed by the registry; when absent, this is the legacy workflow form\nbelow (`steps` / `workflow`).", - "enum": [ - "latest", - "1" - ] + "description": "This is the Vapi model: `sapien` or `sapien-lite`." }, "provider": { "type": "string", @@ -36324,7 +36316,7 @@ }, "serverVersion": { "type": "string", - "description": "The semver version of your Langfuse server, e.g. 3.63.0, as its /api/public/health endpoint reports it. Optional.", + "description": "The semver version of your Langfuse server, e.g. 3.63.0. Detected from your server's /api/public/health endpoint at save time whenever possible, and a detected version always wins; supply it only when that endpoint is not reachable from Vapi.", "maxLength": 32 }, "name": { @@ -73678,7 +73670,7 @@ }, "serverVersion": { "type": "string", - "description": "The semver version of your Langfuse server, e.g. 3.63.0, as its /api/public/health endpoint reports it. Optional.", + "description": "The semver version of your Langfuse server, e.g. 3.63.0. Detected from your server's /api/public/health endpoint at save time whenever possible, and a detected version always wins; supply it only when that endpoint is not reachable from Vapi.", "maxLength": 32 }, "id": { @@ -76848,7 +76840,7 @@ }, "serverVersion": { "type": "string", - "description": "The semver version of your Langfuse server, e.g. 3.63.0, as its /api/public/health endpoint reports it. Optional.", + "description": "The semver version of your Langfuse server, e.g. 3.63.0. Detected from your server's /api/public/health endpoint at save time whenever possible, and a detected version always wins; supply it only when that endpoint is not reachable from Vapi.", "maxLength": 32 }, "name": { @@ -77917,6 +77909,38 @@ "roleArn" ] }, + "LangfuseServerProbeDTO": { + "type": "object", + "properties": { + "apiUrl": { + "type": "string", + "description": "The Langfuse host URL to probe, e.g. https://cloud.langfuse.com. Only the unauthenticated health endpoint is read; no keys are involved." + } + }, + "required": [ + "apiUrl" + ] + }, + "LangfuseServerProbeResponse": { + "type": "object", + "properties": { + "reachable": { + "type": "boolean", + "description": "Whether {apiUrl}/api/public/health answered at all." + }, + "serverVersion": { + "type": "string", + "description": "The exact version the server reported, e.g. 3.63.0. Absent when the destination answered without one (proxies, adapters) or not at all." + }, + "blockedMessage": { + "type": "string", + "description": "Why the URL was refused without being contacted (a private address, plaintext http). Absent for a destination that was merely unreachable: supplying the version yourself applies there, but not here, because saving would refuse the URL with this same reason." + } + }, + "required": [ + "reachable" + ] + }, "ToolTemplateSetup": { "type": "object", "properties": { From 74f0aaaf7ede5c98474c2a1e6b730e5a05228488 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 18 Nov 2026 00:25:16 +0000 Subject: [PATCH 13/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 461 ++++++++++++++++++++++++++++++++++++- 1 file changed, 456 insertions(+), 5 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index b9291fdbb..757f6f726 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -50717,6 +50717,11 @@ "description": "Requested assistant identity whose current published row remains visible.", "format": "uuid" }, + "latestVersion": { + "type": "string", + "description": "Current assistant.latest_version label; omitted when unavailable, never a goal revision.", + "minLength": 1 + }, "goals": { "description": "Empty when this visible assistant has no goals; no goal is automatically selected.", "type": "array", @@ -50872,6 +50877,88 @@ "pageWindow" ] }, + "CallHealthDashboardGoalVersionSummaryDTO": { + "type": "object", + "properties": { + "registeredCallCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "eligibleCallCount": { + "type": "integer", + "description": "Calls with an accepted semantic eligibility decision and binary goal outcome.", + "minimum": 0, + "maximum": 9007199254740991 + }, + "ineligibleCallCount": { + "type": "integer", + "description": "Accepted semantic exclusions; absent from the goal denominator.", + "minimum": 0, + "maximum": 9007199254740991 + }, + "unassessedCallCount": { + "type": "integer", + "description": "No accepted eligibility decision, including technical or privacy exclusions.", + "minimum": 0, + "maximum": 9007199254740991 + }, + "goalMetCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "goalNotMetCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "evaluatedCallCount": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "analyzedCallCount": { + "type": "integer", + "description": "Accepted current-goal results, including ineligible; independent of issue processing.", + "minimum": 0, + "maximum": 9007199254740991 + }, + "goalMetRate": { + "type": "number", + "description": "Goal-met / evaluatedCallCount; omitted when there are no binary outcomes.", + "minimum": 0, + "maximum": 1 + }, + "goalNotMetRate": { + "type": "number", + "minimum": 0, + "maximum": 1 + }, + "assistantVersionId": { + "type": "string", + "nullable": true, + "description": "The version the calls ran on; null groups the calls that ran on no version.", + "format": "uuid" + }, + "assistantVersion": { + "type": "string", + "description": "The version's label, such as v3; absent for calls on no version or whose label was unavailable at registration.", + "pattern": "^v[1-9][0-9]*$" + } + }, + "required": [ + "registeredCallCount", + "eligibleCallCount", + "ineligibleCallCount", + "unassessedCallCount", + "goalMetCount", + "goalNotMetCount", + "evaluatedCallCount", + "analyzedCallCount", + "assistantVersionId" + ] + }, "CallHealthDashboardAssistantSummaryResponseDTO": { "type": "object", "properties": { @@ -50918,6 +51005,13 @@ "$ref": "#/components/schemas/CallHealthDashboardCoverageDTO" } ] + }, + "assistantVersions": { + "description": "Full-window totals per assistant version the calls ran on, newest version first; they partition `goal`.", + "type": "array", + "items": { + "$ref": "#/components/schemas/CallHealthDashboardGoalVersionSummaryDTO" + } } }, "required": [ @@ -50926,7 +51020,8 @@ "goal", "results", "seriesPage", - "coverage" + "coverage", + "assistantVersions" ] }, "DeveloperMessage": { @@ -62503,6 +62598,45 @@ "analyzedCallCount" ] }, + "CallHealthDashboardIssueVersionDTO": { + "type": "object", + "properties": { + "assistantVersionId": { + "type": "string", + "nullable": true, + "description": "The version the calls ran on; null groups the calls that ran on no version.", + "format": "uuid" + }, + "assistantVersion": { + "type": "string", + "description": "The version's label, such as v3; absent for calls on no version or whose label was unavailable at registration.", + "pattern": "^v[1-9][0-9]*$" + }, + "affectedCallCount": { + "type": "integer", + "description": "Distinct visible calls on this version matching the issue in the window.", + "minimum": 0, + "maximum": 9007199254740991 + }, + "analyzedCallCount": { + "type": "integer", + "description": "Accepted current-goal outcomes on this version for the issue's assistant in the window.", + "minimum": 0, + "maximum": 9007199254740991 + }, + "affectedCallRate": { + "type": "number", + "description": "affectedCallCount / analyzedCallCount; omitted for a zero denominator.", + "minimum": 0, + "maximum": 1 + } + }, + "required": [ + "assistantVersionId", + "affectedCallCount", + "analyzedCallCount" + ] + }, "CallHealthDashboardIssueCoverageDTO": { "type": "object", "properties": { @@ -62588,6 +62722,13 @@ "$ref": "#/components/schemas/CallHealthDashboardIssueDailyDTO" } }, + "assistantVersions": { + "description": "Full-window counts per assistant version the calls ran on, newest version first; they partition the totals.", + "type": "array", + "items": { + "$ref": "#/components/schemas/CallHealthDashboardIssueVersionDTO" + } + }, "lastSeenAt": { "type": "string", "format": "date-time", @@ -62608,6 +62749,7 @@ "affectedCallCount", "analyzedCallCount", "dailySeries", + "assistantVersions", "coverage" ] }, @@ -71061,6 +71203,16 @@ "not_applicable" ], "description": "Absent until a semantic result is accepted. Processing failures are never goal_not_met." + }, + "assistantVersionId": { + "type": "string", + "format": "uuid", + "description": "The assistant version the call ran on. Absent when the call ran on no version." + }, + "assistantVersion": { + "type": "string", + "pattern": "^v[1-9][0-9]*$", + "description": "That version's label, such as v3. Absent when the call ran on no version or the label was not available when the call was registered." } }, "required": [ @@ -71170,6 +71322,16 @@ "available", "unavailable" ] + }, + "assistantVersionId": { + "type": "string", + "description": "The assistant version the call ran on; absent when it ran on none.", + "format": "uuid" + }, + "assistantVersion": { + "type": "string", + "description": "That version's label, such as v3; absent when the call ran on none or the label was unavailable at registration.", + "pattern": "^v[1-9][0-9]*$" } }, "required": [ @@ -71649,6 +71811,18 @@ "charge_automatically", "send_invoice" ] + }, + "demoStartedAt": { + "format": "date-time", + "type": "string", + "nullable": true, + "description": "This is when the current or most recent demo on this subscription started,\neither when Vapi created the account as a demo or when Vapi made an\nexisting pay-as-you-go account one. Not set if it was never a demo." + }, + "demoEndedAt": { + "format": "date-time", + "type": "string", + "nullable": true, + "description": "This is when that demo ended, by an upgrade or by Vapi. Not set while the\ndemo is active, and cleared when an ended demo starts again. A demo is\nactive while `demoStartedAt` is set, this is not, and the subscription is\npay-as-you-go." } }, "required": [ @@ -79020,6 +79194,7 @@ "text": { "type": "string", "description": "Replacement speech; it must pass its own guardrail evaluation.", + "maxLength": 1000, "pattern": "/\\S/" } }, @@ -79093,12 +79268,12 @@ }, "behavior": { "type": "string", - "pattern": "/\\S/" + "pattern": "\\S" }, "condition": { "type": "string", "description": "Natural-language condition evaluated using the candidate and call history.", - "pattern": "/\\S/" + "pattern": "\\S" } }, "required": [ @@ -79106,6 +79281,62 @@ "behavior" ] }, + "CreateGuardrailRuleDTO": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 100, + "pattern": "\\S" + }, + "authoring": { + "nullable": true, + "description": "Structured editor input. Supplied PATCH authoring replaces the complete object; advanced text writes clear it to null.", + "allOf": [ + { + "$ref": "#/components/schemas/GuardrailAuthoring" + } + ] + }, + "instructions": { + "type": "string", + "description": "Advanced text input. Do not supply it together with structured authoring.", + "pattern": "\\S" + }, + "sensitivity": { + "type": "string", + "description": "Evaluation sensitivity; numeric cutoffs are internal and provisional.", + "enum": [ + "low", + "medium", + "aggressive" + ] + }, + "action": { + "description": "Supplied PATCH actions replace the complete variant.", + "oneOf": [ + { + "oneOf": [ + { + "$ref": "#/components/schemas/GuardrailFixedResponseAction" + }, + { + "$ref": "#/components/schemas/GuardrailRedirectAction" + } + ] + }, + { + "$ref": "#/components/schemas/GuardrailEscalateAction" + } + ] + } + }, + "required": [ + "name", + "sensitivity", + "action" + ] + }, "GuardrailRule": { "type": "object", "properties": { @@ -79127,7 +79358,8 @@ }, "name": { "type": "string", - "pattern": "/\\S/" + "maxLength": 100, + "pattern": "\\S" }, "authoring": { "nullable": true, @@ -79141,7 +79373,7 @@ "instructions": { "type": "string", "description": "Evaluated instructions, generated from authoring or supplied in advanced mode.", - "pattern": "/\\S/" + "pattern": "\\S" }, "sensitivity": { "type": "string", @@ -79177,10 +79409,225 @@ "createdAt", "updatedAt", "name", + "instructions", "sensitivity", "action" ] }, + "GuardrailRuleUsage": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Stable identity of an affected assistant or containing pack.", + "format": "uuid" + }, + "name": { + "type": "string", + "description": "Current display name, with an untitled fallback for assistants." + } + }, + "required": [ + "id", + "name" + ] + }, + "GuardrailRuleImpact": { + "type": "object", + "properties": { + "assistantIds": { + "description": "Distinct assistants affected across direct, pack, draft, and version selections.", + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "packIds": { + "description": "Packs currently containing the rule.", + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + }, + "assistants": { + "description": "Names for the same distinct assistant identities.", + "type": "array", + "items": { + "$ref": "#/components/schemas/GuardrailRuleUsage" + } + }, + "packs": { + "description": "Names for the containing pack identities.", + "type": "array", + "items": { + "$ref": "#/components/schemas/GuardrailRuleUsage" + } + } + }, + "required": [ + "assistantIds", + "packIds", + "assistants", + "packs" + ] + }, + "GuardrailRuleSnapshot": { + "type": "object", + "properties": { + "updatedAt": { + "type": "string", + "description": "Millisecond timestamp from the last-read resource.", + "format": "date-time" + }, + "name": { + "type": "string", + "maxLength": 100, + "pattern": "\\S" + }, + "authoring": { + "nullable": true, + "description": "Structured editor input. Supplied PATCH authoring replaces the complete object; advanced text writes clear it to null.", + "allOf": [ + { + "$ref": "#/components/schemas/GuardrailAuthoring" + } + ] + }, + "instructions": { + "type": "string", + "pattern": "\\S", + "description": "Evaluated instructions, generated from authoring or supplied in advanced mode." + }, + "sensitivity": { + "type": "string", + "description": "Evaluation sensitivity; numeric cutoffs are internal and provisional.", + "enum": [ + "low", + "medium", + "aggressive" + ] + }, + "action": { + "description": "Supplied PATCH actions replace the complete variant.", + "oneOf": [ + { + "oneOf": [ + { + "$ref": "#/components/schemas/GuardrailFixedResponseAction" + }, + { + "$ref": "#/components/schemas/GuardrailRedirectAction" + } + ] + }, + { + "$ref": "#/components/schemas/GuardrailEscalateAction" + } + ] + } + }, + "required": [ + "updatedAt", + "name", + "instructions", + "sensitivity", + "action" + ] + }, + "SaveGuardrailRuleDTO": { + "type": "object", + "properties": { + "name": { + "type": "string", + "maxLength": 100, + "pattern": "\\S" + }, + "authoring": { + "nullable": true, + "description": "Structured editor input. Supplied PATCH authoring replaces the complete object; advanced text writes clear it to null.", + "allOf": [ + { + "$ref": "#/components/schemas/GuardrailAuthoring" + } + ] + }, + "instructions": { + "type": "string", + "description": "Advanced text input. Do not supply it together with structured authoring.", + "pattern": "\\S" + }, + "sensitivity": { + "type": "string", + "description": "Evaluation sensitivity; numeric cutoffs are internal and provisional.", + "enum": [ + "low", + "medium", + "aggressive" + ] + }, + "action": { + "description": "Supplied PATCH actions replace the complete variant.", + "oneOf": [ + { + "oneOf": [ + { + "$ref": "#/components/schemas/GuardrailFixedResponseAction" + }, + { + "$ref": "#/components/schemas/GuardrailRedirectAction" + } + ] + }, + { + "$ref": "#/components/schemas/GuardrailEscalateAction" + } + ] + }, + "expected": { + "description": "Last-read configuration; the complete snapshot prevents lost edits.", + "allOf": [ + { + "$ref": "#/components/schemas/GuardrailRuleSnapshot" + } + ] + }, + "confirmedAssistantIds": { + "description": "Current deduplicated assistant impact acknowledged before a shared save.", + "type": "array", + "items": { + "type": "string", + "format": "uuid" + } + } + }, + "required": [ + "expected" + ] + }, + "GuardrailRuleConflictResponseDTO": { + "type": "object", + "properties": { + "error": { + "type": "string", + "description": "Machine-readable cause; clients branch on this, never on `message`.", + "enum": [ + "rule_changed", + "impact_changed", + "global_assignment" + ] + }, + "message": { + "type": "string", + "description": "Sentence-case copy safe to show the user." + } + }, + "required": [ + "error", + "message" + ] + }, "GuardrailRulesPage": { "type": "object", "properties": { @@ -79204,6 +79651,7 @@ "properties": { "name": { "type": "string", + "maxLength": 100, "pattern": "\\S" }, "ruleIds": { @@ -79242,6 +79690,7 @@ }, "name": { "type": "string", + "maxLength": 100, "pattern": "\\S" }, "ruleIds": { @@ -79287,6 +79736,7 @@ }, "name": { "type": "string", + "maxLength": 100, "pattern": "\\S" }, "ruleIds": { @@ -79310,6 +79760,7 @@ "properties": { "name": { "type": "string", + "maxLength": 100, "pattern": "\\S" }, "ruleIds": { From 2b964b183ed4fbdaaf69a3572d278b50121a9941 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 19 Nov 2026 00:24:59 +0000 Subject: [PATCH 14/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 209 ++++++++++++++++++++++++++++++++++++- 1 file changed, 205 insertions(+), 4 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 757f6f726..156ae827a 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -50810,7 +50810,7 @@ }, "date": { "type": "string", - "description": "UTC calendar date; the first and last buckets are clipped to the requested window.", + "description": "Calendar date in the requested time zone (UTC by default); the first and last buckets are clipped to the requested window.", "format": "date" } }, @@ -50870,6 +50870,11 @@ "minLength": 1, "maxLength": 2048, "pattern": "^[A-Za-z0-9_-]+$" + }, + "timeZone": { + "type": "string", + "description": "The requested time zone whose midnights bound this page and label its dates; absent for UTC.", + "pattern": "^(?:UTC|[A-Za-z][A-Za-z0-9_+-]*(?:/[A-Za-z0-9_+-]+)+)$" } }, "required": [ @@ -50987,7 +50992,7 @@ ] }, "results": { - "description": "One ascending contiguous page of UTC dates, including empty buckets.", + "description": "One ascending contiguous page of dates in the requested time zone, including empty buckets.", "minItems": 1, "maxItems": 100, "type": "array", @@ -51024,6 +51029,89 @@ "assistantVersions" ] }, + "CallHealthDashboardGoalCallDTO": { + "type": "object", + "properties": { + "callId": { + "type": "string", + "description": "The call this row reports the goal result for.", + "format": "uuid" + }, + "callTime": { + "type": "string", + "format": "date-time", + "pattern": "^\\d{4}-\\d{2}-\\d{2}T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.(\\d{1,6}))?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$", + "description": "Call completion time (endedAt), never startedAt." + }, + "goalVersion": { + "type": "string", + "description": "Current goal revision the result belongs to; the list returns no other revision.", + "pattern": "^[1-9]\\d{0,18}$", + "minLength": 1, + "maxLength": 19 + }, + "processingState": { + "type": "string", + "description": "Where this call's evaluation under goalVersion stands.", + "enum": [ + "pending", + "running", + "parked", + "unavailable", + "excluded", + "completed" + ] + }, + "goalOutcome": { + "type": "string", + "description": "Absent until a result is accepted; a processing failure is never goal_not_met.", + "enum": [ + "goal_met", + "goal_not_met", + "not_applicable" + ] + }, + "assistantVersionId": { + "type": "string", + "description": "The assistant version the call ran on; absent when it ran on none.", + "format": "uuid" + }, + "assistantVersion": { + "type": "string", + "description": "That version's label, such as v3; absent when the call ran on none or the label was unavailable at registration.", + "pattern": "^v[1-9][0-9]*$" + } + }, + "required": [ + "callId", + "callTime", + "goalVersion", + "processingState" + ] + }, + "CallHealthDashboardGoalCallsResponseDTO": { + "type": "object", + "properties": { + "results": { + "description": "Newest completion first, then call UUID descending.", + "maxItems": 100, + "type": "array", + "items": { + "$ref": "#/components/schemas/CallHealthDashboardGoalCallDTO" + } + }, + "nextCursor": { + "type": "string", + "description": "Continues the list after the last result; absent on the last page.", + "minLength": 1, + "maxLength": 2048, + "pattern": "^[A-Za-z0-9_-]+$" + } + }, + "required": [ + "results" + ] + }, "DeveloperMessage": { "type": "object", "properties": { @@ -62570,7 +62658,7 @@ "properties": { "date": { "type": "string", - "description": "UTC calendar date, with boundary buckets clipped to the requested window.", + "description": "Calendar date in the requested time zone (UTC by default), with boundary buckets clipped to the requested window.", "format": "date" }, "affectedCallCount": { @@ -62689,6 +62777,11 @@ "description": "Owning goal identity; issue-ID routes derive this selection from the issue.", "format": "uuid" }, + "categoryKey": { + "type": "string", + "description": "The ranking category the issue belongs to, such as `step_skipped`.", + "pattern": "^[a-z][a-z0-9_]{0,127}$" + }, "summary": { "type": "string", "minLength": 1 @@ -62714,7 +62807,7 @@ "maximum": 1 }, "dailySeries": { - "description": "One ascending contiguous page of UTC buckets; memberships across issues are not unique calls.", + "description": "One ascending contiguous page of daily buckets in the requested time zone; memberships across issues are not unique calls.", "minItems": 1, "maxItems": 100, "type": "array", @@ -62744,6 +62837,7 @@ "status", "rowVersion", "goalId", + "categoryKey", "summary", "assistant", "affectedCallCount", @@ -71365,6 +71459,113 @@ "coverage" ] }, + "CallHealthDashboardCallIssueDTO": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "name": { + "type": "string", + "minLength": 1 + }, + "status": { + "type": "string", + "enum": [ + "active", + "resolved", + "dismissed" + ] + }, + "rowVersion": { + "type": "integer", + "minimum": 0, + "maximum": 9007199254740991 + }, + "categoryKey": { + "type": "string", + "description": "The ranking category the issue belongs to.", + "pattern": "^[a-z][a-z0-9_]{0,127}$" + } + }, + "required": [ + "id", + "name", + "status", + "rowVersion", + "categoryKey" + ] + }, + "CallHealthDashboardCallResponseDTO": { + "type": "object", + "properties": { + "callId": { + "type": "string", + "format": "uuid" + }, + "assistantId": { + "type": "string", + "format": "uuid" + }, + "goalId": { + "type": "string", + "description": "Selected goal identity.", + "format": "uuid" + }, + "assistantVersionId": { + "type": "string", + "description": "The assistant version the call ran on; absent when it ran on none.", + "format": "uuid" + }, + "assistantVersion": { + "type": "string", + "description": "That version's label, such as v3; absent when the call ran on none or the label was unavailable at registration.", + "pattern": "^v[1-9][0-9]*$" + }, + "assessmentState": { + "type": "string", + "description": "Classification state, named as in the coverage `classification` counters.", + "enum": [ + "pending", + "unavailable", + "skipped", + "error", + "excluded", + "complete", + "partial" + ] + }, + "primaryCategoryKey": { + "type": "string", + "description": "The call's main failure category; absent when classification selected none.", + "pattern": "^[a-z][a-z0-9_]{0,127}$" + }, + "otherCategoryKeys": { + "type": "array", + "description": "The other selected categories, in ascending key order.", + "items": { + "type": "string", + "pattern": "^[a-z][a-z0-9_]{0,127}$" + } + }, + "issues": { + "description": "Visible issues the call joined, in ascending ID order.", + "type": "array", + "items": { + "$ref": "#/components/schemas/CallHealthDashboardCallIssueDTO" + } + } + }, + "required": [ + "callId", + "assistantId", + "goalId", + "assessmentState", + "otherCategoryKeys", + "issues" + ] + }, "CallHealthDashboardTriageRequestDTO": { "type": "object", "properties": { From dc24843668eb7676d3bf3d9c39cbe995f6e113f1 Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 20 Nov 2026 00:22:37 +0000 Subject: [PATCH 15/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 45 +++++++++++++++++++++++++++++++++----- 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 156ae827a..ea2c1963b 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -36373,6 +36373,7 @@ }, "region": { "type": "string", + "pattern": "^[a-z]{2}\\d{1,2}$", "description": "Region of your application. For example: eu1, eu2, us1, us2" }, "apiKey": { @@ -51029,6 +51030,24 @@ "assistantVersions" ] }, + "CallHealthDashboardGoalCallIssueDTO": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uuid" + }, + "categoryKey": { + "type": "string", + "description": "The ranking category the issue belongs to.", + "pattern": "^[a-z][a-z0-9_]{0,127}$" + } + }, + "required": [ + "id", + "categoryKey" + ] + }, "CallHealthDashboardGoalCallDTO": { "type": "object", "properties": { @@ -51080,13 +51099,26 @@ "type": "string", "description": "That version's label, such as v3; absent when the call ran on none or the label was unavailable at registration.", "pattern": "^v[1-9][0-9]*$" + }, + "primaryCategoryKey": { + "type": "string", + "description": "The call's main failure category, the same as GET /call-health/call/{id} returns; absent when the call has no current classification or it selected none.", + "pattern": "^[a-z][a-z0-9_]{0,127}$" + }, + "issues": { + "description": "Visible issues the call joined, in ascending ID order, the same as GET /call-health/call/{id} returns; empty when it joined none.", + "type": "array", + "items": { + "$ref": "#/components/schemas/CallHealthDashboardGoalCallIssueDTO" + } } }, "required": [ "callId", "callTime", "goalVersion", - "processingState" + "processingState", + "issues" ] }, "CallHealthDashboardGoalCallsResponseDTO": { @@ -74144,14 +74176,14 @@ "type": "string", "description": "Team ID" }, - "region": { - "type": "string", - "description": "Region of your application. For example: eu1, eu2, us1, us2" - }, "apiKey": { "type": "string", "description": "This is not returned in the API." }, + "region": { + "type": "string", + "description": "Region of your application. For example: eu1, eu2, us1, us2" + }, "id": { "type": "string", "description": "This is the unique identifier for the credential." @@ -74180,8 +74212,8 @@ "required": [ "provider", "teamId", - "region", "apiKey", + "region", "id", "orgId", "createdAt", @@ -77262,6 +77294,7 @@ }, "region": { "type": "string", + "pattern": "^[a-z]{2}\\d{1,2}$", "description": "Region of your application. For example: eu1, eu2, us1, us2" }, "apiKey": { From b9e559af5ccec57cae1ff812f0a84a81a2e0ae89 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 25 Nov 2026 00:24:58 +0000 Subject: [PATCH 16/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 716 ++++++++++++++++++++++++++++++++----- 1 file changed, 628 insertions(+), 88 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index ea2c1963b..476e88b4d 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -12217,14 +12217,15 @@ "enum": [ "scribe_v1", "scribe_v2", - "scribe_v2_realtime" + "scribe_v2_realtime", + "scribe_v3_live" ] } ] }, "language": { "type": "string", - "description": "This is the language that will be used for the transcription.", + "description": "Language for transcription. `multi` enables automatic code-switching on scribe_v3_live.", "enum": [ "aa", "ab", @@ -12410,11 +12411,208 @@ "yo", "za", "zh", - "zu" + "zu", + "multi" ] }, + "languages": { + "type": "array", + "description": "Language detection hints for scribe_v3_live. Duplicates are removed; [] explicitly clears inherited hints.", + "items": { + "type": "string", + "enum": [ + "aa", + "ab", + "ae", + "af", + "ak", + "am", + "an", + "ar", + "as", + "av", + "ay", + "az", + "ba", + "be", + "bg", + "bh", + "bi", + "bm", + "bn", + "bo", + "br", + "bs", + "ca", + "ce", + "ch", + "co", + "cr", + "cs", + "cu", + "cv", + "cy", + "da", + "de", + "dv", + "dz", + "ee", + "el", + "en", + "eo", + "es", + "et", + "eu", + "fa", + "ff", + "fi", + "fj", + "fo", + "fr", + "fy", + "ga", + "gd", + "gl", + "gn", + "gu", + "gv", + "ha", + "he", + "hi", + "ho", + "hr", + "ht", + "hu", + "hy", + "hz", + "ia", + "id", + "ie", + "ig", + "ii", + "ik", + "io", + "is", + "it", + "iu", + "ja", + "jv", + "ka", + "kg", + "ki", + "kj", + "kk", + "kl", + "km", + "kn", + "ko", + "kr", + "ks", + "ku", + "kv", + "kw", + "ky", + "la", + "lb", + "lg", + "li", + "ln", + "lo", + "lt", + "lu", + "lv", + "mg", + "mh", + "mi", + "mk", + "ml", + "mn", + "mr", + "ms", + "mt", + "my", + "na", + "nb", + "nd", + "ne", + "ng", + "nl", + "nn", + "no", + "nr", + "nv", + "ny", + "oc", + "oj", + "om", + "or", + "os", + "pa", + "pi", + "pl", + "ps", + "pt", + "qu", + "rm", + "rn", + "ro", + "ru", + "rw", + "sa", + "sc", + "sd", + "se", + "sg", + "si", + "sk", + "sl", + "sm", + "sn", + "so", + "sq", + "sr", + "ss", + "st", + "su", + "sv", + "sw", + "ta", + "te", + "tg", + "th", + "ti", + "tk", + "tl", + "tn", + "to", + "tr", + "ts", + "tt", + "tw", + "ty", + "ug", + "uk", + "ur", + "uz", + "ve", + "vi", + "vo", + "wa", + "wo", + "xh", + "yi", + "yue", + "yo", + "za", + "zh", + "zu" + ] + }, + "minItems": 0, + "uniqueItems": true + }, "keyterms": { - "description": "Words or phrases to bias the transcription towards, such as product names. Supported on scribe_v2 (up to 100 terms of 50 characters each) and scribe_v2_realtime (up to 50 terms of 20 characters each). Each term has at most 5 words and none of `< > { } [ ] \\`. Adds ElevenLabs' keyterm prompting rate to the transcriber cost.", + "description": "Words or phrases to bias the transcription towards, such as product names. Supported on scribe_v2 (up to 100 terms of 50 characters each) and scribe_v2_realtime or scribe_v3_live (up to 50 terms of 20 characters each). Each term has at most 5 words and none of `< > { } [ ] \\`. Adds ElevenLabs' keyterm prompting rate to the transcriber cost.", "type": "array", "items": { "type": "string" @@ -12853,7 +13051,8 @@ "stt-rt-v5", "stt-rt-v6" ], - "description": "The Soniox model to use for transcription." + "description": "The Soniox model to use for transcription. Defaults to stt-rt-v6.", + "default": "stt-rt-v6" }, "agentTextInputEnabled": { "type": "boolean", @@ -13930,8 +14129,8 @@ }, "language": { "type": "string", - "description": "Language for transcription (e.g. `nl`), or a comma-separated candidate list such as `nl,en` which constrains auto-detection. When omitted, Reson8 auto-detects the language per utterance. Supported: de, en, es, fr, fy, it, nl, pl, pt, sv.", - "pattern": "^(de|en|es|fr|fy|it|nl|pl|pt|sv)(,(de|en|es|fr|fy|it|nl|pl|pt|sv))*$" + "description": "Language for transcription (e.g. `nl`), or a comma-separated candidate list such as `nl,en` which constrains auto-detection. When omitted, Reson8 auto-detects the language per utterance. Supported: af, ar, az, be, bg, bn, bs, ca, ceb, cs, da, de, el, en, es, et, eu, fa, fi, fil, fr, fy, gl, hi, hr, hu, id, is, it, ja, jv, ko, lt, lv, mk, mr, ms, mt, nb, nl, pl, pt, ro, ru, sk, sl, sq, sr, sv, ta, th, tr, uk, vi, yue, zh.", + "pattern": "^(af|ar|az|be|bg|bn|bs|ca|ceb|cs|da|de|el|en|es|et|eu|fa|fi|fil|fr|fy|gl|hi|hr|hu|id|is|it|ja|jv|ko|lt|lv|mk|mr|ms|mt|nb|nl|pl|pt|ro|ru|sk|sl|sq|sr|sv|ta|th|tr|uk|vi|yue|zh)(,(af|ar|az|be|bg|bn|bs|ca|ceb|cs|da|de|el|en|es|et|eu|fa|fi|fil|fr|fy|gl|hi|hr|hu|id|is|it|ja|jv|ko|lt|lv|mk|mr|ms|mt|nb|nl|pl|pt|ro|ru|sk|sl|sq|sr|sv|ta|th|tr|uk|vi|yue|zh))*$" }, "keyterms": { "description": "Domain-specific terms to boost recognition (brand names, product codes, jargon). Sent to Reson8 as the `phrases` parameter. Max 250 phrases.", @@ -13947,13 +14146,13 @@ }, "eagerTurnProbability": { "type": "number", - "description": "Threshold (0-1) at which Reson8 emits an eager turn-end candidate. Provider default 0.5.", + "description": "Threshold (0-1) at which Reson8 emits an eager turn-end candidate. Provider default 0.3.", "minimum": 0, "maximum": 1 }, "finalTurnProbability": { "type": "number", - "description": "Threshold (0-1) at which Reson8 confirms the end of a turn. Provider default 0.92.", + "description": "Threshold (0-1) at which Reson8 confirms the end of a turn. Provider default 0.5.", "minimum": 0, "maximum": 1 }, @@ -15455,14 +15654,15 @@ "enum": [ "scribe_v1", "scribe_v2", - "scribe_v2_realtime" + "scribe_v2_realtime", + "scribe_v3_live" ] } ] }, "language": { "type": "string", - "description": "This is the language that will be used for the transcription.", + "description": "Language for transcription. `multi` enables automatic code-switching on scribe_v3_live.", "enum": [ "aa", "ab", @@ -15648,11 +15848,208 @@ "yo", "za", "zh", - "zu" + "zu", + "multi" ] }, + "languages": { + "type": "array", + "description": "Language detection hints for scribe_v3_live. Duplicates are removed; [] explicitly clears inherited hints.", + "items": { + "type": "string", + "enum": [ + "aa", + "ab", + "ae", + "af", + "ak", + "am", + "an", + "ar", + "as", + "av", + "ay", + "az", + "ba", + "be", + "bg", + "bh", + "bi", + "bm", + "bn", + "bo", + "br", + "bs", + "ca", + "ce", + "ch", + "co", + "cr", + "cs", + "cu", + "cv", + "cy", + "da", + "de", + "dv", + "dz", + "ee", + "el", + "en", + "eo", + "es", + "et", + "eu", + "fa", + "ff", + "fi", + "fj", + "fo", + "fr", + "fy", + "ga", + "gd", + "gl", + "gn", + "gu", + "gv", + "ha", + "he", + "hi", + "ho", + "hr", + "ht", + "hu", + "hy", + "hz", + "ia", + "id", + "ie", + "ig", + "ii", + "ik", + "io", + "is", + "it", + "iu", + "ja", + "jv", + "ka", + "kg", + "ki", + "kj", + "kk", + "kl", + "km", + "kn", + "ko", + "kr", + "ks", + "ku", + "kv", + "kw", + "ky", + "la", + "lb", + "lg", + "li", + "ln", + "lo", + "lt", + "lu", + "lv", + "mg", + "mh", + "mi", + "mk", + "ml", + "mn", + "mr", + "ms", + "mt", + "my", + "na", + "nb", + "nd", + "ne", + "ng", + "nl", + "nn", + "no", + "nr", + "nv", + "ny", + "oc", + "oj", + "om", + "or", + "os", + "pa", + "pi", + "pl", + "ps", + "pt", + "qu", + "rm", + "rn", + "ro", + "ru", + "rw", + "sa", + "sc", + "sd", + "se", + "sg", + "si", + "sk", + "sl", + "sm", + "sn", + "so", + "sq", + "sr", + "ss", + "st", + "su", + "sv", + "sw", + "ta", + "te", + "tg", + "th", + "ti", + "tk", + "tl", + "tn", + "to", + "tr", + "ts", + "tt", + "tw", + "ty", + "ug", + "uk", + "ur", + "uz", + "ve", + "vi", + "vo", + "wa", + "wo", + "xh", + "yi", + "yue", + "yo", + "za", + "zh", + "zu" + ] + }, + "minItems": 0, + "uniqueItems": true + }, "keyterms": { - "description": "Words or phrases to bias the transcription towards, such as product names. Supported on scribe_v2 (up to 100 terms of 50 characters each) and scribe_v2_realtime (up to 50 terms of 20 characters each). Each term has at most 5 words and none of `< > { } [ ] \\`. Adds ElevenLabs' keyterm prompting rate to the transcriber cost.", + "description": "Words or phrases to bias the transcription towards, such as product names. Supported on scribe_v2 (up to 100 terms of 50 characters each) and scribe_v2_realtime or scribe_v3_live (up to 50 terms of 20 characters each). Each term has at most 5 words and none of `< > { } [ ] \\`. Adds ElevenLabs' keyterm prompting rate to the transcriber cost.", "type": "array", "items": { "type": "string" @@ -16054,7 +16451,8 @@ "stt-rt-v5", "stt-rt-v6" ], - "description": "The Soniox model to use for transcription." + "description": "The Soniox model to use for transcription. Defaults to stt-rt-v6.", + "default": "stt-rt-v6" }, "agentTextInputEnabled": { "type": "boolean", @@ -17059,8 +17457,8 @@ }, "language": { "type": "string", - "description": "Language for transcription (e.g. `nl`), or a comma-separated candidate list such as `nl,en` which constrains auto-detection. When omitted, Reson8 auto-detects the language per utterance. Supported: de, en, es, fr, fy, it, nl, pl, pt, sv.", - "pattern": "^(de|en|es|fr|fy|it|nl|pl|pt|sv)(,(de|en|es|fr|fy|it|nl|pl|pt|sv))*$" + "description": "Language for transcription (e.g. `nl`), or a comma-separated candidate list such as `nl,en` which constrains auto-detection. When omitted, Reson8 auto-detects the language per utterance. Supported: af, ar, az, be, bg, bn, bs, ca, ceb, cs, da, de, el, en, es, et, eu, fa, fi, fil, fr, fy, gl, hi, hr, hu, id, is, it, ja, jv, ko, lt, lv, mk, mr, ms, mt, nb, nl, pl, pt, ro, ru, sk, sl, sq, sr, sv, ta, th, tr, uk, vi, yue, zh.", + "pattern": "^(af|ar|az|be|bg|bn|bs|ca|ceb|cs|da|de|el|en|es|et|eu|fa|fi|fil|fr|fy|gl|hi|hr|hu|id|is|it|ja|jv|ko|lt|lv|mk|mr|ms|mt|nb|nl|pl|pt|ro|ru|sk|sl|sq|sr|sv|ta|th|tr|uk|vi|yue|zh)(,(af|ar|az|be|bg|bn|bs|ca|ceb|cs|da|de|el|en|es|et|eu|fa|fi|fil|fr|fy|gl|hi|hr|hu|id|is|it|ja|jv|ko|lt|lv|mk|mr|ms|mt|nb|nl|pl|pt|ro|ru|sk|sl|sq|sr|sv|ta|th|tr|uk|vi|yue|zh))*$" }, "keyterms": { "description": "Domain-specific terms to boost recognition (brand names, product codes, jargon). Sent to Reson8 as the `phrases` parameter. Max 250 phrases.", @@ -17076,13 +17474,13 @@ }, "eagerTurnProbability": { "type": "number", - "description": "Threshold (0-1) at which Reson8 emits an eager turn-end candidate. Provider default 0.5.", + "description": "Threshold (0-1) at which Reson8 emits an eager turn-end candidate. Provider default 0.3.", "minimum": 0, "maximum": 1 }, "finalTurnProbability": { "type": "number", - "description": "Threshold (0-1) at which Reson8 confirms the end of a turn. Provider default 0.92.", + "description": "Threshold (0-1) at which Reson8 confirms the end of a turn. Provider default 0.5.", "minimum": 0, "maximum": 1 }, @@ -17979,7 +18377,7 @@ "description": "This is the key of the variable.\n\nThis variable will be accessible during the call as `{{key}}` and stored in `call.artifact.variableValues` after the call.\n\nRules:\n- Must start with a letter (a-z, A-Z).\n- Subsequent characters can be letters, numbers, or underscores.\n- Minimum length of 1 and maximum length of 40.", "minLength": 1, "maxLength": 40, - "pattern": "/^[a-zA-Z][a-zA-Z0-9_]*$/" + "pattern": "^[a-zA-Z][a-zA-Z0-9_]*$" }, "value": { "type": "string", @@ -20702,6 +21100,13 @@ "KeypadInputPlan": { "type": "object", "properties": { + "variableName": { + "type": "string", + "description": "This is the call variable each completed keypad entry is stored in, as a string with leading zeros kept. A later entry replaces the earlier one.\n\nReference it as `{{variableName}}` in a transfer destination, for example in `sipHeaders`, so the model never has to repeat the digits. A keypad value the caller entered wins over a same-named handoff or transfer tool argument. Other writes to a variable with this name, such as variable extraction, still replace it. The value also appears in the call's `artifact.variableValues`.\n\nIn a squad, the active assistant's `variableName` is used when the entry completes. A variable already stored under a previous assistant's name keeps its value.\n\nNot supported on full-duplex (GPT-Live) assistants: the call starts with a warning in the call logs and no variable is stored.\n\nRules:\n- Must start with a letter (a-z, A-Z).\n- Subsequent characters can be letters, numbers, or underscores.\n- Minimum length of 1 and maximum length of 40.", + "minLength": 1, + "maxLength": 40, + "pattern": "^[a-zA-Z][a-zA-Z0-9_]*$" + }, "enabled": { "type": "boolean", "description": "This keeps track of whether the user has enabled keypad input.\nBy default, it is off.\n\n@default false" @@ -20720,6 +21125,10 @@ "*", "" ] + }, + "triggerResponseEnabled": { + "type": "boolean", + "description": "This determines whether a completed keypad entry triggers an assistant response.\n\nUsage:\n- Use `true` to have the assistant respond to the entry.\n- Use `false` to add the entry to the conversation history silently. The model reads it on its next turn, for example to pass an ID to a tool. OpenAI Realtime and Gemini speech-to-speech models never receive keypad entries.\n\nIn a squad, this follows the active assistant when the entry completes. A half-typed entry carries over and completes under the new assistant's setting. `enabled`, `timeoutSeconds` and `delimiters` come from the first assistant for the whole call.\n\n@default true" } } }, @@ -21629,71 +22038,6 @@ "AssistantOverrides": { "type": "object", "properties": { - "transcriber": { - "description": "These are the options for the assistant's transcriber.", - "oneOf": [ - { - "$ref": "#/components/schemas/AssemblyAITranscriber", - "title": "AssemblyAITranscriber" - }, - { - "$ref": "#/components/schemas/AzureSpeechTranscriber", - "title": "AzureSpeechTranscriber" - }, - { - "$ref": "#/components/schemas/CustomTranscriber", - "title": "CustomTranscriber" - }, - { - "$ref": "#/components/schemas/DeepgramTranscriber", - "title": "DeepgramTranscriber" - }, - { - "$ref": "#/components/schemas/ElevenLabsTranscriber", - "title": "ElevenLabsTranscriber" - }, - { - "$ref": "#/components/schemas/GladiaTranscriber", - "title": "GladiaTranscriber" - }, - { - "$ref": "#/components/schemas/GoogleTranscriber", - "title": "GoogleTranscriber" - }, - { - "$ref": "#/components/schemas/SpeechmaticsTranscriber", - "title": "SpeechmaticsTranscriber" - }, - { - "$ref": "#/components/schemas/TalkscriberTranscriber", - "title": "TalkscriberTranscriber" - }, - { - "$ref": "#/components/schemas/OpenAITranscriber", - "title": "OpenAITranscriber" - }, - { - "$ref": "#/components/schemas/CartesiaTranscriber", - "title": "CartesiaTranscriber" - }, - { - "$ref": "#/components/schemas/SonioxTranscriber", - "title": "SonioxTranscriber" - }, - { - "$ref": "#/components/schemas/XaiTranscriber", - "title": "XaiTranscriber" - }, - { - "$ref": "#/components/schemas/Reson8Transcriber", - "title": "Reson8Transcriber" - }, - { - "$ref": "#/components/schemas/VapiTranscriber", - "title": "VapiTranscriber" - } - ] - }, "model": { "description": "These are the options for the assistant's LLM.", "oneOf": [ @@ -22429,6 +22773,71 @@ ] } }, + "transcriber": { + "description": "These are the options for the assistant's transcriber.", + "oneOf": [ + { + "$ref": "#/components/schemas/AssemblyAITranscriber", + "title": "AssemblyAITranscriber" + }, + { + "$ref": "#/components/schemas/AzureSpeechTranscriber", + "title": "AzureSpeechTranscriber" + }, + { + "$ref": "#/components/schemas/CustomTranscriber", + "title": "CustomTranscriber" + }, + { + "$ref": "#/components/schemas/DeepgramTranscriber", + "title": "DeepgramTranscriber" + }, + { + "$ref": "#/components/schemas/ElevenLabsTranscriber", + "title": "ElevenLabsTranscriber" + }, + { + "$ref": "#/components/schemas/GladiaTranscriber", + "title": "GladiaTranscriber" + }, + { + "$ref": "#/components/schemas/GoogleTranscriber", + "title": "GoogleTranscriber" + }, + { + "$ref": "#/components/schemas/SpeechmaticsTranscriber", + "title": "SpeechmaticsTranscriber" + }, + { + "$ref": "#/components/schemas/TalkscriberTranscriber", + "title": "TalkscriberTranscriber" + }, + { + "$ref": "#/components/schemas/OpenAITranscriber", + "title": "OpenAITranscriber" + }, + { + "$ref": "#/components/schemas/CartesiaTranscriber", + "title": "CartesiaTranscriber" + }, + { + "$ref": "#/components/schemas/SonioxTranscriber", + "title": "SonioxTranscriber" + }, + { + "$ref": "#/components/schemas/XaiTranscriber", + "title": "XaiTranscriber" + }, + { + "$ref": "#/components/schemas/Reson8Transcriber", + "title": "Reson8Transcriber" + }, + { + "$ref": "#/components/schemas/VapiTranscriber", + "title": "VapiTranscriber" + } + ] + }, "tools:append": { "type": "array", "items": { @@ -26106,6 +26515,7 @@ "type": "string", "description": "This is the OpenAI model that will be used.\nFor GPT-Live configuration and supported settings, see https://docs.vapi.ai/gpt-live/overview.\n\nWhen using Vapi OpenAI or your own Azure Credentials, you have the option to specify the region for the selected model. This shouldn't be specified unless you have a specific reason to do so. Vapi will automatically find the fastest region that make sense.\nThis is helpful when you are required to comply with Data Residency rules. Learn more about Azure regions here https://azure.microsoft.com/en-us/explore/global-infrastructure/data-residency/.\n\n@default undefined", "enum": [ + "gpt-6.1-terra", "gpt-6-luna", "gpt-5.6-sol", "gpt-5.6-terra", @@ -26276,6 +26686,7 @@ "items": { "type": "string", "enum": [ + "gpt-6.1-terra", "gpt-6-luna", "gpt-5.6-sol", "gpt-5.6-terra", @@ -27065,6 +27476,7 @@ "description": "This is the OpenAI model that will be used.\n\nWhen using Vapi OpenAI or your own Azure Credentials, you have the option to specify the region for the selected model. This shouldn't be specified unless you have a specific reason to do so. Vapi will automatically find the fastest region that make sense.\nThis is helpful when you are required to comply with Data Residency rules. Learn more about Azure regions here https://azure.microsoft.com/en-us/explore/global-infrastructure/data-residency/.", "maxLength": 100, "enum": [ + "gpt-6.1-terra", "gpt-6-luna", "gpt-5.6-sol", "gpt-5.6-terra", @@ -30396,7 +30808,7 @@ }, "language": { "type": "string", - "description": "This is the language that will be used. This is optional and will default to the correct language for the voiceId.", + "description": "This is the language the voice speaks. When omitted, Vapi uses the voice's native language if it has one on record for that voice; otherwise no language is sent to Cartesia. Regional codes such as `es-MX` require the `sonic-3.6` model.", "enum": [ "ar", "bg", @@ -30441,7 +30853,63 @@ "uk", "ur", "vi", - "zh" + "zh", + "bg-BG", + "bn-IN", + "cs-CZ", + "da-DK", + "de-DE", + "el-GR", + "en-AU", + "en-CA", + "en-GB", + "en-IE", + "en-IN", + "en-NZ", + "en-SG", + "en-US", + "en-ZA", + "es-ES", + "es-MX", + "es-US", + "fi-FI", + "fr-CA", + "fr-FR", + "gu-IN", + "he-IL", + "hi-IN", + "hr-HR", + "hu-HU", + "id-ID", + "it-IT", + "ja-JP", + "ka-GE", + "kn-IN", + "ko-KR", + "ml-IN", + "mr-IN", + "ms-MY", + "nl-BE", + "nl-NL", + "no-NO", + "or-IN", + "pa-IN", + "pl-PL", + "pt-BR", + "pt-PT", + "ro-RO", + "ru-RU", + "sk-SK", + "sv-SE", + "ta-IN", + "te-IN", + "th-TH", + "tl-PH", + "tr-TR", + "uk-UA", + "ur-IN", + "vi-VN", + "zh-CN" ], "example": "en" }, @@ -33171,7 +33639,7 @@ }, "language": { "type": "string", - "description": "This is the language that will be used. This is optional and will default to the correct language for the voiceId.", + "description": "This is the language the voice speaks. When omitted, Vapi uses the voice's native language if it has one on record for that voice; otherwise no language is sent to Cartesia. Regional codes such as `es-MX` require the `sonic-3.6` model.", "enum": [ "ar", "bg", @@ -33216,7 +33684,63 @@ "uk", "ur", "vi", - "zh" + "zh", + "bg-BG", + "bn-IN", + "cs-CZ", + "da-DK", + "de-DE", + "el-GR", + "en-AU", + "en-CA", + "en-GB", + "en-IE", + "en-IN", + "en-NZ", + "en-SG", + "en-US", + "en-ZA", + "es-ES", + "es-MX", + "es-US", + "fi-FI", + "fr-CA", + "fr-FR", + "gu-IN", + "he-IL", + "hi-IN", + "hr-HR", + "hu-HU", + "id-ID", + "it-IT", + "ja-JP", + "ka-GE", + "kn-IN", + "ko-KR", + "ml-IN", + "mr-IN", + "ms-MY", + "nl-BE", + "nl-NL", + "no-NO", + "or-IN", + "pa-IN", + "pl-PL", + "pt-BR", + "pt-PT", + "ro-RO", + "ru-RU", + "sk-SK", + "sv-SE", + "ta-IN", + "te-IN", + "th-TH", + "tl-PH", + "tr-TR", + "uk-UA", + "ur-IN", + "vi-VN", + "zh-CN" ], "example": "en" }, @@ -35573,9 +36097,11 @@ "models": { "type": "array", "enum": [ + "gpt-6-luna", "gpt-5.6-luna-2026-07-09", "gpt-5.6-terra-2026-07-09", "gpt-5.6-sol-2026-07-09", + "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.4-nano", @@ -35610,9 +36136,11 @@ "items": { "type": "string", "enum": [ + "gpt-6-luna", "gpt-5.6-luna-2026-07-09", "gpt-5.6-terra-2026-07-09", "gpt-5.6-sol-2026-07-09", + "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.4-nano", @@ -48429,6 +48957,7 @@ "call.start.error-vapi-number-international", "call.start.error-vapi-number-outbound-daily-limit", "call.start.error-get-transport", + "call.start.error-twilio-credential-rejected", "call.start.error-subscription-wallet-does-not-exist", "call.start.error-fraud-check-failed", "call.start.error-subscription-frozen", @@ -70041,6 +70570,7 @@ "description": "This is the OpenAI model that will be used.\n\nWhen using Vapi OpenAI or your own Azure Credentials, you have the option to specify the region for the selected model. This shouldn't be specified unless you have a specific reason to do so. Vapi will automatically find the fastest region that make sense.\nThis is helpful when you are required to comply with Data Residency rules. Learn more about Azure regions here https://azure.microsoft.com/en-us/explore/global-infrastructure/data-residency/.", "maxLength": 100, "enum": [ + "gpt-6.1-terra", "gpt-6-luna", "gpt-5.6-sol", "gpt-5.6-terra", @@ -73061,9 +73591,11 @@ "models": { "type": "array", "enum": [ + "gpt-6-luna", "gpt-5.6-luna-2026-07-09", "gpt-5.6-terra-2026-07-09", "gpt-5.6-sol-2026-07-09", + "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.4-nano", @@ -73098,9 +73630,11 @@ "items": { "type": "string", "enum": [ + "gpt-6-luna", "gpt-5.6-luna-2026-07-09", "gpt-5.6-terra-2026-07-09", "gpt-5.6-sol-2026-07-09", + "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.4-nano", @@ -76700,9 +77234,11 @@ "models": { "type": "array", "enum": [ + "gpt-6-luna", "gpt-5.6-luna-2026-07-09", "gpt-5.6-terra-2026-07-09", "gpt-5.6-sol-2026-07-09", + "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.4-nano", @@ -76737,9 +77273,11 @@ "items": { "type": "string", "enum": [ + "gpt-6-luna", "gpt-5.6-luna-2026-07-09", "gpt-5.6-terra-2026-07-09", "gpt-5.6-sol-2026-07-09", + "gpt-5.5", "gpt-5.4", "gpt-5.4-mini", "gpt-5.4-nano", @@ -82899,6 +83437,7 @@ "call.start.error-vapi-number-international", "call.start.error-vapi-number-outbound-daily-limit", "call.start.error-get-transport", + "call.start.error-twilio-credential-rejected", "call.start.error-subscription-wallet-does-not-exist", "call.start.error-fraud-check-failed", "call.start.error-subscription-frozen", @@ -84390,6 +84929,7 @@ "call.start.error-vapi-number-international", "call.start.error-vapi-number-outbound-daily-limit", "call.start.error-get-transport", + "call.start.error-twilio-credential-rejected", "call.start.error-subscription-wallet-does-not-exist", "call.start.error-fraud-check-failed", "call.start.error-subscription-frozen", From d187db2e6ae5832d696f73c97c60d6668862db78 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 26 Nov 2026 00:24:19 +0000 Subject: [PATCH 17/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 2367 ++++++++++++++++++++++++++---------- 1 file changed, 1713 insertions(+), 654 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 476e88b4d..47cea0ba0 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -22,7 +22,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Assistant" + "$ref": "#/components/schemas/AssistantSaveResponse" } } } @@ -226,7 +226,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Assistant" + "$ref": "#/components/schemas/AssistantSaveResponse" } } } @@ -36055,6 +36055,59 @@ "service" ] }, + "AzureOpenAIDeployment": { + "type": "object", + "properties": { + "model": { + "type": "string", + "description": "This is the model the deployment serves. It must be one of the credential's `models`.", + "enum": [ + "gpt-6-luna", + "gpt-5.6-luna-2026-07-09", + "gpt-5.6-terra-2026-07-09", + "gpt-5.6-sol-2026-07-09", + "gpt-5.5", + "gpt-5.4", + "gpt-5.4-mini", + "gpt-5.4-nano", + "gpt-5.2", + "gpt-5.2-chat", + "gpt-5.1", + "gpt-5.1-chat", + "gpt-5", + "gpt-5-mini", + "gpt-5-nano", + "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-2024-05-13", + "gpt-4o-mini-2024-07-18", + "gpt-4-turbo-2024-04-09", + "gpt-4-0125-preview", + "gpt-4-1106-preview", + "gpt-4-0613", + "gpt-35-turbo-0125", + "gpt-35-turbo-1106", + "gpt-4o", + "gpt-4.1", + "gpt-5.4-mini-2026-03-17" + ] + }, + "name": { + "type": "string", + "description": "This is the name of the deployment in your Azure resource, exactly as Azure shows it.", + "pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,63}$", + "maxLength": 64, + "example": "gpt-5.4-clinic-a" + } + }, + "required": [ + "model", + "name" + ] + }, "CreateAzureOpenAICredentialDTO": { "type": "object", "properties": { @@ -36179,6 +36232,13 @@ "type": "string", "description": "This is not returned in the API." }, + "deployments": { + "description": "These are the names of your Azure deployments, one entry for every model in `models`. Omit the field when every deployment is named after its model; once it has any entry, a model with no entry is rejected, so a deployment named after its model takes `{ \"model\": \"\", \"name\": \"\" }`. Requests use the first of the org's keys that matches the region (on a live call, also the model), so an org holding two keys for the same region and model should pin `credentialIds` on its assistants.", + "type": "array", + "items": { + "$ref": "#/components/schemas/AzureOpenAIDeployment" + } + }, "openAIEndpoint": { "type": "string", "maxLength": 10000 @@ -38689,7 +38749,41 @@ "replacementStatus" ] }, - "Assistant": { + "AssistantFallbackWarning": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Machine-readable reason for the warning.", + "enum": [ + "fallback-voices-empty", + "fallback-voice-same-provider", + "fallback-voice-language-unsupported", + "fallback-voice-invalid", + "fallback-transcribers-empty", + "fallback-transcriber-same-provider", + "fallback-transcriber-language-unsupported" + ], + "example": "fallback-voice-same-provider" + }, + "slot": { + "type": "string", + "description": "Path of the setting the warning is about, relative to the assistant:\n`voice.fallbackPlan.voices[1]` for one fallback, or\n`voice.fallbackPlan.voices` for the whole list.", + "example": "voice.fallbackPlan.voices[0]" + }, + "message": { + "type": "string", + "description": "Human-readable explanation, in sentence case.", + "example": "Fallback voice 1 uses the same provider as the primary (11labs), so an outage there takes down both." + } + }, + "required": [ + "code", + "slot", + "message" + ] + }, + "AssistantSaveResponse": { "type": "object", "properties": { "transcriber": { @@ -39504,6 +39598,13 @@ "$ref": "#/components/schemas/ModelDeprecationNotice" } }, + "fallbackWarnings": { + "description": "Read-only. Fallback voices and transcribers that saved but may not work when the primary fails: an empty fallback list, a fallback on the same provider as the primary, a fallback that does not support the primary's language, or a fallback voice that failed its provider check. Present only on create, update and replace responses, and only when there is a warning. Ignored if sent back in a create or update request.", + "type": "array", + "items": { + "$ref": "#/components/schemas/AssistantFallbackWarning" + } + }, "name": { "type": "string", "description": "This is the name of the assistant.\n\nThis is required when you want to transfer between assistants in a call.", @@ -39628,119 +39729,7 @@ "updatedAt" ] }, - "ValidateBackgroundSoundUrlDTO": { - "type": "object", - "properties": { - "url": { - "type": "string", - "maxLength": 1000, - "description": "This is the background sound URL to validate. The server performs a ranged request and checks that the URL serves a live media file.", - "example": "https://example.com/my-sound.mp3" - } - }, - "required": [ - "url" - ] - }, - "BackgroundSoundUrlValidationResult": { - "type": "object", - "properties": { - "valid": { - "type": "boolean", - "description": "Whether the URL currently serves a live media file. When false, calls configured with this URL silently play no background sound." - }, - "reason": { - "type": "string", - "description": "Why validation failed. Only present when valid is false.", - "enum": [ - "invalid-url", - "blocked-address", - "unreachable", - "timeout", - "too-many-redirects", - "http-error", - "not-audio" - ] - }, - "status": { - "type": "number", - "description": "The HTTP status the URL returned, when a response was received." - }, - "contentType": { - "type": "string", - "description": "The content-type the URL returned, when a response was received." - } - }, - "required": [ - "valid" - ] - }, - "PaginationMeta": { - "type": "object", - "properties": { - "itemsPerPage": { - "type": "number" - }, - "totalItems": { - "type": "number" - }, - "currentPage": { - "type": "number" - }, - "totalPages": { - "type": "number" - }, - "hasNextPage": { - "type": "boolean" - }, - "nextCursor": { - "type": "string", - "description": "Opaque cursor for the next page under keyset pagination (PRO-3163). Pass it\nback as the `cursor` query param to fetch the next page without an OFFSET\nscan. Present only when a further page likely exists." - }, - "sortOrder": { - "type": "string", - "enum": [ - "ASC", - "DESC" - ] - }, - "itemsBeyondRetention": { - "type": "boolean" - }, - "createdAtLe": { - "format": "date-time", - "type": "string" - }, - "createdAtGe": { - "format": "date-time", - "type": "string" - } - }, - "required": [ - "itemsPerPage", - "totalItems", - "currentPage" - ] - }, - "AssistantPaginatedResponse": { - "type": "object", - "properties": { - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Assistant" - } - }, - "metadata": { - "$ref": "#/components/schemas/PaginationMeta" - } - }, - "required": [ - "results", - "metadata" - ] - }, - "AssistantDraft": { + "Assistant": { "type": "object", "properties": { "transcriber": { @@ -40543,6 +40532,11 @@ ] } }, + "latestVersion": { + "type": "string", + "nullable": true, + "description": "This is the latest version label (e.g. `v3`) of the assistant in the\nversion history. `null` while the org is not yet\nonboarded to versioning, or for assistants that have not yet been\npublished under it." + }, "modelDeprecations": { "description": "Read-only. Present only when a model this configuration uses is deprecated or retired in Vapi's model deprecation registry, judged on the day of the response. Each entry names the slot (for example `model` or `model.fallbackModels[1]`), provider, stored model, and deprecation and retirement dates as `YYYY-MM-DD` in UTC. `replacementStatus` is `available` with a `replacementModel` when a replacement can be recommended, or `manual-action-required` with no replacement model when eligibility is unknown or no eligible replacement exists. `manual-action-required` can be transient when compliance context is unavailable; re-fetch before acting. HIPAA-required configurations, sparse drafts, and squads with unresolved assistant references currently require manual action. HIPAA requirements include the organization and assistant settings, including HIPAA with data retention. Recommendations reflect the response-time decision; they do not confirm a swap or authorize future execution. Examples: an available recommendation includes `{\"replacementStatus\":\"available\",\"replacementModel\":\"gpt-5\"}`; a blocked recommendation includes `{\"replacementStatus\":\"manual-action-required\"}`. Ignored if sent back in a create or update request.", "type": "array", @@ -40648,124 +40642,137 @@ "keypadInputPlan": { "$ref": "#/components/schemas/KeypadInputPlan" }, - "baseVersion": { - "type": "string", - "description": "Server-resolved baseVersion (always set after POST)." - }, "id": { "type": "string", - "description": "Surrogate key used as `draftId` in URLs." + "description": "This is the unique identifier for the assistant." }, "orgId": { "type": "string", - "description": "Org this draft belongs to." - }, - "assistantId": { - "type": "string", - "description": "Parent assistant the draft was forked from. FK to assistant.id ON DELETE CASCADE." - }, - "createdBy": { - "type": "string", - "nullable": true, - "description": "Email when JWT, null when API or external JWT. Set on POST, never rewritten on PATCH." + "description": "This is the unique identifier for the org that this assistant belongs to." }, "createdAt": { "format": "date-time", - "type": "string" + "type": "string", + "description": "This is the ISO 8601 date-time string of when the assistant was created." }, "updatedAt": { "format": "date-time", - "type": "string" + "type": "string", + "description": "This is the ISO 8601 date-time string of when the assistant was last updated." } }, "required": [ - "baseVersion", "id", "orgId", - "assistantId", "createdAt", "updatedAt" ] }, - "AssistantDraftPaginatedMetadata": { + "ValidateBackgroundSoundUrlDTO": { "type": "object", "properties": { - "nextCursor": { + "url": { "type": "string", - "nullable": true - }, - "hasNextPage": { - "type": "boolean" - }, - "limit": { - "type": "number" + "maxLength": 1000, + "description": "This is the background sound URL to validate. The server performs a ranged request and checks that the URL serves a live media file.", + "example": "https://example.com/my-sound.mp3" } }, "required": [ - "nextCursor", - "hasNextPage", - "limit" + "url" ] }, - "AssistantDraftPaginatedResponse": { + "BackgroundSoundUrlValidationResult": { "type": "object", "properties": { - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AssistantDraft" - } + "valid": { + "type": "boolean", + "description": "Whether the URL currently serves a live media file. When false, calls configured with this URL silently play no background sound." }, - "metadata": { - "$ref": "#/components/schemas/AssistantDraftPaginatedMetadata" + "reason": { + "type": "string", + "description": "Why validation failed. Only present when valid is false.", + "enum": [ + "invalid-url", + "blocked-address", + "unreachable", + "timeout", + "too-many-redirects", + "http-error", + "not-audio" + ] + }, + "status": { + "type": "number", + "description": "The HTTP status the URL returned, when a response was received." + }, + "contentType": { + "type": "string", + "description": "The content-type the URL returned, when a response was received." } }, "required": [ - "results", - "metadata" + "valid" ] }, - "LegacyAssistantVersion": { + "PaginationMeta": { "type": "object", "properties": { - "id": { - "type": "string" + "itemsPerPage": { + "type": "number" }, - "assistantId": { - "type": "string" + "totalItems": { + "type": "number" }, - "orgId": { - "type": "string" + "currentPage": { + "type": "number" }, - "data": { + "totalPages": { + "type": "number" + }, + "hasNextPage": { + "type": "boolean" + }, + "nextCursor": { + "type": "string", + "description": "Opaque cursor for the next page under keyset pagination (PRO-3163). Pass it\nback as the `cursor` query param to fetch the next page without an OFFSET\nscan. Present only when a further page likely exists." + }, + "sortOrder": { + "type": "string", + "enum": [ + "ASC", + "DESC" + ] + }, + "itemsBeyondRetention": { + "type": "boolean" + }, + "createdAtLe": { + "format": "date-time", "type": "string" }, - "createdAt": { + "createdAtGe": { "format": "date-time", "type": "string" } }, "required": [ - "id", - "assistantId", - "orgId", - "createdAt" + "itemsPerPage", + "totalItems", + "currentPage" ] }, - "LegacyAssistantVersionPaginatedResponse": { + "AssistantPaginatedResponse": { "type": "object", "properties": { "results": { "type": "array", "items": { - "$ref": "#/components/schemas/LegacyAssistantVersion" + "$ref": "#/components/schemas/Assistant" } }, "metadata": { "$ref": "#/components/schemas/PaginationMeta" - }, - "nextPageState": { - "type": "string" } }, "required": [ @@ -40773,7 +40780,7 @@ "metadata" ] }, - "AssistantVersion": { + "AssistantDraft": { "type": "object", "properties": { "transcriber": { @@ -41576,68 +41583,6 @@ ] } }, - "versionName": { - "type": "string", - "nullable": true, - "description": "Optional human-readable label for this version. Pass `null` to clear.", - "maxLength": 80 - }, - "versionDescription": { - "type": "string", - "nullable": true, - "description": "Optional description for this version. Pass `null` to clear.", - "maxLength": 500 - }, - "id": { - "type": "string", - "description": "This is the unique identifier for the version row.", - "format": "uuid" - }, - "orgId": { - "type": "string", - "description": "This is the unique identifier for the org that owns this version.", - "format": "uuid" - }, - "assistantId": { - "type": "string", - "description": "This is the unique identifier for the assistant this version was snapshotted from.", - "format": "uuid" - }, - "version": { - "type": "string", - "description": "This is the public monotonic version label, e.g. \"v1\".\nSystem-owned and incremented per assistant; never user-supplied.", - "example": "v1" - }, - "configHash": { - "type": "string", - "description": "This is the SHA-256 hex of the snapshotted content used for no-op detection." - }, - "parentVersion": { - "type": "string", - "nullable": true, - "description": "This is the prior version label (vN-1). Null on v1 or for branch roots." - }, - "restoredFromVersion": { - "type": "string", - "nullable": true, - "description": "The version this version was restored from. Null when it was not restored." - }, - "createdBy": { - "type": "string", - "nullable": true, - "description": "This is the actor that wrote this version. Email when created via JWT, null when created via API." - }, - "deletedAt": { - "type": "string", - "nullable": true, - "description": "This is the soft-delete timestamp. Null when active.", - "format": "date-time" - }, - "createdAt": { - "type": "string", - "description": "This is the ISO 8601 date-time string of when the version was created.", - "format": "date-time" - }, "modelDeprecations": { "description": "Read-only. Present only when a model this configuration uses is deprecated or retired in Vapi's model deprecation registry, judged on the day of the response. Each entry names the slot (for example `model` or `model.fallbackModels[1]`), provider, stored model, and deprecation and retirement dates as `YYYY-MM-DD` in UTC. `replacementStatus` is `available` with a `replacementModel` when a replacement can be recommended, or `manual-action-required` with no replacement model when eligibility is unknown or no eligible replacement exists. `manual-action-required` can be transient when compliance context is unavailable; re-fetch before acting. HIPAA-required configurations, sparse drafts, and squads with unresolved assistant references currently require manual action. HIPAA requirements include the organization and assistant settings, including HIPAA with data retention. Recommendations reflect the response-time decision; they do not confirm a swap or authorize future execution. Examples: an available recommendation includes `{\"replacementStatus\":\"available\",\"replacementModel\":\"gpt-5\"}`; a blocked recommendation includes `{\"replacementStatus\":\"manual-action-required\"}`. Ignored if sent back in a create or update request.", "type": "array", @@ -41742,18 +41687,47 @@ }, "keypadInputPlan": { "$ref": "#/components/schemas/KeypadInputPlan" + }, + "baseVersion": { + "type": "string", + "description": "Server-resolved baseVersion (always set after POST)." + }, + "id": { + "type": "string", + "description": "Surrogate key used as `draftId` in URLs." + }, + "orgId": { + "type": "string", + "description": "Org this draft belongs to." + }, + "assistantId": { + "type": "string", + "description": "Parent assistant the draft was forked from. FK to assistant.id ON DELETE CASCADE." + }, + "createdBy": { + "type": "string", + "nullable": true, + "description": "Email when JWT, null when API or external JWT. Set on POST, never rewritten on PATCH." + }, + "createdAt": { + "format": "date-time", + "type": "string" + }, + "updatedAt": { + "format": "date-time", + "type": "string" } }, "required": [ + "baseVersion", "id", "orgId", "assistantId", - "version", - "configHash", - "createdAt" + "createdAt", + "updatedAt" ] }, - "AssistantVersionPaginatedMetadata": { + "AssistantDraftPaginatedMetadata": { "type": "object", "properties": { "nextCursor": { @@ -41768,21 +41742,22 @@ } }, "required": [ + "nextCursor", "hasNextPage", "limit" ] }, - "AssistantVersionPaginatedResponse": { + "AssistantDraftPaginatedResponse": { "type": "object", "properties": { "results": { "type": "array", "items": { - "$ref": "#/components/schemas/AssistantVersion" + "$ref": "#/components/schemas/AssistantDraft" } }, "metadata": { - "$ref": "#/components/schemas/AssistantVersionPaginatedMetadata" + "$ref": "#/components/schemas/AssistantDraftPaginatedMetadata" } }, "required": [ @@ -41790,24 +41765,55 @@ "metadata" ] }, - "UpdateAssistantVersionMetadataDTO": { + "LegacyAssistantVersion": { "type": "object", "properties": { - "versionName": { - "type": "string", - "nullable": true, - "description": "Optional human-readable label for this version. Pass `null` to clear.", - "maxLength": 80 + "id": { + "type": "string" }, - "versionDescription": { - "type": "string", - "nullable": true, - "description": "Optional description for this version. Pass `null` to clear.", - "maxLength": 500 + "assistantId": { + "type": "string" + }, + "orgId": { + "type": "string" + }, + "data": { + "type": "string" + }, + "createdAt": { + "format": "date-time", + "type": "string" } - } + }, + "required": [ + "id", + "assistantId", + "orgId", + "createdAt" + ] }, - "CreateAssistantDraftDTO": { + "LegacyAssistantVersionPaginatedResponse": { + "type": "object", + "properties": { + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/LegacyAssistantVersion" + } + }, + "metadata": { + "$ref": "#/components/schemas/PaginationMeta" + }, + "nextPageState": { + "type": "string" + } + }, + "required": [ + "results", + "metadata" + ] + }, + "AssistantVersion": { "type": "object", "properties": { "transcriber": { @@ -42610,6 +42616,75 @@ ] } }, + "versionName": { + "type": "string", + "nullable": true, + "description": "Optional human-readable label for this version. Pass `null` to clear.", + "maxLength": 80 + }, + "versionDescription": { + "type": "string", + "nullable": true, + "description": "Optional description for this version. Pass `null` to clear.", + "maxLength": 500 + }, + "id": { + "type": "string", + "description": "This is the unique identifier for the version row.", + "format": "uuid" + }, + "orgId": { + "type": "string", + "description": "This is the unique identifier for the org that owns this version.", + "format": "uuid" + }, + "assistantId": { + "type": "string", + "description": "This is the unique identifier for the assistant this version was snapshotted from.", + "format": "uuid" + }, + "version": { + "type": "string", + "description": "This is the public monotonic version label, e.g. \"v1\".\nSystem-owned and incremented per assistant; never user-supplied.", + "example": "v1" + }, + "configHash": { + "type": "string", + "description": "This is the SHA-256 hex of the snapshotted content used for no-op detection." + }, + "parentVersion": { + "type": "string", + "nullable": true, + "description": "This is the prior version label (vN-1). Null on v1 or for branch roots." + }, + "restoredFromVersion": { + "type": "string", + "nullable": true, + "description": "The version this version was restored from. Null when it was not restored." + }, + "createdBy": { + "type": "string", + "nullable": true, + "description": "This is the actor that wrote this version. Email when created via JWT, null when created via API." + }, + "deletedAt": { + "type": "string", + "nullable": true, + "description": "This is the soft-delete timestamp. Null when active.", + "format": "date-time" + }, + "createdAt": { + "type": "string", + "description": "This is the ISO 8601 date-time string of when the version was created.", + "format": "date-time" + }, + "modelDeprecations": { + "description": "Read-only. Present only when a model this configuration uses is deprecated or retired in Vapi's model deprecation registry, judged on the day of the response. Each entry names the slot (for example `model` or `model.fallbackModels[1]`), provider, stored model, and deprecation and retirement dates as `YYYY-MM-DD` in UTC. `replacementStatus` is `available` with a `replacementModel` when a replacement can be recommended, or `manual-action-required` with no replacement model when eligibility is unknown or no eligible replacement exists. `manual-action-required` can be transient when compliance context is unavailable; re-fetch before acting. HIPAA-required configurations, sparse drafts, and squads with unresolved assistant references currently require manual action. HIPAA requirements include the organization and assistant settings, including HIPAA with data retention. Recommendations reflect the response-time decision; they do not confirm a swap or authorize future execution. Examples: an available recommendation includes `{\"replacementStatus\":\"available\",\"replacementModel\":\"gpt-5\"}`; a blocked recommendation includes `{\"replacementStatus\":\"manual-action-required\"}`. Ignored if sent back in a create or update request.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ModelDeprecationNotice" + } + }, "name": { "type": "string", "description": "This is the name of the assistant.\n\nThis is required when you want to transfer between assistants in a call.", @@ -42707,34 +42782,72 @@ }, "keypadInputPlan": { "$ref": "#/components/schemas/KeypadInputPlan" - }, - "baseVersion": { - "type": "string", - "description": "Optional pointer to the published version this draft was forked from.\nWhen omitted on `POST /assistant/:id/draft`, defaults server-side to the\nparent assistant's current `latestVersion` (which is lazy-created via\n`assistantBaselineVersionEnsureInTx` if the parent has never been\nversioned). Immutable for the lifetime of the draft." } - } + }, + "required": [ + "id", + "orgId", + "assistantId", + "version", + "configHash", + "createdAt" + ] }, - "AssistantDraftConflictResponseDTO": { + "AssistantVersionPaginatedMetadata": { "type": "object", "properties": { - "existingDraftId": { + "nextCursor": { "type": "string", "nullable": true }, - "error": { - "type": "string" + "hasNextPage": { + "type": "boolean" }, - "message": { - "type": "string" + "limit": { + "type": "number" } }, "required": [ - "existingDraftId", - "error", - "message" + "hasNextPage", + "limit" ] }, - "UpdateAssistantDraftDTO": { + "AssistantVersionPaginatedResponse": { + "type": "object", + "properties": { + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AssistantVersion" + } + }, + "metadata": { + "$ref": "#/components/schemas/AssistantVersionPaginatedMetadata" + } + }, + "required": [ + "results", + "metadata" + ] + }, + "UpdateAssistantVersionMetadataDTO": { + "type": "object", + "properties": { + "versionName": { + "type": "string", + "nullable": true, + "description": "Optional human-readable label for this version. Pass `null` to clear.", + "maxLength": 80 + }, + "versionDescription": { + "type": "string", + "nullable": true, + "description": "Optional description for this version. Pass `null` to clear.", + "maxLength": 500 + } + } + }, + "CreateAssistantDraftDTO": { "type": "object", "properties": { "transcriber": { @@ -43634,10 +43747,34 @@ }, "keypadInputPlan": { "$ref": "#/components/schemas/KeypadInputPlan" + }, + "baseVersion": { + "type": "string", + "description": "Optional pointer to the published version this draft was forked from.\nWhen omitted on `POST /assistant/:id/draft`, defaults server-side to the\nparent assistant's current `latestVersion` (which is lazy-created via\n`assistantBaselineVersionEnsureInTx` if the parent has never been\nversioned). Immutable for the lifetime of the draft." } } }, - "UpdateAssistantDTO": { + "AssistantDraftConflictResponseDTO": { + "type": "object", + "properties": { + "existingDraftId": { + "type": "string", + "nullable": true + }, + "error": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "existingDraftId", + "error", + "message" + ] + }, + "UpdateAssistantDraftDTO": { "type": "object", "properties": { "transcriber": { @@ -44540,389 +44677,1292 @@ } } }, - "AssistantGoalErrorDTO": { - "type": "object", - "properties": { - "statusCode": { - "type": "integer", - "minimum": 400, - "maximum": 599 - }, - "error": { - "type": "string" - }, - "message": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } - }, - "required": [ - "statusCode", - "message" - ] - }, - "AssistantGoalCreateDTO": { - "type": "object", - "properties": { - "succeedsWhen": { - "type": "string", - "maxLength": 600, - "minLength": 1, - "description": "Success criteria. Trimmed before commit; blank or non-PostgreSQL-compatible text is rejected." - }, - "leaveOut": { - "type": "string", - "nullable": true, - "maxLength": 300, - "minLength": 1, - "description": "Optional trimmed exclusions. Omit or send null for no exclusions." - } - }, - "required": [ - "succeedsWhen" - ] - }, - "AssistantGoalDTO": { - "type": "object", - "properties": { - "orgId": { - "type": "string", - "format": "uuid" - }, - "assistantId": { - "type": "string", - "format": "uuid" - }, - "goalId": { - "type": "string", - "format": "uuid" - }, - "goalVersion": { - "type": "string", - "description": "Committed decimal bigint revision." - }, - "succeedsWhen": { - "type": "string" - }, - "leaveOut": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time", - "description": "Committed goal-change time anchoring its fixed backfill window." - } - }, - "required": [ - "orgId", - "assistantId", - "goalId", - "goalVersion", - "succeedsWhen", - "createdAt" - ] - }, - "AssistantGoalSetDTO": { - "type": "object", - "properties": { - "expectedGoalVersion": { - "type": "string", - "pattern": "^[1-9][0-9]{0,18}$", - "description": "Observed current revision of this goal as a positive decimal bigint string." - }, - "succeedsWhen": { - "type": "string", - "maxLength": 600, - "minLength": 1, - "description": "Success criteria. Trimmed before commit; blank or non-PostgreSQL-compatible text is rejected." - }, - "leaveOut": { - "type": "string", - "nullable": true, - "maxLength": 300, - "minLength": 1, - "description": "Optional trimmed exclusions. Omit or send null for no exclusions." - } - }, - "required": [ - "expectedGoalVersion", - "succeedsWhen" - ] - }, - "Squad": { - "type": "object", - "properties": { - "latestVersion": { - "type": "string", - "nullable": true, - "description": "This is the latest version label (e.g. `v3`) of the squad in the version\nhistory. `null` while the org is not yet onboarded to versioning, or for\nsquads that have not yet been published under it." - }, - "modelDeprecations": { - "description": "Read-only. Present only when a model this configuration uses is deprecated or retired in Vapi's model deprecation registry, judged on the day of the response. Each entry names the slot (for example `model` or `model.fallbackModels[1]`), provider, stored model, and deprecation and retirement dates as `YYYY-MM-DD` in UTC. `replacementStatus` is `available` with a `replacementModel` when a replacement can be recommended, or `manual-action-required` with no replacement model when eligibility is unknown or no eligible replacement exists. `manual-action-required` can be transient when compliance context is unavailable; re-fetch before acting. HIPAA-required configurations, sparse drafts, and squads with unresolved assistant references currently require manual action. HIPAA requirements include the organization and assistant settings, including HIPAA with data retention. Recommendations reflect the response-time decision; they do not confirm a swap or authorize future execution. Examples: an available recommendation includes `{\"replacementStatus\":\"available\",\"replacementModel\":\"gpt-5\"}`; a blocked recommendation includes `{\"replacementStatus\":\"manual-action-required\"}`. Ignored if sent back in a create or update request.", - "type": "array", - "items": { - "$ref": "#/components/schemas/ModelDeprecationNotice" - } - }, - "name": { - "type": "string", - "description": "This is the name of the squad." - }, - "members": { - "description": "This is the list of assistants that make up the squad.\n\nThe call will start with the first assistant in the list.", - "type": "array", - "items": { - "$ref": "#/components/schemas/SquadMemberDTO" - } - }, - "membersOverrides": { - "description": "This can be used to override all the assistants' settings and provide values for their template variables.\n\nBoth `membersOverrides` and `members[n].assistantOverrides` can be used together. First, `members[n].assistantOverrides` is applied. Then, `membersOverrides` is applied as a global override.", - "allOf": [ - { - "$ref": "#/components/schemas/AssistantOverrides" - } - ] - }, - "id": { - "type": "string", - "description": "This is the unique identifier for the squad." - }, - "orgId": { - "type": "string", - "description": "This is the unique identifier for the org that this squad belongs to." - }, - "createdAt": { - "format": "date-time", - "type": "string", - "description": "This is the ISO 8601 date-time string of when the squad was created." - }, - "updatedAt": { - "format": "date-time", - "type": "string", - "description": "This is the ISO 8601 date-time string of when the squad was last updated." - } - }, - "required": [ - "members", - "id", - "orgId", - "createdAt", - "updatedAt" - ] - }, - "SquadVersion": { - "type": "object", - "properties": { - "versionName": { - "type": "string", - "nullable": true, - "description": "Optional human-readable label for this version. Set when the version is published.", - "maxLength": 80 - }, - "versionDescription": { - "type": "string", - "nullable": true, - "description": "Optional description for this version. Set when the version is published.", - "maxLength": 500 - }, - "id": { - "type": "string", - "description": "This is the unique identifier for the version row.", - "format": "uuid" - }, - "orgId": { - "type": "string", - "description": "This is the unique identifier for the org that owns this version.", - "format": "uuid" - }, - "squadId": { - "type": "string", - "description": "This is the unique identifier for the squad this version was snapshotted from.", - "format": "uuid" - }, - "version": { - "type": "string", - "description": "This is the public monotonic version label, e.g. \"v1\".\nSystem-owned and incremented per squad; never user-supplied.", - "example": "v1" - }, - "configHash": { - "type": "string", - "description": "This is the SHA-256 hex of the snapshotted content used for no-op detection." - }, - "parentVersion": { - "type": "string", - "nullable": true, - "description": "This is the prior version label (vN-1). Null on v1 or for branch roots." - }, - "restoredFromVersion": { - "type": "string", - "nullable": true, - "description": "The version this version was restored from. Null when it was not restored." - }, - "createdBy": { - "type": "string", - "nullable": true, - "description": "This is the actor that wrote this version. Email when created via JWT; null\nwhen created via API key, and null for a baseline version authored by nobody." - }, - "deletedAt": { - "type": "string", - "nullable": true, - "description": "This is the soft-delete timestamp. Null when active.", - "format": "date-time" - }, - "createdAt": { - "type": "string", - "description": "This is the ISO 8601 date-time string of when the version was created.", - "format": "date-time" - }, - "name": { - "type": "string", - "description": "This is the name of the squad." - }, - "members": { - "description": "This is the list of assistants that make up the squad.\n\nThe call will start with the first assistant in the list.", - "type": "array", - "items": { - "$ref": "#/components/schemas/SquadMemberDTO" - } - }, - "membersOverrides": { - "description": "This can be used to override all the assistants' settings and provide values for their template variables.\n\nBoth `membersOverrides` and `members[n].assistantOverrides` can be used together. First, `members[n].assistantOverrides` is applied. Then, `membersOverrides` is applied as a global override.", - "allOf": [ - { - "$ref": "#/components/schemas/AssistantOverrides" - } - ] - } - }, - "required": [ - "id", - "orgId", - "squadId", - "version", - "configHash", - "createdAt", - "members" - ] - }, - "SquadVersionPaginatedMetadata": { - "type": "object", - "properties": { - "nextCursor": { - "type": "string", - "nullable": true - }, - "hasNextPage": { - "type": "boolean" - }, - "limit": { - "type": "number" - } - }, - "required": [ - "hasNextPage", - "limit" - ] - }, - "SquadVersionPaginatedResponse": { - "type": "object", - "properties": { - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SquadVersion" - } - }, - "metadata": { - "$ref": "#/components/schemas/SquadVersionPaginatedMetadata" - } - }, - "required": [ - "results", - "metadata" - ] - }, - "UpdateSquadDTO": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "This is the name of the squad." - }, - "members": { - "description": "This is the list of assistants that make up the squad.\n\nThe call will start with the first assistant in the list.", - "type": "array", - "items": { - "$ref": "#/components/schemas/SquadMemberDTO" - } - }, - "membersOverrides": { - "description": "This can be used to override all the assistants' settings and provide values for their template variables.\n\nBoth `membersOverrides` and `members[n].assistantOverrides` can be used together. First, `members[n].assistantOverrides` is applied. Then, `membersOverrides` is applied as a global override.", - "allOf": [ - { - "$ref": "#/components/schemas/AssistantOverrides" - } - ] - } - }, - "required": [ - "members" - ] - }, - "Workflow": { + "UpdateAssistantDTO": { "type": "object", "properties": { - "nodes": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ConversationNode", - "title": "ConversationNode" - }, - { - "$ref": "#/components/schemas/ToolNode", - "title": "ToolNode" - } - ] - } - }, - "model": { - "description": "This is the model for the workflow.\n\nThis can be overridden at node level using `nodes[n].model`.", - "oneOf": [ - { - "$ref": "#/components/schemas/WorkflowOpenAIModel", - "title": "WorkflowOpenAIModel" - }, - { - "$ref": "#/components/schemas/WorkflowAnthropicModel", - "title": "WorkflowAnthropicModel" - }, - { - "$ref": "#/components/schemas/WorkflowAnthropicBedrockModel", - "title": "WorkflowAnthropicBedrockModel" - }, - { - "$ref": "#/components/schemas/WorkflowGoogleModel", - "title": "WorkflowGoogleModel" - }, - { - "$ref": "#/components/schemas/WorkflowCustomModel", - "title": "WorkflowCustomModel" - } - ] - }, "transcriber": { - "description": "This is the transcriber for the workflow.\n\nThis can be overridden at node level using `nodes[n].transcriber`.", + "description": "These are the options for the assistant's transcriber.", + "oneOf": [ + { + "$ref": "#/components/schemas/AssemblyAITranscriber", + "title": "AssemblyAITranscriber" + }, + { + "$ref": "#/components/schemas/AzureSpeechTranscriber", + "title": "AzureSpeechTranscriber" + }, + { + "$ref": "#/components/schemas/CustomTranscriber", + "title": "CustomTranscriber" + }, + { + "$ref": "#/components/schemas/DeepgramTranscriber", + "title": "DeepgramTranscriber" + }, + { + "$ref": "#/components/schemas/ElevenLabsTranscriber", + "title": "ElevenLabsTranscriber" + }, + { + "$ref": "#/components/schemas/GladiaTranscriber", + "title": "GladiaTranscriber" + }, + { + "$ref": "#/components/schemas/GoogleTranscriber", + "title": "GoogleTranscriber" + }, + { + "$ref": "#/components/schemas/SpeechmaticsTranscriber", + "title": "SpeechmaticsTranscriber" + }, + { + "$ref": "#/components/schemas/TalkscriberTranscriber", + "title": "TalkscriberTranscriber" + }, + { + "$ref": "#/components/schemas/OpenAITranscriber", + "title": "OpenAITranscriber" + }, + { + "$ref": "#/components/schemas/CartesiaTranscriber", + "title": "CartesiaTranscriber" + }, + { + "$ref": "#/components/schemas/SonioxTranscriber", + "title": "SonioxTranscriber" + }, + { + "$ref": "#/components/schemas/XaiTranscriber", + "title": "XaiTranscriber" + }, + { + "$ref": "#/components/schemas/Reson8Transcriber", + "title": "Reson8Transcriber" + }, + { + "$ref": "#/components/schemas/VapiTranscriber", + "title": "VapiTranscriber" + } + ] + }, + "model": { + "description": "These are the options for the assistant's LLM.", + "oneOf": [ + { + "$ref": "#/components/schemas/AnthropicModel", + "title": "Anthropic" + }, + { + "$ref": "#/components/schemas/AnthropicBedrockModel", + "title": "AnthropicBedrock" + }, + { + "$ref": "#/components/schemas/AnyscaleModel", + "title": "Anyscale" + }, + { + "$ref": "#/components/schemas/CerebrasModel", + "title": "Cerebras" + }, + { + "$ref": "#/components/schemas/CustomLLMModel", + "title": "CustomLLM" + }, + { + "$ref": "#/components/schemas/DeepInfraModel", + "title": "DeepInfra" + }, + { + "$ref": "#/components/schemas/DeepSeekModel", + "title": "DeepSeek" + }, + { + "$ref": "#/components/schemas/GoogleModel", + "title": "Google" + }, + { + "$ref": "#/components/schemas/GroqModel", + "title": "Groq" + }, + { + "$ref": "#/components/schemas/InflectionAIModel", + "title": "InflectionAI" + }, + { + "$ref": "#/components/schemas/MinimaxLLMModel", + "title": "MiniMaxLLM" + }, + { + "$ref": "#/components/schemas/OpenAIModel", + "title": "OpenAI" + }, + { + "$ref": "#/components/schemas/OpenRouterModel", + "title": "OpenRouter" + }, + { + "$ref": "#/components/schemas/PerplexityAIModel", + "title": "PerplexityAI" + }, + { + "$ref": "#/components/schemas/TogetherAIModel", + "title": "Together" + }, + { + "$ref": "#/components/schemas/XaiModel", + "title": "XAI" + }, + { + "$ref": "#/components/schemas/VapiModel", + "title": "Vapi" + } + ] + }, + "voice": { + "description": "These are the options for the assistant's voice.", + "oneOf": [ + { + "$ref": "#/components/schemas/AzureVoice", + "title": "AzureVoice" + }, + { + "$ref": "#/components/schemas/CartesiaVoice", + "title": "CartesiaVoice" + }, + { + "$ref": "#/components/schemas/CustomVoice", + "title": "CustomVoice" + }, + { + "$ref": "#/components/schemas/DeepgramVoice", + "title": "DeepgramVoice" + }, + { + "$ref": "#/components/schemas/ElevenLabsVoice", + "title": "ElevenLabsVoice" + }, + { + "$ref": "#/components/schemas/HumeVoice", + "title": "HumeVoice" + }, + { + "$ref": "#/components/schemas/LMNTVoice", + "title": "LMNTVoice" + }, + { + "$ref": "#/components/schemas/NeuphonicVoice", + "title": "NeuphonicVoice" + }, + { + "$ref": "#/components/schemas/OpenAIVoice", + "title": "OpenAIVoice" + }, + { + "$ref": "#/components/schemas/PlayHTVoice", + "title": "PlayHTVoice" + }, + { + "$ref": "#/components/schemas/WellSaidVoice", + "title": "WellSaidVoice" + }, + { + "$ref": "#/components/schemas/RimeAIVoice", + "title": "RimeAIVoice" + }, + { + "$ref": "#/components/schemas/SmallestAIVoice", + "title": "SmallestAIVoice" + }, + { + "$ref": "#/components/schemas/VapiVoice", + "title": "VapiVoice" + }, + { + "$ref": "#/components/schemas/SesameVoice", + "title": "SesameVoice" + }, + { + "$ref": "#/components/schemas/InworldVoice", + "title": "InworldVoice" + }, + { + "$ref": "#/components/schemas/MinimaxVoice", + "title": "MinimaxVoice" + }, + { + "$ref": "#/components/schemas/XaiVoice", + "title": "XaiVoice" + }, + { + "$ref": "#/components/schemas/MicrosoftVoice", + "title": "MicrosoftVoice" + } + ] + }, + "firstMessage": { + "type": "string", + "description": "This is the first message that the assistant will say. This can also be a URL to a containerized audio file (mp3, wav, etc.).\n\nIf unspecified, assistant will wait for user to speak and use the model to respond once they speak.", + "example": "Hello! How can I help you today?" + }, + "firstMessageInterruptionsEnabled": { + "type": "boolean", + "default": false + }, + "firstMessageMode": { + "type": "string", + "description": "This is the mode for the first message. Default is 'assistant-speaks-first'.\n\nUse:\n- 'assistant-speaks-first' to have the assistant speak first.\n- 'assistant-waits-for-user' to have the assistant wait for the user to speak first.\n- 'assistant-speaks-first-with-model-generated-message' to have the assistant speak first with a message generated by the model based on the conversation state. (`assistant.model.messages` at call start, `call.messages` at squad transfer points).\n\n@default 'assistant-speaks-first'", + "enum": [ + "assistant-speaks-first", + "assistant-speaks-first-with-model-generated-message", + "assistant-waits-for-user" + ], + "example": "assistant-speaks-first" + }, + "voicemailDetection": { + "description": "These are the settings to configure or disable voicemail detection. Alternatively, voicemail detection can be configured using the model.tools=[VoicemailTool].\nBy default, voicemail detection is disabled.", + "oneOf": [ + { + "type": "string", + "enum": [ + "off" + ] + }, + { + "$ref": "#/components/schemas/GoogleVoicemailDetectionPlan", + "title": "Google" + }, + { + "$ref": "#/components/schemas/OpenAIVoicemailDetectionPlan", + "title": "OpenAI" + }, + { + "$ref": "#/components/schemas/TwilioVoicemailDetectionPlan", + "title": "Twilio" + }, + { + "$ref": "#/components/schemas/VapiVoicemailDetectionPlan", + "title": "Vapi" + } + ] + }, + "clientMessages": { + "type": "array", + "enum": [ + "conversation-update", + "assistant.speechStarted", + "function-call", + "function-call-result", + "hang", + "language-changed", + "metadata", + "model-output", + "speech-update", + "status-update", + "transcript", + "tool-calls", + "tool-calls-result", + "tool.completed", + "transfer-update", + "user-interrupted", + "voice-input", + "workflow.node.started", + "assistant.started" + ], + "example": [ + "conversation-update", + "function-call", + "hang", + "model-output", + "speech-update", + "status-update", + "transfer-update", + "transcript", + "tool-calls", + "user-interrupted", + "voice-input", + "workflow.node.started", + "assistant.started" + ], + "description": "These are the messages that will be sent to your Client SDKs. Default is conversation-update,function-call,hang,model-output,speech-update,status-update,transfer-update,transcript,tool-calls,user-interrupted,voice-input,workflow.node.started,assistant.started. You can check the shape of the messages in ClientMessage schema.", + "items": { + "type": "string", + "enum": [ + "conversation-update", + "assistant.speechStarted", + "function-call", + "function-call-result", + "hang", + "language-changed", + "metadata", + "model-output", + "speech-update", + "status-update", + "transcript", + "tool-calls", + "tool-calls-result", + "tool.completed", + "transfer-update", + "user-interrupted", + "voice-input", + "workflow.node.started", + "assistant.started" + ] + } + }, + "serverMessages": { + "type": "array", + "enum": [ + "assistant.started", + "assistant.speechStarted", + "conversation-update", + "end-of-call-report", + "function-call", + "hang", + "language-changed", + "language-change-detected", + "model-output", + "phone-call-control", + "speech-update", + "status-update", + "transcript", + "transcript[transcriptType=\"final\"]", + "tool-calls", + "transfer-destination-request", + "handoff-destination-request", + "transfer-update", + "user-interrupted", + "voice-input", + "chat.created", + "chat.deleted", + "session.created", + "session.updated", + "session.deleted", + "call.deleted", + "call.delete.failed", + "call.artifact.upload" + ], + "example": [ + "conversation-update", + "end-of-call-report", + "function-call", + "hang", + "speech-update", + "status-update", + "tool-calls", + "transfer-destination-request", + "handoff-destination-request", + "user-interrupted", + "assistant.started" + ], + "description": "These are the messages that will be sent to your Server URL. Default is conversation-update,end-of-call-report,function-call,hang,speech-update,status-update,tool-calls,transfer-destination-request,handoff-destination-request,user-interrupted,assistant.started. You can check the shape of the messages in ServerMessage schema.", + "items": { + "type": "string", + "enum": [ + "assistant.started", + "assistant.speechStarted", + "conversation-update", + "end-of-call-report", + "function-call", + "hang", + "language-changed", + "language-change-detected", + "model-output", + "phone-call-control", + "speech-update", + "status-update", + "transcript", + "transcript[transcriptType=\"final\"]", + "tool-calls", + "transfer-destination-request", + "handoff-destination-request", + "transfer-update", + "user-interrupted", + "voice-input", + "chat.created", + "chat.deleted", + "session.created", + "session.updated", + "session.deleted", + "call.deleted", + "call.delete.failed", + "call.artifact.upload" + ] + } + }, + "maxDurationSeconds": { + "type": "number", + "description": "This is the maximum number of seconds that the call will last. When the call reaches this duration, it will be ended.\n\n@default 600 (10 minutes)", + "minimum": 10, + "maximum": 43200, + "example": 600 + }, + "backgroundSound": { + "description": "This is the background sound in the call. Default for phone calls is 'office' and default for web calls is 'off'.\nBundled sounds: 'office', 'white-noise', 'city', 'crowd' and 'farm'. GPT Live assistants don't play 'office'.\nYou can also provide a custom sound by providing a URL to an audio file.", + "oneOf": [ + { + "type": "string", + "enum": [ + "off", + "office", + "white-noise", + "city", + "crowd", + "farm" + ], + "example": "office" + }, + { + "type": "string", + "format": "uri", + "example": "https://example.com/my-sound.mp3" + } + ] + }, + "modelOutputInMessagesEnabled": { + "type": "boolean", + "description": "This determines whether the model's output is used in conversation history rather than the transcription of assistant's speech.\n\n@default false", + "example": false + }, + "transportConfigurations": { + "type": "array", + "description": "These are the configurations to be passed to the transport providers of assistant's calls, like Twilio. You can store multiple configurations for different transport providers. For a call, only the configuration matching the call transport provider is used.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/TransportConfigurationTwilio", + "title": "Twilio" + } + ] + } + }, + "observabilityPlan": { + "description": "This is the plan for observability of assistant's calls.\n\nCurrently, only Langfuse is supported.", + "oneOf": [ + { + "$ref": "#/components/schemas/LangfuseObservabilityPlan", + "title": "Langfuse" + } + ], + "allOf": [ + { + "$ref": "#/components/schemas/LangfuseObservabilityPlan" + } + ] + }, + "credentials": { + "type": "array", + "description": "These are dynamic credentials that will be used for the assistant calls. By default, all the credentials are available for use in the call but you can supplement an additional credentials using this. Dynamic credentials override existing credentials.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/CreateAnthropicCredentialDTO", + "title": "AnthropicCredential" + }, + { + "$ref": "#/components/schemas/CreateAnthropicBedrockCredentialDTO", + "title": "AnthropicBedrockCredential" + }, + { + "$ref": "#/components/schemas/CreateAnyscaleCredentialDTO", + "title": "AnyscaleCredential" + }, + { + "$ref": "#/components/schemas/CreateAssemblyAICredentialDTO", + "title": "AssemblyAICredential" + }, + { + "$ref": "#/components/schemas/CreateAzureCredentialDTO", + "title": "AzureCredential" + }, + { + "$ref": "#/components/schemas/CreateAzureOpenAICredentialDTO", + "title": "AzureOpenAICredential" + }, + { + "$ref": "#/components/schemas/CreateByoSipTrunkCredentialDTO", + "title": "ByoSipTrunkCredential" + }, + { + "$ref": "#/components/schemas/CreateCartesiaCredentialDTO", + "title": "CartesiaCredential" + }, + { + "$ref": "#/components/schemas/CreateCerebrasCredentialDTO", + "title": "CerebrasCredential" + }, + { + "$ref": "#/components/schemas/CreateCloudflareCredentialDTO", + "title": "CloudflareCredential" + }, + { + "$ref": "#/components/schemas/CreateCustomLLMCredentialDTO", + "title": "CustomLLMCredential" + }, + { + "$ref": "#/components/schemas/CreateDeepgramCredentialDTO", + "title": "DeepgramCredential" + }, + { + "$ref": "#/components/schemas/CreateDeepInfraCredentialDTO", + "title": "DeepInfraCredential" + }, + { + "$ref": "#/components/schemas/CreateDeepSeekCredentialDTO", + "title": "DeepSeekCredential" + }, + { + "$ref": "#/components/schemas/CreateElevenLabsCredentialDTO", + "title": "ElevenLabsCredential" + }, + { + "$ref": "#/components/schemas/CreateGcpCredentialDTO", + "title": "GcpCredential" + }, + { + "$ref": "#/components/schemas/CreateGladiaCredentialDTO", + "title": "GladiaCredential" + }, + { + "$ref": "#/components/schemas/CreateGoHighLevelCredentialDTO", + "title": "GhlCredential" + }, + { + "$ref": "#/components/schemas/CreateGoogleCredentialDTO", + "title": "GoogleCredential" + }, + { + "$ref": "#/components/schemas/CreateGroqCredentialDTO", + "title": "GroqCredential" + }, + { + "$ref": "#/components/schemas/CreateHumeCredentialDTO", + "title": "HumeCredential" + }, + { + "$ref": "#/components/schemas/CreateInflectionAICredentialDTO", + "title": "InflectionAICredential" + }, + { + "$ref": "#/components/schemas/CreateLangfuseCredentialDTO", + "title": "LangfuseCredential" + }, + { + "$ref": "#/components/schemas/CreateLmntCredentialDTO", + "title": "LmntCredential" + }, + { + "$ref": "#/components/schemas/CreateMakeCredentialDTO", + "title": "MakeCredential" + }, + { + "$ref": "#/components/schemas/CreateMistralCredentialDTO", + "title": "MistralCredential" + }, + { + "$ref": "#/components/schemas/CreateNeuphonicCredentialDTO", + "title": "NeuphonicCredential" + }, + { + "$ref": "#/components/schemas/CreateOpenAICredentialDTO", + "title": "OpenAICredential" + }, + { + "$ref": "#/components/schemas/CreateOpenRouterCredentialDTO", + "title": "OpenRouterCredential" + }, + { + "$ref": "#/components/schemas/CreatePerplexityAICredentialDTO", + "title": "PerplexityAICredential" + }, + { + "$ref": "#/components/schemas/CreatePlayHTCredentialDTO", + "title": "PlayHTCredential" + }, + { + "$ref": "#/components/schemas/CreateRimeAICredentialDTO", + "title": "RimeAICredential" + }, + { + "$ref": "#/components/schemas/CreateRunpodCredentialDTO", + "title": "RunpodCredential" + }, + { + "$ref": "#/components/schemas/CreateS3CredentialDTO", + "title": "S3Credential" + }, + { + "$ref": "#/components/schemas/CreateS3CompatibleCredentialDTO", + "title": "S3CompatibleStorageCredential" + }, + { + "$ref": "#/components/schemas/CreateSmallestAICredentialDTO", + "title": "SmallestAICredential" + }, + { + "$ref": "#/components/schemas/CreateSpeechmaticsCredentialDTO", + "title": "SpeechmaticsCredential" + }, + { + "$ref": "#/components/schemas/CreateSonioxCredentialDTO", + "title": "SonioxCredential" + }, + { + "$ref": "#/components/schemas/CreateReson8CredentialDTO", + "title": "Reson8Credential" + }, + { + "$ref": "#/components/schemas/CreateSupabaseCredentialDTO", + "title": "SupabaseCredential" + }, + { + "$ref": "#/components/schemas/CreateTavusCredentialDTO", + "title": "TavusCredential" + }, + { + "$ref": "#/components/schemas/CreateTogetherAICredentialDTO", + "title": "TogetherAICredential" + }, + { + "$ref": "#/components/schemas/CreateTwilioCredentialDTO", + "title": "TwilioCredential" + }, + { + "$ref": "#/components/schemas/CreateVonageCredentialDTO", + "title": "VonageCredential" + }, + { + "$ref": "#/components/schemas/CreateWebhookCredentialDTO", + "title": "WebhookCredential" + }, + { + "$ref": "#/components/schemas/CreateCustomCredentialDTO", + "title": "CustomCredential" + }, + { + "$ref": "#/components/schemas/CreateXAiCredentialDTO", + "title": "XAiCredential" + }, + { + "$ref": "#/components/schemas/CreateMicrosoftCredentialDTO", + "title": "MicrosoftCredential" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarOAuth2ClientCredentialDTO", + "title": "GoogleCalendarOAuth2ClientCredential" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarOAuth2AuthorizationCredentialDTO", + "title": "GoogleCalendarOAuth2AuthorizationCredential" + }, + { + "$ref": "#/components/schemas/CreateGoogleSheetsOAuth2AuthorizationCredentialDTO", + "title": "GoogleSheetsOAuth2AuthorizationCredential" + }, + { + "$ref": "#/components/schemas/CreateSlackOAuth2AuthorizationCredentialDTO", + "title": "SlackOAuth2AuthorizationCredential" + }, + { + "$ref": "#/components/schemas/CreateGoHighLevelMCPCredentialDTO", + "title": "GoHighLevelMCPCredential" + }, + { + "$ref": "#/components/schemas/CreateInworldCredentialDTO", + "title": "InworldCredential" + }, + { + "$ref": "#/components/schemas/CreateMinimaxCredentialDTO", + "title": "MinimaxCredential" + }, + { + "$ref": "#/components/schemas/CreateWellSaidCredentialDTO", + "title": "WellSaidCredential" + }, + { + "$ref": "#/components/schemas/CreateEmailCredentialDTO", + "title": "EmailCredential" + }, + { + "$ref": "#/components/schemas/CreateSlackWebhookCredentialDTO", + "title": "SlackWebhookCredential" + } + ], + "discriminator": { + "propertyName": "provider", + "mapping": { + "11labs": "#/components/schemas/CreateElevenLabsCredentialDTO", + "anthropic": "#/components/schemas/CreateAnthropicCredentialDTO", + "anthropic-bedrock": "#/components/schemas/CreateAnthropicBedrockCredentialDTO", + "anyscale": "#/components/schemas/CreateAnyscaleCredentialDTO", + "assembly-ai": "#/components/schemas/CreateAssemblyAICredentialDTO", + "azure-openai": "#/components/schemas/CreateAzureOpenAICredentialDTO", + "azure": "#/components/schemas/CreateAzureCredentialDTO", + "byo-sip-trunk": "#/components/schemas/CreateByoSipTrunkCredentialDTO", + "cartesia": "#/components/schemas/CreateCartesiaCredentialDTO", + "cerebras": "#/components/schemas/CreateCerebrasCredentialDTO", + "cloudflare": "#/components/schemas/CreateCloudflareCredentialDTO", + "custom-llm": "#/components/schemas/CreateCustomLLMCredentialDTO", + "deepgram": "#/components/schemas/CreateDeepgramCredentialDTO", + "deepinfra": "#/components/schemas/CreateDeepInfraCredentialDTO", + "deep-seek": "#/components/schemas/CreateDeepSeekCredentialDTO", + "gcp": "#/components/schemas/CreateGcpCredentialDTO", + "gladia": "#/components/schemas/CreateGladiaCredentialDTO", + "gohighlevel": "#/components/schemas/CreateGoHighLevelCredentialDTO", + "google": "#/components/schemas/CreateGoogleCredentialDTO", + "groq": "#/components/schemas/CreateGroqCredentialDTO", + "inflection-ai": "#/components/schemas/CreateInflectionAICredentialDTO", + "langfuse": "#/components/schemas/CreateLangfuseCredentialDTO", + "lmnt": "#/components/schemas/CreateLmntCredentialDTO", + "make": "#/components/schemas/CreateMakeCredentialDTO", + "openai": "#/components/schemas/CreateOpenAICredentialDTO", + "openrouter": "#/components/schemas/CreateOpenRouterCredentialDTO", + "perplexity-ai": "#/components/schemas/CreatePerplexityAICredentialDTO", + "playht": "#/components/schemas/CreatePlayHTCredentialDTO", + "rime-ai": "#/components/schemas/CreateRimeAICredentialDTO", + "runpod": "#/components/schemas/CreateRunpodCredentialDTO", + "s3": "#/components/schemas/CreateS3CredentialDTO", + "s3-compatible": "#/components/schemas/CreateS3CompatibleCredentialDTO", + "supabase": "#/components/schemas/CreateSupabaseCredentialDTO", + "smallest-ai": "#/components/schemas/CreateSmallestAICredentialDTO", + "tavus": "#/components/schemas/CreateTavusCredentialDTO", + "together-ai": "#/components/schemas/CreateTogetherAICredentialDTO", + "twilio": "#/components/schemas/CreateTwilioCredentialDTO", + "vonage": "#/components/schemas/CreateVonageCredentialDTO", + "webhook": "#/components/schemas/CreateWebhookCredentialDTO", + "custom-credential": "#/components/schemas/CreateCustomCredentialDTO", + "xai": "#/components/schemas/CreateXAiCredentialDTO", + "microsoft": "#/components/schemas/CreateMicrosoftCredentialDTO", + "neuphonic": "#/components/schemas/CreateNeuphonicCredentialDTO", + "hume": "#/components/schemas/CreateHumeCredentialDTO", + "mistral": "#/components/schemas/CreateMistralCredentialDTO", + "speechmatics": "#/components/schemas/CreateSpeechmaticsCredentialDTO", + "soniox": "#/components/schemas/CreateSonioxCredentialDTO", + "reson8": "#/components/schemas/CreateReson8CredentialDTO", + "google.calendar.oauth2-client": "#/components/schemas/CreateGoogleCalendarOAuth2ClientCredentialDTO", + "google.calendar.oauth2-authorization": "#/components/schemas/CreateGoogleCalendarOAuth2AuthorizationCredentialDTO", + "google.sheets.oauth2-authorization": "#/components/schemas/CreateGoogleSheetsOAuth2AuthorizationCredentialDTO", + "slack.oauth2-authorization": "#/components/schemas/CreateSlackOAuth2AuthorizationCredentialDTO", + "ghl.oauth2-authorization": "#/components/schemas/CreateGoHighLevelMCPCredentialDTO", + "inworld": "#/components/schemas/CreateInworldCredentialDTO", + "minimax": "#/components/schemas/CreateMinimaxCredentialDTO", + "wellsaid": "#/components/schemas/CreateWellSaidCredentialDTO", + "email": "#/components/schemas/CreateEmailCredentialDTO", + "slack-webhook": "#/components/schemas/CreateSlackWebhookCredentialDTO" + } + } + } + }, + "hooks": { + "type": "array", + "description": "This is a set of actions that will be performed on certain events.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/CallHookCallEnding", + "title": "CallHookCallEnding" + }, + { + "$ref": "#/components/schemas/CallHookAssistantSpeechInterrupted", + "title": "CallHookAssistantSpeechInterrupted" + }, + { + "$ref": "#/components/schemas/CallHookCustomerSpeechInterrupted", + "title": "CallHookCustomerSpeechInterrupted" + }, + { + "$ref": "#/components/schemas/CallHookCustomerSpeechTimeout", + "title": "CallHookCustomerSpeechTimeout" + }, + { + "$ref": "#/components/schemas/SessionCreatedHook", + "title": "SessionCreatedHook" + } + ] + } + }, + "name": { + "type": "string", + "description": "This is the name of the assistant.\n\nThis is required when you want to transfer between assistants in a call.", + "maxLength": 40 + }, + "voicemailMessage": { + "type": "string", + "description": "This is the message that the assistant will say if the call is forwarded to voicemail.\n\nIf unspecified, it will hang up.", + "maxLength": 1000 + }, + "endCallMessage": { + "type": "string", + "description": "This is the message that the assistant will say if it ends the call.\n\nIf unspecified, it will hang up without saying anything.", + "maxLength": 1000 + }, + "endCallPhrases": { + "description": "This list contains phrases that, if spoken by the assistant, will trigger the call to be hung up. Case insensitive.", + "type": "array", + "items": { + "type": "string", + "maxLength": 140, + "minLength": 2 + } + }, + "compliancePlan": { + "$ref": "#/components/schemas/CompliancePlan" + }, + "metadata": { + "type": "object", + "description": "This is for metadata you want to store on the assistant." + }, + "backgroundSpeechDenoisingPlan": { + "description": "This enables filtering of noise and background speech while the user is talking.\n\nFeatures:\n- Smart denoising using Krisp\n- Fourier denoising\n\nSmart denoising can be combined with or used independently of Fourier denoising.\n\nOrder of precedence:\n- Smart denoising\n- Fourier denoising", + "allOf": [ + { + "$ref": "#/components/schemas/BackgroundSpeechDenoisingPlan" + } + ] + }, + "analysisPlan": { + "description": "This is the plan for analysis of assistant's calls. Stored in `call.analysis`.", + "deprecated": true, + "allOf": [ + { + "$ref": "#/components/schemas/AnalysisPlan" + } + ] + }, + "artifactPlan": { + "description": "This is the plan for artifacts generated during assistant's calls. Stored in `call.artifact`.", + "allOf": [ + { + "$ref": "#/components/schemas/ArtifactPlan" + } + ] + }, + "startSpeakingPlan": { + "description": "This is the plan for when the assistant should start talking.\n\nYou should configure this if you're running into these issues:\n- The assistant is too slow to start talking after the customer is done speaking.\n- The assistant is too fast to start talking after the customer is done speaking.\n- The assistant is so fast that it's actually interrupting the customer.", + "allOf": [ + { + "$ref": "#/components/schemas/StartSpeakingPlan" + } + ] + }, + "stopSpeakingPlan": { + "description": "This is the plan for when assistant should stop talking on customer interruption.\n\nYou should configure this if you're running into these issues:\n- The assistant is too slow to recognize customer's interruption.\n- The assistant is too fast to recognize customer's interruption.\n- The assistant is getting interrupted by phrases that are just acknowledgments.\n- The assistant is getting interrupted by background noises.\n- The assistant is not properly stopping -- it starts talking right after getting interrupted.", + "allOf": [ + { + "$ref": "#/components/schemas/StopSpeakingPlan" + } + ] + }, + "monitorPlan": { + "description": "This is the plan for real-time monitoring of the assistant's calls.\n\nUsage:\n- To enable live listening of the assistant's calls, set `monitorPlan.listenEnabled` to `true`.\n- To enable live control of the assistant's calls, set `monitorPlan.controlEnabled` to `true`.\n- To attach monitors to the assistant, set `monitorPlan.monitorIds` to the set of monitor ids.", + "allOf": [ + { + "$ref": "#/components/schemas/MonitorPlan" + } + ] + }, + "credentialIds": { + "description": "These are the credentials that will be used for the assistant calls. By default, all the credentials are available for use in the call but you can provide a subset using this.", + "type": "array", + "items": { + "type": "string" + } + }, + "server": { + "description": "This is where Vapi will send webhooks. You can find all webhooks available along with their shape in ServerMessage schema.\n\nThe order of precedence is:\n\n1. assistant.server.url\n2. phoneNumber.serverUrl\n3. org.serverUrl", + "allOf": [ + { + "$ref": "#/components/schemas/Server" + } + ] + }, + "keypadInputPlan": { + "$ref": "#/components/schemas/KeypadInputPlan" + } + } + }, + "AssistantGoalErrorDTO": { + "type": "object", + "properties": { + "statusCode": { + "type": "integer", + "minimum": 400, + "maximum": 599 + }, + "error": { + "type": "string" + }, + "message": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + } + }, + "required": [ + "statusCode", + "message" + ] + }, + "AssistantGoalCreateDTO": { + "type": "object", + "properties": { + "succeedsWhen": { + "type": "string", + "maxLength": 600, + "minLength": 1, + "description": "Success criteria. Trimmed before commit; blank or non-PostgreSQL-compatible text is rejected." + }, + "leaveOut": { + "type": "string", + "nullable": true, + "maxLength": 300, + "minLength": 1, + "description": "Optional trimmed exclusions. Omit or send null for no exclusions." + } + }, + "required": [ + "succeedsWhen" + ] + }, + "AssistantGoalDTO": { + "type": "object", + "properties": { + "orgId": { + "type": "string", + "format": "uuid" + }, + "assistantId": { + "type": "string", + "format": "uuid" + }, + "goalId": { + "type": "string", + "format": "uuid" + }, + "goalVersion": { + "type": "string", + "description": "Committed decimal bigint revision." + }, + "succeedsWhen": { + "type": "string" + }, + "leaveOut": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "Committed goal-change time anchoring its fixed backfill window." + } + }, + "required": [ + "orgId", + "assistantId", + "goalId", + "goalVersion", + "succeedsWhen", + "createdAt" + ] + }, + "AssistantGoalSetDTO": { + "type": "object", + "properties": { + "expectedGoalVersion": { + "type": "string", + "pattern": "^[1-9][0-9]{0,18}$", + "description": "Observed current revision of this goal as a positive decimal bigint string." + }, + "succeedsWhen": { + "type": "string", + "maxLength": 600, + "minLength": 1, + "description": "Success criteria. Trimmed before commit; blank or non-PostgreSQL-compatible text is rejected." + }, + "leaveOut": { + "type": "string", + "nullable": true, + "maxLength": 300, + "minLength": 1, + "description": "Optional trimmed exclusions. Omit or send null for no exclusions." + } + }, + "required": [ + "expectedGoalVersion", + "succeedsWhen" + ] + }, + "Squad": { + "type": "object", + "properties": { + "latestVersion": { + "type": "string", + "nullable": true, + "description": "This is the latest version label (e.g. `v3`) of the squad in the version\nhistory. `null` while the org is not yet onboarded to versioning, or for\nsquads that have not yet been published under it." + }, + "modelDeprecations": { + "description": "Read-only. Present only when a model this configuration uses is deprecated or retired in Vapi's model deprecation registry, judged on the day of the response. Each entry names the slot (for example `model` or `model.fallbackModels[1]`), provider, stored model, and deprecation and retirement dates as `YYYY-MM-DD` in UTC. `replacementStatus` is `available` with a `replacementModel` when a replacement can be recommended, or `manual-action-required` with no replacement model when eligibility is unknown or no eligible replacement exists. `manual-action-required` can be transient when compliance context is unavailable; re-fetch before acting. HIPAA-required configurations, sparse drafts, and squads with unresolved assistant references currently require manual action. HIPAA requirements include the organization and assistant settings, including HIPAA with data retention. Recommendations reflect the response-time decision; they do not confirm a swap or authorize future execution. Examples: an available recommendation includes `{\"replacementStatus\":\"available\",\"replacementModel\":\"gpt-5\"}`; a blocked recommendation includes `{\"replacementStatus\":\"manual-action-required\"}`. Ignored if sent back in a create or update request.", + "type": "array", + "items": { + "$ref": "#/components/schemas/ModelDeprecationNotice" + } + }, + "name": { + "type": "string", + "description": "This is the name of the squad." + }, + "members": { + "description": "This is the list of assistants that make up the squad.\n\nThe call will start with the first assistant in the list.", + "type": "array", + "items": { + "$ref": "#/components/schemas/SquadMemberDTO" + } + }, + "membersOverrides": { + "description": "This can be used to override all the assistants' settings and provide values for their template variables.\n\nBoth `membersOverrides` and `members[n].assistantOverrides` can be used together. First, `members[n].assistantOverrides` is applied. Then, `membersOverrides` is applied as a global override.", + "allOf": [ + { + "$ref": "#/components/schemas/AssistantOverrides" + } + ] + }, + "id": { + "type": "string", + "description": "This is the unique identifier for the squad." + }, + "orgId": { + "type": "string", + "description": "This is the unique identifier for the org that this squad belongs to." + }, + "createdAt": { + "format": "date-time", + "type": "string", + "description": "This is the ISO 8601 date-time string of when the squad was created." + }, + "updatedAt": { + "format": "date-time", + "type": "string", + "description": "This is the ISO 8601 date-time string of when the squad was last updated." + } + }, + "required": [ + "members", + "id", + "orgId", + "createdAt", + "updatedAt" + ] + }, + "SquadVersion": { + "type": "object", + "properties": { + "versionName": { + "type": "string", + "nullable": true, + "description": "Optional human-readable label for this version. Set when the version is published.", + "maxLength": 80 + }, + "versionDescription": { + "type": "string", + "nullable": true, + "description": "Optional description for this version. Set when the version is published.", + "maxLength": 500 + }, + "id": { + "type": "string", + "description": "This is the unique identifier for the version row.", + "format": "uuid" + }, + "orgId": { + "type": "string", + "description": "This is the unique identifier for the org that owns this version.", + "format": "uuid" + }, + "squadId": { + "type": "string", + "description": "This is the unique identifier for the squad this version was snapshotted from.", + "format": "uuid" + }, + "version": { + "type": "string", + "description": "This is the public monotonic version label, e.g. \"v1\".\nSystem-owned and incremented per squad; never user-supplied.", + "example": "v1" + }, + "configHash": { + "type": "string", + "description": "This is the SHA-256 hex of the snapshotted content used for no-op detection." + }, + "parentVersion": { + "type": "string", + "nullable": true, + "description": "This is the prior version label (vN-1). Null on v1 or for branch roots." + }, + "restoredFromVersion": { + "type": "string", + "nullable": true, + "description": "The version this version was restored from. Null when it was not restored." + }, + "createdBy": { + "type": "string", + "nullable": true, + "description": "This is the actor that wrote this version. Email when created via JWT; null\nwhen created via API key, and null for a baseline version authored by nobody." + }, + "deletedAt": { + "type": "string", + "nullable": true, + "description": "This is the soft-delete timestamp. Null when active.", + "format": "date-time" + }, + "createdAt": { + "type": "string", + "description": "This is the ISO 8601 date-time string of when the version was created.", + "format": "date-time" + }, + "name": { + "type": "string", + "description": "This is the name of the squad." + }, + "members": { + "description": "This is the list of assistants that make up the squad.\n\nThe call will start with the first assistant in the list.", + "type": "array", + "items": { + "$ref": "#/components/schemas/SquadMemberDTO" + } + }, + "membersOverrides": { + "description": "This can be used to override all the assistants' settings and provide values for their template variables.\n\nBoth `membersOverrides` and `members[n].assistantOverrides` can be used together. First, `members[n].assistantOverrides` is applied. Then, `membersOverrides` is applied as a global override.", + "allOf": [ + { + "$ref": "#/components/schemas/AssistantOverrides" + } + ] + } + }, + "required": [ + "id", + "orgId", + "squadId", + "version", + "configHash", + "createdAt", + "members" + ] + }, + "SquadVersionPaginatedMetadata": { + "type": "object", + "properties": { + "nextCursor": { + "type": "string", + "nullable": true + }, + "hasNextPage": { + "type": "boolean" + }, + "limit": { + "type": "number" + } + }, + "required": [ + "hasNextPage", + "limit" + ] + }, + "SquadVersionPaginatedResponse": { + "type": "object", + "properties": { + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SquadVersion" + } + }, + "metadata": { + "$ref": "#/components/schemas/SquadVersionPaginatedMetadata" + } + }, + "required": [ + "results", + "metadata" + ] + }, + "UpdateSquadDTO": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "This is the name of the squad." + }, + "members": { + "description": "This is the list of assistants that make up the squad.\n\nThe call will start with the first assistant in the list.", + "type": "array", + "items": { + "$ref": "#/components/schemas/SquadMemberDTO" + } + }, + "membersOverrides": { + "description": "This can be used to override all the assistants' settings and provide values for their template variables.\n\nBoth `membersOverrides` and `members[n].assistantOverrides` can be used together. First, `members[n].assistantOverrides` is applied. Then, `membersOverrides` is applied as a global override.", + "allOf": [ + { + "$ref": "#/components/schemas/AssistantOverrides" + } + ] + } + }, + "required": [ + "members" + ] + }, + "Workflow": { + "type": "object", + "properties": { + "nodes": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/ConversationNode", + "title": "ConversationNode" + }, + { + "$ref": "#/components/schemas/ToolNode", + "title": "ToolNode" + } + ] + } + }, + "model": { + "description": "This is the model for the workflow.\n\nThis can be overridden at node level using `nodes[n].model`.", + "oneOf": [ + { + "$ref": "#/components/schemas/WorkflowOpenAIModel", + "title": "WorkflowOpenAIModel" + }, + { + "$ref": "#/components/schemas/WorkflowAnthropicModel", + "title": "WorkflowAnthropicModel" + }, + { + "$ref": "#/components/schemas/WorkflowAnthropicBedrockModel", + "title": "WorkflowAnthropicBedrockModel" + }, + { + "$ref": "#/components/schemas/WorkflowGoogleModel", + "title": "WorkflowGoogleModel" + }, + { + "$ref": "#/components/schemas/WorkflowCustomModel", + "title": "WorkflowCustomModel" + } + ] + }, + "transcriber": { + "description": "This is the transcriber for the workflow.\n\nThis can be overridden at node level using `nodes[n].transcriber`.", "oneOf": [ { "$ref": "#/components/schemas/AssemblyAITranscriber", @@ -67531,6 +68571,10 @@ "type": "number", "description": "Number of voice simulations that can start now (available call slots / 2)" }, + "chatConcurrencyLimit": { + "type": "number", + "description": "Max chat simulations that can run at once. A count of simulations, not call slots: chat simulations use none." + }, "createdAt": { "type": "string", "format": "date-time", @@ -67551,6 +68595,7 @@ "concurrencyLimit", "activeSimulations", "availableToStart", + "chatConcurrencyLimit", "createdAt", "updatedAt", "isDefault" @@ -73697,6 +74742,13 @@ "minLength": 1, "maxLength": 40 }, + "deployments": { + "description": "These are the names of your Azure deployments, one entry for every model in `models`. Omit the field when every deployment is named after its model; once it has any entry, a model with no entry is rejected, so a deployment named after its model takes `{ \"model\": \"\", \"name\": \"\" }`. Requests use the first of the org's keys that matches the region (on a live call, also the model), so an org holding two keys for the same region and model should pin `credentialIds` on its assistants.", + "type": "array", + "items": { + "$ref": "#/components/schemas/AzureOpenAIDeployment" + } + }, "openAIEndpoint": { "type": "string", "maxLength": 10000 @@ -77322,6 +78374,13 @@ "minLength": 1, "maxLength": 40 }, + "deployments": { + "description": "These are the names of your Azure deployments, one entry for every model in `models`. Omit the field when every deployment is named after its model; once it has any entry, a model with no entry is rejected, so a deployment named after its model takes `{ \"model\": \"\", \"name\": \"\" }`. Requests use the first of the org's keys that matches the region (on a live call, also the model), so an org holding two keys for the same region and model should pin `credentialIds` on its assistants.", + "type": "array", + "items": { + "$ref": "#/components/schemas/AzureOpenAIDeployment" + } + }, "openAIEndpoint": { "type": "string", "maxLength": 10000 From 2660a4be1a1b17ed6484636e2a91f7fdcbfd6edd Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 27 Nov 2026 00:24:54 +0000 Subject: [PATCH 18/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 356 ++++++++++++++++++++++++++++++++++++- 1 file changed, 348 insertions(+), 8 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 47cea0ba0..486af5583 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -11794,6 +11794,30 @@ "zu" ] }, + "turnStartThreshold": { + "type": "number", + "minimum": 0.5, + "maximum": 0.9, + "description": "Ink 2 speech likelihood above which a turn starts. Higher values require stronger speech evidence. Must exceed turnEagerEndThreshold, which is 0.4 when unset. When unset, the Cartesia server default (currently 0.8) applies. With startSpeakingPlan.smartEndpointingPlan unset, this affects when the assistant replies. A smart endpointing plan decides reply timing itself from Ink 2's partial and final transcripts, so with one set this only shapes the plan's input." + }, + "turnEagerEndThreshold": { + "type": "number", + "minimum": 0.3, + "maximum": 0.6, + "description": "Ink 2 speech likelihood below which an eager end fires. Higher values fire sooner. Must be below turnStartThreshold (0.8 when unset) and above turnEndThreshold (0.2 when unset). Eager ends are emitted as partial transcripts. With startSpeakingPlan.smartEndpointingPlan unset they do not start a model request, so tuning this changes when the event is observed rather than when the assistant replies. A smart endpointing plan receives them with Ink 2's other transcripts and decides reply timing itself. When unset, the Cartesia server default (currently 0.4) applies." + }, + "turnEndThreshold": { + "type": "number", + "minimum": 0.05, + "maximum": 0.5, + "description": "Ink 2 speech likelihood below which a turn ends. Higher values end the turn sooner. Must be below turnEagerEndThreshold, which is 0.4 when unset; values at or above that therefore require raising turnEagerEndThreshold as well. When unset, the Cartesia server default (currently 0.2) applies. With startSpeakingPlan.smartEndpointingPlan unset, this affects when the assistant replies. A smart endpointing plan decides reply timing itself from Ink 2's partial and final transcripts, so with one set this only shapes the plan's input." + }, + "turnEndTimeoutMs": { + "type": "integer", + "minimum": 640, + "maximum": 11200, + "description": "Maximum Ink 2 wait after speech stops, in milliseconds. Lower values force an earlier end. When unset, the Cartesia server default (currently 5600) applies. With startSpeakingPlan.smartEndpointingPlan unset, this affects when the assistant replies. A smart endpointing plan decides reply timing itself from Ink 2's partial and final transcripts, so with one set this only shapes the plan's input." + }, "fallbackPlan": { "description": "This is the plan for transcriber provider fallbacks in the event that the primary transcriber provider fails.", "allOf": [ @@ -15345,6 +15369,30 @@ "zh", "zu" ] + }, + "turnStartThreshold": { + "type": "number", + "minimum": 0.5, + "maximum": 0.9, + "description": "Ink 2 speech likelihood above which a turn starts. Higher values require stronger speech evidence. Must exceed turnEagerEndThreshold, which is 0.4 when unset. When unset, the Cartesia server default (currently 0.8) applies. With startSpeakingPlan.smartEndpointingPlan unset, this affects when the assistant replies. A smart endpointing plan decides reply timing itself from Ink 2's partial and final transcripts, so with one set this only shapes the plan's input." + }, + "turnEagerEndThreshold": { + "type": "number", + "minimum": 0.3, + "maximum": 0.6, + "description": "Ink 2 speech likelihood below which an eager end fires. Higher values fire sooner. Must be below turnStartThreshold (0.8 when unset) and above turnEndThreshold (0.2 when unset). Eager ends are emitted as partial transcripts. With startSpeakingPlan.smartEndpointingPlan unset they do not start a model request, so tuning this changes when the event is observed rather than when the assistant replies. A smart endpointing plan receives them with Ink 2's other transcripts and decides reply timing itself. When unset, the Cartesia server default (currently 0.4) applies." + }, + "turnEndThreshold": { + "type": "number", + "minimum": 0.05, + "maximum": 0.5, + "description": "Ink 2 speech likelihood below which a turn ends. Higher values end the turn sooner. Must be below turnEagerEndThreshold, which is 0.4 when unset; values at or above that therefore require raising turnEagerEndThreshold as well. When unset, the Cartesia server default (currently 0.2) applies. With startSpeakingPlan.smartEndpointingPlan unset, this affects when the assistant replies. A smart endpointing plan decides reply timing itself from Ink 2's partial and final transcripts, so with one set this only shapes the plan's input." + }, + "turnEndTimeoutMs": { + "type": "integer", + "minimum": 640, + "maximum": 11200, + "description": "Maximum Ink 2 wait after speech stops, in milliseconds. Lower values force an earlier end. When unset, the Cartesia server default (currently 5600) applies. With startSpeakingPlan.smartEndpointingPlan unset, this affects when the assistant replies. A smart endpointing plan decides reply timing itself from Ink 2's partial and final transcripts, so with one set this only shapes the plan's input." } }, "required": [ @@ -19159,6 +19207,14 @@ "type": "boolean", "description": "Whether smart denoising using Krisp is enabled.", "default": true + }, + "intensity": { + "type": "number", + "description": "Intensity of the applied noise suppression, in the range [0, 100].\n- 0 indicates no noise suppression (audio passes through Krisp unchanged).\n- 100 indicates full noise suppression and is the historical default.\nLower values are gentler; useful for narrowband telephony audio where\naggressive suppression can over-attenuate brief or quiet user utterances.\n\nPer-call intensity is in beta, rolling out to select organizations and\nregions. Where it is not available, or the intensity-aware denoiser cannot\nbe reached for a call, the standard denoiser runs at full suppression\n(100) whatever this is set to, so 0 does not turn suppression off there;\nset `enabled` to false for that. If the standard denoiser cannot be\nreached either, the call's audio passes through without smart denoising.\n\n@default 100", + "example": 100, + "minimum": 0, + "maximum": 100, + "default": 100 } } }, @@ -26673,6 +26729,8 @@ "gpt-4.1:australiaeast", "gpt-4o:australiaeast", "gpt-5.4-mini:australiaeast", + "gpt-5.6-luna:australiaeast", + "gpt-6-luna:australiaeast", "gpt-live-1" ] }, @@ -26843,7 +26901,9 @@ "gpt-3.5-turbo-1106:westus", "gpt-4.1:australiaeast", "gpt-4o:australiaeast", - "gpt-5.4-mini:australiaeast" + "gpt-5.4-mini:australiaeast", + "gpt-5.6-luna:australiaeast", + "gpt-6-luna:australiaeast" ] } }, @@ -27627,7 +27687,9 @@ "gpt-3.5-turbo-1106:westus", "gpt-4.1:australiaeast", "gpt-4o:australiaeast", - "gpt-5.4-mini:australiaeast" + "gpt-5.4-mini:australiaeast", + "gpt-5.6-luna:australiaeast", + "gpt-6-luna:australiaeast" ] }, "reasoningEffort": { @@ -36063,6 +36125,7 @@ "description": "This is the model the deployment serves. It must be one of the credential's `models`.", "enum": [ "gpt-6-luna", + "gpt-6-luna-2026-09-22", "gpt-5.6-luna-2026-07-09", "gpt-5.6-terra-2026-07-09", "gpt-5.6-sol-2026-07-09", @@ -36151,6 +36214,7 @@ "type": "array", "enum": [ "gpt-6-luna", + "gpt-6-luna-2026-09-22", "gpt-5.6-luna-2026-07-09", "gpt-5.6-terra-2026-07-09", "gpt-5.6-sol-2026-07-09", @@ -36190,6 +36254,7 @@ "type": "string", "enum": [ "gpt-6-luna", + "gpt-6-luna-2026-09-22", "gpt-5.6-luna-2026-07-09", "gpt-5.6-terra-2026-07-09", "gpt-5.6-sol-2026-07-09", @@ -65986,6 +66051,14 @@ } ] }, + "metric": { + "type": "string", + "description": "This is a built-in metric to evaluate instead of a structured output. Mutually exclusive with structuredOutputId\nand structuredOutput, and only available on a scenario with `transcriptReplay`, which takes no other evaluations.\n- wer: the word error rate of the replayed recording's transcript against the answer key, as a fraction where 0\n is perfect and 0.1 is 10%; insertions can push it above 1. `value` must be from 0 to 1. For example,\n `{ \"metric\": \"wer\", \"comparator\": \"<=\", \"value\": 0.1 }`.", + "enum": [ + "wer" + ], + "example": "wer" + }, "path": { "type": "string", "description": "Optional dot-notation path to a primitive leaf when evaluating an object structured output.", @@ -66095,6 +66168,83 @@ "thresholdMs" ] }, + "TranscriptKeyValue": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "This is the value as the answer key writes it. It matches the same words in\nthe same order, ignoring case and punctuation, or the value spelled out letter\nby letter (\"Maria\" matches \"M A R I A\"). Split into different words, it\nscores near (\"HubSpot\" heard as \"hub spot\"), so list such forms in\nacceptedVariants when the value is required.", + "minLength": 1, + "maxLength": 100, + "example": "lisinopril" + }, + "acceptedVariants": { + "description": "These are other spellings that count as the same value, such as \"Rayner\"\nfor \"Raynor\".", + "maxItems": 10, + "type": "array", + "items": { + "type": "string", + "maxLength": 100 + } + }, + "required": { + "type": "boolean", + "description": "This is whether the simulation fails unless this value comes through\nexactly. Defaults to false: the verdict is reported but does not decide\npass or fail.", + "default": false + } + }, + "required": [ + "value" + ] + }, + "TranscriptAnswerKey": { + "type": "object", + "properties": { + "transcript": { + "type": "string", + "description": "This is the verbatim transcript of everything the recording contains. A\nmixed recording of both parties needs both parties' words, in order. At\nmost 30,000 words.", + "maxLength": 200000 + }, + "keyValues": { + "description": "These are values the transcript must carry, each scored exact, near or\nmissed.", + "maxItems": 20, + "type": "array", + "items": { + "$ref": "#/components/schemas/TranscriptKeyValue" + } + } + }, + "required": [ + "transcript" + ] + }, + "TranscriptReplay": { + "type": "object", + "properties": { + "recordingUrl": { + "type": "string", + "description": "This is the HTTPS URL of the recording, fetched when each run starts and\nnever stored. Use a presigned URL that stays valid until the run executes.\nWAV, MP3, FLAC and OGG are supported; MP4 and M4A only when the file was\nwritten for streaming.", + "maxLength": 4096, + "example": "https://example.com/recordings/call-123.wav" + }, + "answerKey": { + "description": "This is the answer key, inline. Supply this or `answerKeyUrl`, not both.\nOrganizations with HIPAA, PCI or zero data retention enabled must use\n`answerKeyUrl`, so no answer key is stored.", + "allOf": [ + { + "$ref": "#/components/schemas/TranscriptAnswerKey" + } + ] + }, + "answerKeyUrl": { + "type": "string", + "description": "This is the HTTPS URL of a JSON answer key with the same shape as\n`answerKey`, fetched when each run starts and never stored.", + "maxLength": 4096 + } + }, + "required": [ + "recordingUrl" + ] + }, "CreateScenarioDTO": { "type": "object", "properties": { @@ -66106,12 +66256,12 @@ }, "instructions": { "type": "string", - "description": "This is the script/instructions for the tester to follow during the simulation.", + "description": "This is the script/instructions for the tester to follow during the simulation. Optional when `transcriptReplay` is set, which has no tester.", "maxLength": 10000, "example": "You are calling to enroll in the Twin Health program. Confirm your identity when asked." }, "evaluations": { - "description": "This is the structured output-based evaluation plan for the simulation.\nEach item defines a structured output to extract and evaluate against an expected value.", + "description": "This is the evaluation plan for the simulation. At least one is required. With `transcriptReplay`, only `metric` evaluations are allowed, and none are required.", "type": "array", "items": { "$ref": "#/components/schemas/EvaluationPlanItem" @@ -66162,6 +66312,15 @@ "$ref": "#/components/schemas/LatencyExpectation" } }, + "transcriptReplay": { + "nullable": true, + "description": "This turns the scenario into a transcription test: a recording is streamed\ninto the target's call in place of a simulated caller, and the target's\ntranscript is scored against an answer key.", + "allOf": [ + { + "$ref": "#/components/schemas/TranscriptReplay" + } + ] + }, "path": { "type": "string", "nullable": true, @@ -66207,12 +66366,12 @@ }, "instructions": { "type": "string", - "description": "This is the script/instructions for the tester to follow during the simulation.", + "description": "This is the script/instructions for the tester to follow during the simulation. Optional when `transcriptReplay` is set, which has no tester.", "maxLength": 10000, "example": "You are calling to enroll in the Twin Health program. Confirm your identity when asked." }, "evaluations": { - "description": "This is the structured output-based evaluation plan for the simulation.\nEach item defines a structured output to extract and evaluate against an expected value.", + "description": "This is the evaluation plan for the simulation. At least one is required. With `transcriptReplay`, only `metric` evaluations are allowed, and none are required.", "type": "array", "items": { "$ref": "#/components/schemas/EvaluationPlanItem" @@ -66263,6 +66422,15 @@ "$ref": "#/components/schemas/LatencyExpectation" } }, + "transcriptReplay": { + "nullable": true, + "description": "This turns the scenario into a transcription test: a recording is streamed\ninto the target's call in place of a simulated caller, and the target's\ntranscript is scored against an answer key.", + "allOf": [ + { + "$ref": "#/components/schemas/TranscriptReplay" + } + ] + }, "path": { "type": "string", "nullable": true, @@ -66295,7 +66463,7 @@ "maxLength": 10000 }, "evaluations": { - "description": "This is the structured output-based evaluation plan for the simulation.\nEach item defines a structured output to extract and evaluate against an expected value.", + "description": "This is the evaluation plan for the simulation.\nEach item defines a structured output to extract, or with `transcriptReplay` a built-in metric, and evaluates it\nagainst an expected value.", "type": "array", "items": { "$ref": "#/components/schemas/EvaluationPlanItem" @@ -66345,6 +66513,15 @@ "$ref": "#/components/schemas/LatencyExpectation" } }, + "transcriptReplay": { + "nullable": true, + "description": "Transcript replay settings. Omit to leave unchanged; send null to turn the\nscenario back into a normal simulation, which then needs instructions and\nat least one evaluation. Turning a scenario into a replay needs\n`evaluations: []` in the same request.", + "allOf": [ + { + "$ref": "#/components/schemas/TranscriptReplay" + } + ] + }, "path": { "type": "string", "nullable": true, @@ -67389,6 +67566,155 @@ "required" ] }, + "TranscriptKeyValueResult": { + "type": "object", + "properties": { + "index": { + "type": "number", + "description": "This is the key value's position in the answer key." + }, + "value": { + "type": "string", + "description": "This is the key value as the answer key wrote it. Absent for organizations\nwith HIPAA, PCI or zero data retention enabled." + }, + "verdict": { + "type": "string", + "description": "This is how the value came through.\n- exact: letter for letter, or as an accepted variant\n- near: a close spelling, at most about one wrong letter in five\n- missed: not found", + "enum": [ + "exact", + "near", + "missed" + ] + }, + "required": { + "type": "boolean", + "description": "This is whether this key value had to come through exactly for the\nsimulation to pass. Kept for every organization, since it carries no answer-key text." + } + }, + "required": [ + "index", + "verdict", + "required" + ] + }, + "TranscriptMetricEvaluationResult": { + "type": "object", + "properties": { + "index": { + "type": "number", + "description": "This is the evaluation's position in the scenario's evaluations." + }, + "metric": { + "type": "string", + "description": "This is the metric evaluated.", + "enum": [ + "wer" + ] + }, + "comparator": { + "type": "string", + "description": "This is the comparison made: the metric's value on the left, `expectedValue` on the right.", + "enum": [ + "=", + "!=", + ">", + "<", + ">=", + "<=" + ] + }, + "expectedValue": { + "type": "number", + "description": "This is the value the evaluation compares against." + }, + "actualValue": { + "type": "number", + "nullable": true, + "description": "This is the metric's value for this run. Null when it could not be measured, such as a word error rate for an\nanswer key with no words; the evaluation then fails." + }, + "passed": { + "type": "boolean", + "description": "This is whether the comparison held." + }, + "required": { + "type": "boolean", + "description": "This is whether the evaluation decides pass or fail. When false it is informational only." + } + }, + "required": [ + "index", + "metric", + "comparator", + "expectedValue", + "actualValue", + "passed", + "required" + ] + }, + "TranscriptEvaluationResult": { + "type": "object", + "properties": { + "wer": { + "type": "number", + "nullable": true, + "description": "This is the word error rate: (substitutions + deletions + insertions)\ndivided by the answer key's word count. Null when the answer key has no\nwords." + }, + "hits": { + "type": "number", + "description": "This is the number of answer-key words transcribed correctly." + }, + "substitutions": { + "type": "number", + "description": "This is the number of answer-key words transcribed as a different word." + }, + "deletions": { + "type": "number", + "description": "This is the number of answer-key words missing from the transcript." + }, + "insertions": { + "type": "number", + "description": "This is the number of transcript words with no answer-key word." + }, + "referenceWordCount": { + "type": "number", + "description": "This is the number of words in the normalized answer key." + }, + "hypothesisWordCount": { + "type": "number", + "description": "This is the number of words in the normalized transcript." + }, + "keyValues": { + "description": "This is each key value's verdict, in answer-key order.", + "type": "array", + "items": { + "$ref": "#/components/schemas/TranscriptKeyValueResult" + } + }, + "evaluations": { + "description": "This is each of the scenario's metric evaluations, in the scenario's order.", + "type": "array", + "items": { + "$ref": "#/components/schemas/TranscriptMetricEvaluationResult" + } + }, + "passed": { + "type": "boolean", + "description": "This is false when a required evaluation failed or a required key value\ndid not come through exactly." + } + }, + "required": [ + "wer", + "hits", + "substitutions", + "deletions", + "insertions", + "referenceWordCount", + "hypothesisWordCount", + "keyValues", + "evaluations", + "passed" + ] + }, "SimulationRunItemResults": { "type": "object", "properties": { @@ -67465,6 +67791,14 @@ "items": { "$ref": "#/components/schemas/LatencyEvaluationResult" } + }, + "transcriptEvaluation": { + "description": "This is the replayed recording's transcript scored against the scenario's\nanswer key. Present only for scenarios with a transcript replay.", + "allOf": [ + { + "$ref": "#/components/schemas/TranscriptEvaluationResult" + } + ] } }, "required": [ @@ -71766,7 +72100,9 @@ "gpt-3.5-turbo-1106:westus", "gpt-4.1:australiaeast", "gpt-4o:australiaeast", - "gpt-5.4-mini:australiaeast" + "gpt-5.4-mini:australiaeast", + "gpt-5.6-luna:australiaeast", + "gpt-6-luna:australiaeast" ] }, "temperature": { @@ -74637,6 +74973,7 @@ "type": "array", "enum": [ "gpt-6-luna", + "gpt-6-luna-2026-09-22", "gpt-5.6-luna-2026-07-09", "gpt-5.6-terra-2026-07-09", "gpt-5.6-sol-2026-07-09", @@ -74676,6 +75013,7 @@ "type": "string", "enum": [ "gpt-6-luna", + "gpt-6-luna-2026-09-22", "gpt-5.6-luna-2026-07-09", "gpt-5.6-terra-2026-07-09", "gpt-5.6-sol-2026-07-09", @@ -78287,6 +78625,7 @@ "type": "array", "enum": [ "gpt-6-luna", + "gpt-6-luna-2026-09-22", "gpt-5.6-luna-2026-07-09", "gpt-5.6-terra-2026-07-09", "gpt-5.6-sol-2026-07-09", @@ -78326,6 +78665,7 @@ "type": "string", "enum": [ "gpt-6-luna", + "gpt-6-luna-2026-09-22", "gpt-5.6-luna-2026-07-09", "gpt-5.6-terra-2026-07-09", "gpt-5.6-sol-2026-07-09", From 6438f592de6a319be94fe7fd2bac65056a5e24a0 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 1 Dec 2026 00:35:33 +0000 Subject: [PATCH 19/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 486af5583..9b1c95cb6 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -19172,7 +19172,7 @@ }, "customEndpointingRules": { "type": "array", - "description": "These are the custom endpointing rules to set an endpointing timeout based on a regex on the customer's speech or the assistant's last message.\n\nUsage:\n- If you have yes/no questions like \"are you interested in a loan?\", you can set a shorter timeout.\n- If you have questions where the customer may pause to look up information like \"what's my account number?\", you can set a longer timeout.\n- If you want to wait longer while customer is enumerating a list of numbers, you can set a longer timeout.\n\nThese rules have the highest precedence and will override both `smartEndpointingPlan` and `transcriptionEndpointingPlan` when a rule is matched.\n\nThe rules are evaluated in order and the first one that matches will be used.\n\nOrder of precedence for endpointing:\n1. customEndpointingRules (if any match)\n2. smartEndpointingPlan (if set)\n3. transcriptionEndpointingPlan\n\n@default []", + "description": "These are the custom endpointing rules to set an endpointing timeout based on a regex on the customer's speech or the assistant's last message. Customer regexes match speech fragments across a silent keypad entry and exclude the entry itself.\n\nUsage:\n- If you have yes/no questions like \"are you interested in a loan?\", you can set a shorter timeout.\n- If you have questions where the customer may pause to look up information like \"what's my account number?\", you can set a longer timeout.\n- If you want to wait longer while customer is enumerating a list of numbers, you can set a longer timeout.\n\nThese rules have the highest precedence and will override both `smartEndpointingPlan` and `transcriptionEndpointingPlan` when a rule is matched.\n\nThe rules are evaluated in order and the first one that matches will be used.\n\nOrder of precedence for endpointing:\n1. customEndpointingRules (if any match)\n2. smartEndpointingPlan (if set)\n3. transcriptionEndpointingPlan\n\n@default []", "items": { "oneOf": [ { @@ -21184,7 +21184,7 @@ }, "triggerResponseEnabled": { "type": "boolean", - "description": "This determines whether a completed keypad entry triggers an assistant response.\n\nUsage:\n- Use `true` to have the assistant respond to the entry.\n- Use `false` to add the entry to the conversation history silently. The model reads it on its next turn, for example to pass an ID to a tool. OpenAI Realtime and Gemini speech-to-speech models never receive keypad entries.\n\nIn a squad, this follows the active assistant when the entry completes. A half-typed entry carries over and completes under the new assistant's setting. `enabled`, `timeoutSeconds` and `delimiters` come from the first assistant for the whole call.\n\n@default true" + "description": "This determines whether a completed keypad entry triggers an assistant response.\n\nUsage:\n- Use `true` to have the assistant respond to the entry.\n- Use `false` to add the entry to the conversation history silently. The model reads it on its next turn, for example to pass an ID to a tool. OpenAI Realtime and Gemini speech-to-speech models never receive keypad entries.\n\nWith `false`, the entry is tagged with `metadata.keypadEntry` and stays separate from speech in the transcript and in OpenAI-format message history. Anthropic, Google, Mistral, and Perplexity use a newline between the entry and adjacent speech when they share a turn.\n\nIn a squad, this follows the active assistant when the entry completes. A half-typed entry carries over and completes under the new assistant's setting. `enabled`, `timeoutSeconds` and `delimiters` come from the first assistant for the whole call.\n\n@default true" } } }, @@ -48157,6 +48157,10 @@ "source": { "type": "string", "description": "The channel or address the out-of-band message arrived from (e.g. the\nsender's phone number for an SMS)." + }, + "keypadEntry": { + "type": "boolean", + "description": "Marks a completed keypad entry (`User's Keypad Entry: `) when\n`keypadInputPlan.triggerResponseEnabled` is `false`. Tagged entries stay\nseparate in transcripts and in OpenAI-format message history. Anthropic,\nGoogle, Mistral, and Perplexity use a newline between the entry and adjacent\nspeech when they share a turn. Workflow conversation nodes and smart\nendpointing use the latest speech without the tagged entry." } } }, @@ -70377,6 +70381,7 @@ "assistant.tool.delayedMessageSent", "assistant.tool.timeout", "assistant.tool.asyncCallbackReceived", + "assistant.skill.loaded", "assistant.transcriber.requestStarted", "assistant.transcriber.requestSucceeded", "assistant.transcriber.requestFailed", From 44911f1606be24f2723647755acb2990b185e385 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 2 Dec 2026 00:30:29 +0000 Subject: [PATCH 20/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 139 +++++++++++++++++++++++++++++++------ 1 file changed, 118 insertions(+), 21 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 9b1c95cb6..947f54ad0 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -21477,7 +21477,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ], "example": [ "conversation-update", @@ -21516,7 +21517,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ] } }, @@ -22315,7 +22317,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ], "example": [ "conversation-update", @@ -22354,7 +22357,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ] } }, @@ -30139,7 +30143,7 @@ }, "model": { "type": "string", - "description": "This is the Vapi model: `sapien` or `sapien-lite`." + "description": "This is the Vapi model: `sapien`." }, "provider": { "type": "string", @@ -38148,7 +38152,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ], "example": [ "conversation-update", @@ -38187,7 +38192,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ] } }, @@ -39137,7 +39143,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ], "example": [ "conversation-update", @@ -39176,7 +39183,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ] } }, @@ -40083,7 +40091,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ], "example": [ "conversation-update", @@ -40122,7 +40131,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ] } }, @@ -41134,7 +41144,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ], "example": [ "conversation-update", @@ -41173,7 +41184,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ] } }, @@ -42167,7 +42179,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ], "example": [ "conversation-update", @@ -42206,7 +42219,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ] } }, @@ -43201,7 +43215,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ], "example": [ "conversation-update", @@ -43240,7 +43255,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ] } }, @@ -44128,7 +44144,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ], "example": [ "conversation-update", @@ -44167,7 +44184,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ] } }, @@ -45031,7 +45049,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ], "example": [ "conversation-update", @@ -45070,7 +45089,8 @@ "user-interrupted", "voice-input", "workflow.node.started", - "assistant.started" + "assistant.started", + "guardrail-event" ] } }, @@ -84460,6 +84480,79 @@ "type" ] }, + "ClientMessageGuardrailEvent": { + "type": "object", + "properties": { + "phoneNumber": { + "description": "This is the phone number that the message is associated with.", + "oneOf": [ + { + "$ref": "#/components/schemas/CreateByoPhoneNumberDTO", + "title": "ByoPhoneNumber" + }, + { + "$ref": "#/components/schemas/CreateTwilioPhoneNumberDTO", + "title": "TwilioPhoneNumber" + }, + { + "$ref": "#/components/schemas/CreateVonagePhoneNumberDTO", + "title": "VonagePhoneNumber" + }, + { + "$ref": "#/components/schemas/CreateVapiPhoneNumberDTO", + "title": "VapiPhoneNumber" + }, + { + "$ref": "#/components/schemas/CreateTelnyxPhoneNumberDTO", + "title": "TelnyxPhoneNumber" + } + ] + }, + "assistantVersion": { + "type": "string", + "nullable": true, + "description": "This is the version label (e.g. `v3`) of the assistant the call was\nconfigured with. `null` for inline assistants, squad/workflow calls,\npre-resolution assistant-request messages, and orgs not on\nassistant versioning." + }, + "type": { + "type": "string", + "description": "This is the type of the message. \"guardrail-event\" is sent when an assistant's guardrails activate and each time a checked reply reaches its outcome or its recovery action's outcome changes. Client-only and opt-in.", + "enum": [ + "guardrail-event" + ] + }, + "timestamp": { + "type": "number", + "description": "This is the timestamp of the message." + }, + "call": { + "description": "This is the call that the message is associated with.", + "allOf": [ + { + "$ref": "#/components/schemas/Call" + } + ] + }, + "customer": { + "description": "This is the customer that the message is associated with.", + "allOf": [ + { + "$ref": "#/components/schemas/CreateCustomerDTO" + } + ] + }, + "assistant": { + "description": "This is the assistant that the message is associated with.", + "allOf": [ + { + "$ref": "#/components/schemas/CreateAssistantDTO" + } + ] + } + }, + "required": [ + "type" + ] + }, "ClientMessage": { "type": "object", "properties": { @@ -84553,6 +84646,10 @@ { "$ref": "#/components/schemas/ClientMessageCallDeleteFailed", "title": "CallDeleteFailed" + }, + { + "$ref": "#/components/schemas/ClientMessageGuardrailEvent", + "title": "GuardrailEvent" } ] } From 57ad04a6b25b9b3817e32fd8144f7efdca29c65f Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 3 Dec 2026 00:33:21 +0000 Subject: [PATCH 21/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 389 +++++++++++++++++++++++++++++++++++++ 1 file changed, 389 insertions(+) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 947f54ad0..a9a71e00c 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -63976,6 +63976,395 @@ } } }, + "CreateSkillDTO": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "This is the name of the skill. The assistant sees it in the `load_skill`\ntool, so it must be lowercase letters, digits and single hyphens\n(kebab-case), at most 64 characters.", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$", + "example": "refund-policy" + }, + "description": { + "type": "string", + "description": "This is the description of the skill. The assistant reads it to decide\nwhen to load the skill, so say what it covers and when to use it.", + "minLength": 1, + "maxLength": 1024 + }, + "content": { + "type": "string", + "description": "Markdown instructions loaded into the conversation when the assistant\ncalls the `load_skill` tool. Supports call variables such as\n`{{customer.number}}`, filled in when the skill loads.", + "minLength": 1, + "maxLength": 20000 + }, + "toolNames": { + "nullable": true, + "description": "These are the function names of the assistant tools this skill owns.\nUntil the assistant loads this skill in a conversation, a call to one of\nthem is refused with a note to load the skill first, so the procedure's\nsteps are in front of the model before it acts. A tool that several\nskills list is allowed once any of them is loaded. Leave it empty for a\nskill that only gives instructions.", + "maxItems": 32, + "example": [ + "make_payment" + ], + "type": "array", + "items": { + "type": "string", + "pattern": "^[a-zA-Z0-9_-]{1,64}$" + } + }, + "metadata": { + "type": "object", + "nullable": true, + "description": "This is optional metadata stored with the skill, such as the remaining\nfrontmatter fields of an imported SKILL.md. Vapi stores it as given and\ndoes not read it.", + "additionalProperties": true + } + }, + "required": [ + "name", + "description", + "content" + ] + }, + "Skill": { + "type": "object", + "properties": { + "latestVersion": { + "type": "string", + "nullable": true, + "description": "This is the label of the newest published version, e.g. \"v3\". Null until\nthe first version is published." + }, + "name": { + "type": "string", + "description": "This is the name of the skill. The assistant sees it in the `load_skill`\ntool, so it must be lowercase letters, digits and single hyphens\n(kebab-case), at most 64 characters.", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$", + "example": "refund-policy" + }, + "description": { + "type": "string", + "description": "This is the description of the skill. The assistant reads it to decide\nwhen to load the skill, so say what it covers and when to use it.", + "minLength": 1, + "maxLength": 1024 + }, + "content": { + "type": "string", + "description": "Markdown instructions loaded into the conversation when the assistant\ncalls the `load_skill` tool. Supports call variables such as\n`{{customer.number}}`, filled in when the skill loads.", + "minLength": 1, + "maxLength": 20000 + }, + "toolNames": { + "nullable": true, + "description": "These are the function names of the assistant tools this skill owns.\nUntil the assistant loads this skill in a conversation, a call to one of\nthem is refused with a note to load the skill first, so the procedure's\nsteps are in front of the model before it acts. A tool that several\nskills list is allowed once any of them is loaded. Leave it empty for a\nskill that only gives instructions.", + "maxItems": 32, + "example": [ + "make_payment" + ], + "type": "array", + "items": { + "type": "string", + "pattern": "^[a-zA-Z0-9_-]{1,64}$" + } + }, + "metadata": { + "type": "object", + "nullable": true, + "description": "This is optional metadata stored with the skill, such as the remaining\nfrontmatter fields of an imported SKILL.md. Vapi stores it as given and\ndoes not read it.", + "additionalProperties": true + }, + "id": { + "type": "string", + "description": "This is the unique identifier for the skill." + }, + "orgId": { + "type": "string", + "description": "This is the unique identifier for the org that this skill belongs to." + }, + "createdAt": { + "format": "date-time", + "type": "string", + "description": "This is the ISO 8601 date-time string of when the skill was created." + }, + "updatedAt": { + "format": "date-time", + "type": "string", + "description": "This is the ISO 8601 date-time string of when the skill was last updated." + } + }, + "required": [ + "name", + "description", + "content", + "id", + "orgId", + "createdAt", + "updatedAt" + ] + }, + "SkillPaginatedResponse": { + "type": "object", + "properties": { + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Skill" + } + }, + "metadata": { + "$ref": "#/components/schemas/PaginationMeta" + } + }, + "required": [ + "results", + "metadata" + ] + }, + "SkillUsageAssistantDTO": { + "type": "object", + "properties": { + "assistantId": { + "type": "string", + "description": "This is the unique identifier of the assistant that uses the skill.", + "format": "uuid" + }, + "assistantName": { + "type": "string", + "nullable": true, + "description": "This is the name of the assistant, or null when it has none." + }, + "assistantVersion": { + "type": "string", + "nullable": true, + "description": "This is the saved assistant version that uses the skill, e.g. \"v4\". Null\nfor the assistant's live configuration when it follows the skill through\n`model.skillIds`.", + "example": "v4" + }, + "isCurrentVersion": { + "type": "boolean", + "description": "This is true for the assistant's live configuration or current version,\nand false for an older saved version that a squad or the traffic\nallocation in effect still routes calls to.", + "example": true + }, + "skillVersion": { + "type": "string", + "description": "This is the skill version the assistant version uses: the pinned label,\ne.g. \"v2\", or \"latest\" when it follows the skill through `model.skillIds`.", + "example": "v2" + } + }, + "required": [ + "assistantId", + "assistantName", + "assistantVersion", + "isCurrentVersion", + "skillVersion" + ] + }, + "SkillUsageResponseDTO": { + "type": "object", + "properties": { + "results": { + "description": "These are the assistants that use the skill: followers of the latest\nversion first, then each saved assistant version that uses it and still\nserves calls (its current version, or an older one a squad or the\ntraffic allocation in effect routes to).", + "type": "array", + "items": { + "$ref": "#/components/schemas/SkillUsageAssistantDTO" + } + } + }, + "required": [ + "results" + ] + }, + "UpdateSkillDTO": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "This is the name of the skill. The assistant sees it in the `load_skill`\ntool, so it must be lowercase letters, digits and single hyphens\n(kebab-case), at most 64 characters.", + "minLength": 1, + "maxLength": 64, + "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$", + "example": "refund-policy" + }, + "description": { + "type": "string", + "description": "This is the description of the skill. The assistant reads it to decide\nwhen to load the skill, so say what it covers and when to use it.", + "minLength": 1, + "maxLength": 1024 + }, + "content": { + "type": "string", + "description": "Markdown instructions loaded into the conversation when the assistant\ncalls the `load_skill` tool. Supports call variables such as\n`{{customer.number}}`, filled in when the skill loads.", + "minLength": 1, + "maxLength": 20000 + }, + "toolNames": { + "nullable": true, + "description": "These are the function names of the assistant tools this skill owns.\nUntil the assistant loads this skill in a conversation, a call to one of\nthem is refused with a note to load the skill first, so the procedure's\nsteps are in front of the model before it acts. A tool that several\nskills list is allowed once any of them is loaded. Leave it empty for a\nskill that only gives instructions.", + "maxItems": 32, + "example": [ + "make_payment" + ], + "type": "array", + "items": { + "type": "string", + "pattern": "^[a-zA-Z0-9_-]{1,64}$" + } + }, + "metadata": { + "type": "object", + "nullable": true, + "description": "This is optional metadata stored with the skill, such as the remaining\nfrontmatter fields of an imported SKILL.md. Vapi stores it as given and\ndoes not read it.", + "additionalProperties": true + } + } + }, + "SkillVersion": { + "type": "object", + "properties": { + "versionName": { + "type": "string", + "nullable": true, + "description": "Optional human-readable label for this version. Pass `null` to clear.", + "maxLength": 80 + }, + "versionDescription": { + "type": "string", + "nullable": true, + "description": "Optional description for this version. Pass `null` to clear.", + "maxLength": 500 + }, + "name": { + "type": "string", + "nullable": true, + "description": "This is the skill name at the time of this version." + }, + "description": { + "type": "string", + "nullable": true, + "description": "This is the skill description at the time of this version." + }, + "content": { + "type": "string", + "nullable": true, + "description": "Markdown instructions loaded into the conversation when the assistant\ncalls the `load_skill` tool. Supports call variables such as\n`{{customer.number}}`, filled in when the skill loads." + }, + "metadata": { + "type": "object", + "nullable": true, + "description": "This is the skill metadata at the time of this version.", + "additionalProperties": true + }, + "toolNames": { + "nullable": true, + "description": "These are the function names of the tools the skill owned at the time of\nthis version.", + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string", + "description": "This is the unique identifier for the version row." + }, + "orgId": { + "type": "string", + "description": "This is the unique identifier for the org that owns this version." + }, + "skillId": { + "type": "string", + "description": "This is the unique identifier for the skill this version was snapshotted from." + }, + "version": { + "type": "string", + "description": "This is the public monotonic version label, e.g. \"v1\".\nSystem-owned and incremented per skill; never user-supplied." + }, + "configHash": { + "type": "string", + "description": "This is the SHA-256 hex of the snapshotted content used for no-op detection." + }, + "parentVersion": { + "type": "string", + "nullable": true, + "description": "This is the prior version label (vN-1). Null on v1 or for branch roots." + }, + "createdBy": { + "type": "string", + "nullable": true, + "description": "This is the actor that wrote this version. Email when created via JWT, null when created via API." + }, + "deletedAt": { + "format": "date-time", + "type": "string", + "nullable": true, + "description": "This is the soft-delete timestamp. Null when active." + }, + "createdAt": { + "format": "date-time", + "type": "string", + "description": "This is the ISO 8601 date-time string of when the version was created." + } + }, + "required": [ + "id", + "orgId", + "skillId", + "version", + "configHash", + "createdAt" + ] + }, + "SkillVersionPaginatedMetadata": { + "type": "object", + "properties": { + "nextCursor": { + "type": "string", + "nullable": true + }, + "hasNextPage": { + "type": "boolean" + }, + "limit": { + "type": "number" + } + }, + "required": [ + "hasNextPage", + "limit" + ] + }, + "SkillVersionPaginatedResponse": { + "type": "object", + "properties": { + "results": { + "type": "array", + "items": { + "$ref": "#/components/schemas/SkillVersion" + } + }, + "metadata": { + "$ref": "#/components/schemas/SkillVersionPaginatedMetadata" + } + }, + "required": [ + "results", + "metadata" + ] + }, + "UpdateSkillVersionMetadataDTO": { + "type": "object", + "properties": { + "versionName": { + "type": "string", + "nullable": true, + "description": "Optional human-readable label for this version. Pass `null` to clear.", + "maxLength": 80 + }, + "versionDescription": { + "type": "string", + "nullable": true, + "description": "Optional description for this version. Pass `null` to clear.", + "maxLength": 500 + } + } + }, "CreateFileDTO": { "type": "object", "properties": { From 8e595536b39c675efa071e7ab258391edcc3c7a8 Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 4 Dec 2026 00:35:03 +0000 Subject: [PATCH 22/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 351 +++++++++++++++++++++++++++++++------ 1 file changed, 301 insertions(+), 50 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index a9a71e00c..99a01e28a 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -11237,6 +11237,22 @@ "en" ] }, + "realtimeUrl": { + "type": "string", + "deprecated": true + }, + "wordBoost": { + "deprecated": true, + "type": "array", + "items": { + "type": "string", + "maxLength": 2500 + } + }, + "endUtteranceSilenceThreshold": { + "type": "number", + "deprecated": true + }, "confidenceThreshold": { "type": "number", "description": "Transcripts below this confidence threshold will be discarded.\n\nDefaults to 0.4 for legacy streaming models. Universal Pro models do not\nfilter by confidence unless this field is explicitly set.", @@ -11281,7 +11297,7 @@ }, "mode": { "type": "string", - "description": "This is the transcription mode used by the Universal Pro speech models. Only applies to `universal-3-5-pro` and `universal-3-6-pro`.\n\n@default 'balanced'", + "description": "This is the transcription mode used by the Universal Pro and AssemblyAI STT 3.7 speech models.\n\n@default 'balanced'", "enum": [ "max_accuracy", "min_latency", @@ -11290,22 +11306,22 @@ }, "prompt": { "type": "string", - "description": "This is a prompt that provides additional context to the transcription model. Only applies to `universal-3-5-pro` and `universal-3-6-pro`.", + "description": "This is a prompt that provides additional context to the transcription model. Only applies to the Universal Pro and AssemblyAI STT 3.7 models.", "maxLength": 1750 }, "agentContext": { "type": "string", - "description": "This is context about the voice agent that guides the transcription model. Only applies to `universal-3-5-pro` and `universal-3-6-pro`.", + "description": "This is context about the voice agent that guides the transcription model. Only applies to the Universal Pro and AssemblyAI STT 3.7 models.", "maxLength": 1750 }, "agentContextAutoUpdateEnabled": { "type": "boolean", - "description": "When true, the text the assistant just spoke is sent to AssemblyAI as `agent_context` after every assistant turn, replacing the previous value, so the user's reply is transcribed in the context of the question it answers.\n`agentContext` still seeds the first turn. Text longer than 1750 characters keeps its last 1750 characters. Turns the user interrupted are not sent when the interruption is detected by voice activity (the default, `stopSpeakingPlan.numWords: 0`).\nOnly applies to `universal-3-5-pro` and `universal-3-6-pro`.\n\n@default false", + "description": "When true, the text the assistant just spoke is sent to AssemblyAI as `agent_context` after every assistant turn, replacing the previous value, so the user's reply is transcribed in the context of the question it answers.\n`agentContext` still seeds the first turn. Text longer than 1750 characters keeps its last 1750 characters. Turns the user interrupted are not sent when the interruption is detected by voice activity (the default, `stopSpeakingPlan.numWords: 0`).\nOnly applies to the Universal Pro and AssemblyAI STT 3.7 models.\n\n@default false", "default": false }, "languageCodes": { "type": "array", - "description": "These are language codes used to steer automatic language detection. Only applies to `universal-3-5-pro` and `universal-3-6-pro`.\n`ur`, `ru`, `ko`, `ca`, `gl`, `ro`, `et`, `fa`, `yue`, `af`, `mr`, `zu`, `xh` and `nn` were added with `universal-3-6-pro`.", + "description": "These are language codes used to steer automatic language detection. Only applies to the Universal Pro and AssemblyAI STT 3.7 models.\n`ur`, `ru`, `ko`, `ca`, `gl`, `ro`, `et`, `fa`, `yue`, `af`, `mr`, `zu`, `xh` and `nn` were added with `universal-3-6-pro`.", "items": { "type": "string", "enum": [ @@ -11346,38 +11362,24 @@ }, "speechModel": { "type": "string", - "description": "This is the speech model used for the streaming session.\nKeyterms prompting is supported on universal-streaming-english, universal-3-5-pro and universal-3-6-pro.\nuniversal-3-6-pro is AssemblyAI's newest and most accurate voice-agent model.\n@default 'universal-streaming-english'", + "description": "This is the speech model used for the streaming session.\nKeyterms prompting is supported on universal-streaming-english, the Universal Pro models, and both AssemblyAI STT 3.7 models.\nassemblyai-stt-3-7-realtime-agent is optimized for voice agents; assemblyai-stt-3-7-realtime is optimized for general real-time transcription.\n@default 'universal-streaming-english'", "enum": [ "universal-streaming-english", "universal-streaming-multilingual", "universal-3-5-pro", - "universal-3-6-pro" + "universal-3-6-pro", + "assemblyai-stt-3-7-realtime-agent", + "assemblyai-stt-3-7-realtime" ] }, - "realtimeUrl": { - "type": "string", - "description": "The WebSocket URL that the transcriber connects to." - }, - "wordBoost": { - "description": "Add up to 2500 characters of custom vocabulary.", - "type": "array", - "items": { - "type": "string", - "maxLength": 2500 - } - }, "keytermsPrompt": { - "description": "Keyterms prompting improves recognition accuracy for specific words and phrases.\nCan include up to 100 keyterms, each up to 50 characters.\nCosts an additional $0.04/hour on universal-streaming-english and is included at no extra cost on the Universal Pro models (universal-3-5-pro, universal-3-6-pro).", + "description": "Keyterms prompting improves recognition accuracy for specific words and phrases.\nCan include up to 100 keyterms, each up to 50 characters.\nCosts an additional $0.04/hour on universal-streaming-english and is included at no extra cost on the Universal Pro and AssemblyAI STT 3.7 models.", "type": "array", "items": { "type": "string", "maxLength": 50 } }, - "endUtteranceSilenceThreshold": { - "type": "number", - "description": "The duration of the end utterance silence threshold in milliseconds." - }, "disablePartialTranscripts": { "type": "boolean", "description": "Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`." @@ -14829,6 +14831,22 @@ "en" ] }, + "realtimeUrl": { + "type": "string", + "deprecated": true + }, + "wordBoost": { + "deprecated": true, + "type": "array", + "items": { + "type": "string", + "maxLength": 2500 + } + }, + "endUtteranceSilenceThreshold": { + "type": "number", + "deprecated": true + }, "confidenceThreshold": { "type": "number", "description": "Transcripts below this confidence threshold will be discarded.\n\nDefaults to 0.4 for legacy streaming models. Universal Pro models do not\nfilter by confidence unless this field is explicitly set.", @@ -14873,7 +14891,7 @@ }, "mode": { "type": "string", - "description": "This is the transcription mode used by the Universal Pro speech models. Only applies to `universal-3-5-pro` and `universal-3-6-pro`.\n\n@default 'balanced'", + "description": "This is the transcription mode used by the Universal Pro and AssemblyAI STT 3.7 speech models.\n\n@default 'balanced'", "enum": [ "max_accuracy", "min_latency", @@ -14882,22 +14900,22 @@ }, "prompt": { "type": "string", - "description": "This is a prompt that provides additional context to the transcription model. Only applies to `universal-3-5-pro` and `universal-3-6-pro`.", + "description": "This is a prompt that provides additional context to the transcription model. Only applies to the Universal Pro and AssemblyAI STT 3.7 models.", "maxLength": 1750 }, "agentContext": { "type": "string", - "description": "This is context about the voice agent that guides the transcription model. Only applies to `universal-3-5-pro` and `universal-3-6-pro`.", + "description": "This is context about the voice agent that guides the transcription model. Only applies to the Universal Pro and AssemblyAI STT 3.7 models.", "maxLength": 1750 }, "agentContextAutoUpdateEnabled": { "type": "boolean", - "description": "When true, the text the assistant just spoke is sent to AssemblyAI as `agent_context` after every assistant turn, replacing the previous value, so the user's reply is transcribed in the context of the question it answers.\n`agentContext` still seeds the first turn. Text longer than 1750 characters keeps its last 1750 characters. Turns the user interrupted are not sent when the interruption is detected by voice activity (the default, `stopSpeakingPlan.numWords: 0`).\nOnly applies to `universal-3-5-pro` and `universal-3-6-pro`.\n\n@default false", + "description": "When true, the text the assistant just spoke is sent to AssemblyAI as `agent_context` after every assistant turn, replacing the previous value, so the user's reply is transcribed in the context of the question it answers.\n`agentContext` still seeds the first turn. Text longer than 1750 characters keeps its last 1750 characters. Turns the user interrupted are not sent when the interruption is detected by voice activity (the default, `stopSpeakingPlan.numWords: 0`).\nOnly applies to the Universal Pro and AssemblyAI STT 3.7 models.\n\n@default false", "default": false }, "languageCodes": { "type": "array", - "description": "These are language codes used to steer automatic language detection. Only applies to `universal-3-5-pro` and `universal-3-6-pro`.\n`ur`, `ru`, `ko`, `ca`, `gl`, `ro`, `et`, `fa`, `yue`, `af`, `mr`, `zu`, `xh` and `nn` were added with `universal-3-6-pro`.", + "description": "These are language codes used to steer automatic language detection. Only applies to the Universal Pro and AssemblyAI STT 3.7 models.\n`ur`, `ru`, `ko`, `ca`, `gl`, `ro`, `et`, `fa`, `yue`, `af`, `mr`, `zu`, `xh` and `nn` were added with `universal-3-6-pro`.", "items": { "type": "string", "enum": [ @@ -14938,38 +14956,24 @@ }, "speechModel": { "type": "string", - "description": "This is the speech model used for the streaming session.\nKeyterms prompting is supported on universal-streaming-english, universal-3-5-pro and universal-3-6-pro.\nuniversal-3-6-pro is AssemblyAI's newest and most accurate voice-agent model.\n@default 'universal-streaming-english'", + "description": "This is the speech model used for the streaming session.\nKeyterms prompting is supported on universal-streaming-english, the Universal Pro models, and both AssemblyAI STT 3.7 models.\nassemblyai-stt-3-7-realtime-agent is optimized for voice agents; assemblyai-stt-3-7-realtime is optimized for general real-time transcription.\n@default 'universal-streaming-english'", "enum": [ "universal-streaming-english", "universal-streaming-multilingual", "universal-3-5-pro", - "universal-3-6-pro" + "universal-3-6-pro", + "assemblyai-stt-3-7-realtime-agent", + "assemblyai-stt-3-7-realtime" ] }, - "realtimeUrl": { - "type": "string", - "description": "The WebSocket URL that the transcriber connects to." - }, - "wordBoost": { - "description": "Add up to 2500 characters of custom vocabulary.", - "type": "array", - "items": { - "type": "string", - "maxLength": 2500 - } - }, "keytermsPrompt": { - "description": "Keyterms prompting improves recognition accuracy for specific words and phrases.\nCan include up to 100 keyterms, each up to 50 characters.\nCosts an additional $0.04/hour on universal-streaming-english and is included at no extra cost on the Universal Pro models (universal-3-5-pro, universal-3-6-pro).", + "description": "Keyterms prompting improves recognition accuracy for specific words and phrases.\nCan include up to 100 keyterms, each up to 50 characters.\nCosts an additional $0.04/hour on universal-streaming-english and is included at no extra cost on the Universal Pro and AssemblyAI STT 3.7 models.", "type": "array", "items": { "type": "string", "maxLength": 50 } }, - "endUtteranceSilenceThreshold": { - "type": "number", - "description": "The duration of the end utterance silence threshold in milliseconds." - }, "disablePartialTranscripts": { "type": "boolean", "description": "Disable partial transcripts.\nSet to `true` to not receive partial transcripts. Defaults to `false`." @@ -21315,6 +21319,10 @@ "$ref": "#/components/schemas/PerplexityAIModel", "title": "PerplexityAI" }, + { + "$ref": "#/components/schemas/PhonicModel", + "title": "Phonic" + }, { "$ref": "#/components/schemas/TogetherAIModel", "title": "Together" @@ -22155,6 +22163,10 @@ "$ref": "#/components/schemas/PerplexityAIModel", "title": "PerplexityAI" }, + { + "$ref": "#/components/schemas/PhonicModel", + "title": "Phonic" + }, { "$ref": "#/components/schemas/TogetherAIModel", "title": "Together" @@ -27321,6 +27333,185 @@ "model" ] }, + "PhonicModel": { + "type": "object", + "properties": { + "messages": { + "description": "This is the starting state for the conversation.", + "type": "array", + "items": { + "$ref": "#/components/schemas/OpenAIMessage" + } + }, + "tools": { + "type": "array", + "description": "These are the tools that the assistant can use during the call. To use existing tools, use `toolIds`.\n\nBoth `tools` and `toolIds` can be used together.", + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/CreateApiRequestToolDTO", + "title": "ApiRequestTool" + }, + { + "$ref": "#/components/schemas/CreateBashToolDTO", + "title": "BashTool" + }, + { + "$ref": "#/components/schemas/CreateCodeToolDTO", + "title": "CodeTool" + }, + { + "$ref": "#/components/schemas/CreateComputerToolDTO", + "title": "ComputerTool" + }, + { + "$ref": "#/components/schemas/CreateDtmfToolDTO", + "title": "DtmfTool" + }, + { + "$ref": "#/components/schemas/CreateEndCallToolDTO", + "title": "EndCallTool" + }, + { + "$ref": "#/components/schemas/CreateFunctionToolDTO", + "title": "FunctionTool" + }, + { + "$ref": "#/components/schemas/CreateGoHighLevelCalendarAvailabilityToolDTO", + "title": "GoHighLevelCalendarAvailabilityTool" + }, + { + "$ref": "#/components/schemas/CreateGoHighLevelCalendarEventCreateToolDTO", + "title": "GoHighLevelCalendarEventCreateTool" + }, + { + "$ref": "#/components/schemas/CreateGoHighLevelContactCreateToolDTO", + "title": "GoHighLevelContactCreateTool" + }, + { + "$ref": "#/components/schemas/CreateGoHighLevelContactGetToolDTO", + "title": "GoHighLevelContactGetTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCheckAvailabilityToolDTO", + "title": "GoogleCalendarCheckAvailabilityTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleCalendarCreateEventToolDTO", + "title": "GoogleCalendarCreateEventTool" + }, + { + "$ref": "#/components/schemas/CreateGoogleSheetsRowAppendToolDTO", + "title": "GoogleSheetsRowAppendTool" + }, + { + "$ref": "#/components/schemas/CreateHandoffToolDTO", + "title": "HandoffTool" + }, + { + "$ref": "#/components/schemas/CreateMcpToolDTO", + "title": "McpTool" + }, + { + "$ref": "#/components/schemas/CreateQueryToolDTO", + "title": "QueryTool" + }, + { + "$ref": "#/components/schemas/CreateSlackSendMessageToolDTO", + "title": "SlackSendMessageTool" + }, + { + "$ref": "#/components/schemas/CreateSmsToolDTO", + "title": "SmsTool" + }, + { + "$ref": "#/components/schemas/CreateTextEditorToolDTO", + "title": "TextEditorTool" + }, + { + "$ref": "#/components/schemas/CreateTransferCallToolDTO", + "title": "TransferCallTool" + }, + { + "$ref": "#/components/schemas/CreateSipRequestToolDTO", + "title": "SipRequestTool" + }, + { + "$ref": "#/components/schemas/CreateVoicemailToolDTO", + "title": "VoicemailTool" + } + ] + } + }, + "toolIds": { + "description": "These are the tools that the assistant can use during the call. To use transient tools, use `tools`.\n\nBoth `tools` and `toolIds` can be used together.", + "type": "array", + "items": { + "type": "string" + } + }, + "toolRefs": { + "description": "These are version-pinned references to tools. Each entry pins a specific\nversion of a tool by `(toolId, version)`. When the same `toolId` appears\nin both `toolIds` and `toolRefs[]`, the `toolRefs` pin wins (the\n`toolIds` entry is dropped at write time).", + "type": "array", + "items": { + "$ref": "#/components/schemas/ToolRef" + } + }, + "knowledgeBase": { + "description": "These are the options for the knowledge base.", + "oneOf": [ + { + "$ref": "#/components/schemas/CreateCustomKnowledgeBaseDTO", + "title": "Custom" + } + ] + }, + "provider": { + "type": "string", + "enum": [ + "phonic" + ] + }, + "model": { + "type": "string", + "description": "This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b", + "default": "phonic-1.1", + "enum": [ + "phonic-1.1", + "phonic-1" + ] + }, + "voiceId": { + "type": "string", + "maxLength": 128, + "description": "Phonic voice ID. Defaults to the Phonic account default." + }, + "temperature": { + "type": "number", + "description": "This is the temperature that will be used for calls. Default is 0.5.", + "minimum": 0, + "maximum": 2 + }, + "maxTokens": { + "type": "number", + "description": "This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. On gpt-6-luna and claude-haiku-5-5 no cap is applied unless you set one (claude-haiku-5-5 sends its 128,000-token maximum), because reasoning uses output tokens and a small cap can leave the reply empty.", + "minimum": 50, + "maximum": 10000 + }, + "emotionRecognitionEnabled": { + "type": "boolean", + "description": "This determines whether we detect user's emotion while they speak and send it as an additional info to model.\n\nDefault `false` because the model is usually are good at understanding the user's emotion from text.\n\n@default false" + }, + "numFastTurns": { + "type": "number", + "description": "This sets how many turns at the start of the conversation to use a smaller, faster model from the same provider before switching to the primary model. Example, gpt-3.5-turbo if provider is openai.\n\nDefault is 0.\n\n@default 0", + "minimum": 0 + } + }, + "required": [ + "provider" + ] + }, "TogetherAIModel": { "type": "object", "properties": { @@ -30327,7 +30518,8 @@ "grok-4-fast-non-reasoning", "grok-4.20-0309-reasoning", "grok-4.20-0309-non-reasoning", - "grok-4.3" + "grok-4.3", + "grok-voice-3.0" ] }, "provider": { @@ -37990,6 +38182,10 @@ "$ref": "#/components/schemas/PerplexityAIModel", "title": "PerplexityAI" }, + { + "$ref": "#/components/schemas/PhonicModel", + "title": "Phonic" + }, { "$ref": "#/components/schemas/TogetherAIModel", "title": "Together" @@ -38981,6 +39177,10 @@ "$ref": "#/components/schemas/PerplexityAIModel", "title": "PerplexityAI" }, + { + "$ref": "#/components/schemas/PhonicModel", + "title": "Phonic" + }, { "$ref": "#/components/schemas/TogetherAIModel", "title": "Together" @@ -39929,6 +40129,10 @@ "$ref": "#/components/schemas/PerplexityAIModel", "title": "PerplexityAI" }, + { + "$ref": "#/components/schemas/PhonicModel", + "title": "Phonic" + }, { "$ref": "#/components/schemas/TogetherAIModel", "title": "Together" @@ -40982,6 +41186,10 @@ "$ref": "#/components/schemas/PerplexityAIModel", "title": "PerplexityAI" }, + { + "$ref": "#/components/schemas/PhonicModel", + "title": "Phonic" + }, { "$ref": "#/components/schemas/TogetherAIModel", "title": "Together" @@ -42017,6 +42225,10 @@ "$ref": "#/components/schemas/PerplexityAIModel", "title": "PerplexityAI" }, + { + "$ref": "#/components/schemas/PhonicModel", + "title": "Phonic" + }, { "$ref": "#/components/schemas/TogetherAIModel", "title": "Together" @@ -43053,6 +43265,10 @@ "$ref": "#/components/schemas/PerplexityAIModel", "title": "PerplexityAI" }, + { + "$ref": "#/components/schemas/PhonicModel", + "title": "Phonic" + }, { "$ref": "#/components/schemas/TogetherAIModel", "title": "Together" @@ -43982,6 +44198,10 @@ "$ref": "#/components/schemas/PerplexityAIModel", "title": "PerplexityAI" }, + { + "$ref": "#/components/schemas/PhonicModel", + "title": "Phonic" + }, { "$ref": "#/components/schemas/TogetherAIModel", "title": "Together" @@ -44887,6 +45107,10 @@ "$ref": "#/components/schemas/PerplexityAIModel", "title": "PerplexityAI" }, + { + "$ref": "#/components/schemas/PhonicModel", + "title": "Phonic" + }, { "$ref": "#/components/schemas/TogetherAIModel", "title": "Together" @@ -48163,6 +48387,13 @@ "UserMessageMetadata": { "type": "object", "properties": { + "detectedLanguages": { + "description": "Distinct language codes reported by the transcriber for this message's\nfinal transcript fragments, in first-reported order. Absent when the\ntranscriber did not report a language. Does not include configured defaults.", + "type": "array", + "items": { + "type": "string" + } + }, "wordLevelConfidence": { "description": "Per-word confidence scores from the transcriber. After consecutive\ntranscript fragments are merged into one message the list covers the whole\nmerged message, or is absent when any fragment lacked word scores.", "type": "array", @@ -48556,7 +48787,7 @@ }, "seconds": { "type": "number", - "description": "Provider-reported billable duration in seconds. Currently supplied for GPT-Live; omitted for token-billed models." + "description": "Billable duration in seconds for minute-billed realtime models (GPT-Live and Phonic); omitted for token-billed models." }, "usageComplete": { "type": "boolean", @@ -50300,6 +50531,8 @@ "call.in-progress.error-vapifault-google-429-exceeded-quota", "call.in-progress.error-providerfault-google-500-server-error", "call.in-progress.error-providerfault-google-503-server-overloaded-error", + "call.in-progress.error-vapifault-phonic-not-available", + "call.in-progress.error-providerfault-phonic-realtime-failed", "pipeline-error-xai-400-bad-request-validation-failed", "pipeline-error-xai-401-unauthorized", "pipeline-error-xai-403-model-access-denied", @@ -83571,6 +83804,13 @@ "transcript[transcriptType=\"final\"]" ] }, + "detectedLanguages": { + "description": "Distinct language codes reported by the transcriber for a final caller\ntranscript, in first-reported order. Absent if the transcriber did not\nreport a language. Does not include configured defaults.", + "type": "array", + "items": { + "type": "string" + } + }, "timestamp": { "type": "number", "description": "This is the timestamp of the message." @@ -85541,6 +85781,8 @@ "call.in-progress.error-vapifault-google-429-exceeded-quota", "call.in-progress.error-providerfault-google-500-server-error", "call.in-progress.error-providerfault-google-503-server-overloaded-error", + "call.in-progress.error-vapifault-phonic-not-available", + "call.in-progress.error-providerfault-phonic-realtime-failed", "pipeline-error-xai-400-bad-request-validation-failed", "pipeline-error-xai-401-unauthorized", "pipeline-error-xai-403-model-access-denied", @@ -87033,6 +87275,8 @@ "call.in-progress.error-vapifault-google-429-exceeded-quota", "call.in-progress.error-providerfault-google-500-server-error", "call.in-progress.error-providerfault-google-503-server-overloaded-error", + "call.in-progress.error-vapifault-phonic-not-available", + "call.in-progress.error-providerfault-phonic-realtime-failed", "pipeline-error-xai-400-bad-request-validation-failed", "pipeline-error-xai-401-unauthorized", "pipeline-error-xai-403-model-access-denied", @@ -87971,6 +88215,13 @@ "transcript[transcriptType=\"final\"]" ] }, + "detectedLanguages": { + "description": "Distinct language codes reported by the transcriber for a final caller\ntranscript, in first-reported order. Absent if the transcriber did not\nreport a language. Does not include configured defaults.", + "type": "array", + "items": { + "type": "string" + } + }, "timestamp": { "type": "number", "description": "This is the timestamp of the message." From 3a3f2df818090a85c5b1cd2e286804a081226ff6 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sat, 5 Dec 2026 00:23:53 +0000 Subject: [PATCH 23/23] Update API specifications with fern api update --- fern/apis/api/openapi.json | 347 ++++++++++++++++++++++++++++++++++++- 1 file changed, 345 insertions(+), 2 deletions(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 99a01e28a..56c615bfd 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -12249,6 +12249,14 @@ } ] }, + "commitStrategy": { + "type": "string", + "description": "How ElevenLabs commits transcripts. Defaults to turn_prediction for scribe_v3_live and vad for other models.\nturn_prediction lets ElevenLabs' turn model decide the end of a turn (scribe_v3_live only).\nVAD parameters still apply as a silence fallback with turn_prediction.\nAn explicit startSpeakingPlan.smartEndpointingPlan or enabled legacy smartEndpointingEnabled takes precedence over native turn endpointing.\nWhen native turn endpointing is active, startSpeakingPlan.customEndpointingRules and transcriptionEndpointingPlan delays are bypassed.\nMember/squad overrides inherit the model; if the effective model is not scribe_v3_live, an inherited native strategy is normalized to vad.", + "enum": [ + "vad", + "turn_prediction" + ] + }, "language": { "type": "string", "description": "Language for transcription. `multi` enables automatic code-switching on scribe_v3_live.", @@ -15712,6 +15720,14 @@ } ] }, + "commitStrategy": { + "type": "string", + "description": "How ElevenLabs commits transcripts. Defaults to turn_prediction for scribe_v3_live and vad for other models.\nturn_prediction lets ElevenLabs' turn model decide the end of a turn (scribe_v3_live only).\nVAD parameters still apply as a silence fallback with turn_prediction.\nAn explicit startSpeakingPlan.smartEndpointingPlan or enabled legacy smartEndpointingEnabled takes precedence over native turn endpointing.\nWhen native turn endpointing is active, startSpeakingPlan.customEndpointingRules and transcriptionEndpointingPlan delays are bypassed.\nMember/squad overrides inherit the model; if the effective model is not scribe_v3_live, an inherited native strategy is normalized to vad.", + "enum": [ + "vad", + "turn_prediction" + ] + }, "language": { "type": "string", "description": "Language for transcription. `multi` enables automatic code-switching on scribe_v3_live.", @@ -21747,6 +21763,10 @@ "$ref": "#/components/schemas/CreateGoHighLevelCredentialDTO", "title": "GhlCredential" }, + { + "$ref": "#/components/schemas/CreateGoogleVertexCredentialDTO", + "title": "GoogleVertexCredential" + }, { "$ref": "#/components/schemas/CreateGoogleCredentialDTO", "title": "GoogleCredential" @@ -21929,6 +21949,7 @@ "gcp": "#/components/schemas/CreateGcpCredentialDTO", "gladia": "#/components/schemas/CreateGladiaCredentialDTO", "gohighlevel": "#/components/schemas/CreateGoHighLevelCredentialDTO", + "google-vertex": "#/components/schemas/CreateGoogleVertexCredentialDTO", "google": "#/components/schemas/CreateGoogleCredentialDTO", "groq": "#/components/schemas/CreateGroqCredentialDTO", "inflection-ai": "#/components/schemas/CreateInflectionAICredentialDTO", @@ -22591,6 +22612,10 @@ "$ref": "#/components/schemas/CreateGoHighLevelCredentialDTO", "title": "GhlCredential" }, + { + "$ref": "#/components/schemas/CreateGoogleVertexCredentialDTO", + "title": "GoogleVertexCredential" + }, { "$ref": "#/components/schemas/CreateGoogleCredentialDTO", "title": "GoogleCredential" @@ -22773,6 +22798,7 @@ "gcp": "#/components/schemas/CreateGcpCredentialDTO", "gladia": "#/components/schemas/CreateGladiaCredentialDTO", "gohighlevel": "#/components/schemas/CreateGoHighLevelCredentialDTO", + "google-vertex": "#/components/schemas/CreateGoogleVertexCredentialDTO", "google": "#/components/schemas/CreateGoogleCredentialDTO", "groq": "#/components/schemas/CreateGroqCredentialDTO", "inflection-ai": "#/components/schemas/CreateInflectionAICredentialDTO", @@ -26747,7 +26773,8 @@ "gpt-5.4-mini:australiaeast", "gpt-5.6-luna:australiaeast", "gpt-6-luna:australiaeast", - "gpt-live-1" + "gpt-live-1", + "gpt-live-1.1" ] }, "fallbackModels": { @@ -29834,6 +29861,10 @@ "$ref": "#/components/schemas/CreateGoHighLevelCredentialDTO", "title": "GhlCredential" }, + { + "$ref": "#/components/schemas/CreateGoogleVertexCredentialDTO", + "title": "GoogleVertexCredential" + }, { "$ref": "#/components/schemas/CreateGoogleCredentialDTO", "title": "GoogleCredential" @@ -30016,6 +30047,7 @@ "gcp": "#/components/schemas/CreateGcpCredentialDTO", "gladia": "#/components/schemas/CreateGladiaCredentialDTO", "gohighlevel": "#/components/schemas/CreateGoHighLevelCredentialDTO", + "google-vertex": "#/components/schemas/CreateGoogleVertexCredentialDTO", "google": "#/components/schemas/CreateGoogleCredentialDTO", "groq": "#/components/schemas/CreateGroqCredentialDTO", "inflection-ai": "#/components/schemas/CreateInflectionAICredentialDTO", @@ -36320,6 +36352,7 @@ "type": "string", "description": "This is the model the deployment serves. It must be one of the credential's `models`.", "enum": [ + "gpt-6-sol", "gpt-6-luna", "gpt-6-luna-2026-09-22", "gpt-5.6-luna-2026-07-09", @@ -36409,6 +36442,7 @@ "models": { "type": "array", "enum": [ + "gpt-6-sol", "gpt-6-luna", "gpt-6-luna-2026-09-22", "gpt-5.6-luna-2026-07-09", @@ -36449,6 +36483,7 @@ "items": { "type": "string", "enum": [ + "gpt-6-sol", "gpt-6-luna", "gpt-6-luna-2026-09-22", "gpt-5.6-luna-2026-07-09", @@ -38610,6 +38645,10 @@ "$ref": "#/components/schemas/CreateGoHighLevelCredentialDTO", "title": "GhlCredential" }, + { + "$ref": "#/components/schemas/CreateGoogleVertexCredentialDTO", + "title": "GoogleVertexCredential" + }, { "$ref": "#/components/schemas/CreateGoogleCredentialDTO", "title": "GoogleCredential" @@ -38792,6 +38831,7 @@ "gcp": "#/components/schemas/CreateGcpCredentialDTO", "gladia": "#/components/schemas/CreateGladiaCredentialDTO", "gohighlevel": "#/components/schemas/CreateGoHighLevelCredentialDTO", + "google-vertex": "#/components/schemas/CreateGoogleVertexCredentialDTO", "google": "#/components/schemas/CreateGoogleCredentialDTO", "groq": "#/components/schemas/CreateGroqCredentialDTO", "inflection-ai": "#/components/schemas/CreateInflectionAICredentialDTO", @@ -39605,6 +39645,10 @@ "$ref": "#/components/schemas/CreateGoHighLevelCredentialDTO", "title": "GhlCredential" }, + { + "$ref": "#/components/schemas/CreateGoogleVertexCredentialDTO", + "title": "GoogleVertexCredential" + }, { "$ref": "#/components/schemas/CreateGoogleCredentialDTO", "title": "GoogleCredential" @@ -39787,6 +39831,7 @@ "gcp": "#/components/schemas/CreateGcpCredentialDTO", "gladia": "#/components/schemas/CreateGladiaCredentialDTO", "gohighlevel": "#/components/schemas/CreateGoHighLevelCredentialDTO", + "google-vertex": "#/components/schemas/CreateGoogleVertexCredentialDTO", "google": "#/components/schemas/CreateGoogleCredentialDTO", "groq": "#/components/schemas/CreateGroqCredentialDTO", "inflection-ai": "#/components/schemas/CreateInflectionAICredentialDTO", @@ -40557,6 +40602,10 @@ "$ref": "#/components/schemas/CreateGoHighLevelCredentialDTO", "title": "GhlCredential" }, + { + "$ref": "#/components/schemas/CreateGoogleVertexCredentialDTO", + "title": "GoogleVertexCredential" + }, { "$ref": "#/components/schemas/CreateGoogleCredentialDTO", "title": "GoogleCredential" @@ -40739,6 +40788,7 @@ "gcp": "#/components/schemas/CreateGcpCredentialDTO", "gladia": "#/components/schemas/CreateGladiaCredentialDTO", "gohighlevel": "#/components/schemas/CreateGoHighLevelCredentialDTO", + "google-vertex": "#/components/schemas/CreateGoogleVertexCredentialDTO", "google": "#/components/schemas/CreateGoogleCredentialDTO", "groq": "#/components/schemas/CreateGroqCredentialDTO", "inflection-ai": "#/components/schemas/CreateInflectionAICredentialDTO", @@ -41614,6 +41664,10 @@ "$ref": "#/components/schemas/CreateGoHighLevelCredentialDTO", "title": "GhlCredential" }, + { + "$ref": "#/components/schemas/CreateGoogleVertexCredentialDTO", + "title": "GoogleVertexCredential" + }, { "$ref": "#/components/schemas/CreateGoogleCredentialDTO", "title": "GoogleCredential" @@ -41796,6 +41850,7 @@ "gcp": "#/components/schemas/CreateGcpCredentialDTO", "gladia": "#/components/schemas/CreateGladiaCredentialDTO", "gohighlevel": "#/components/schemas/CreateGoHighLevelCredentialDTO", + "google-vertex": "#/components/schemas/CreateGoogleVertexCredentialDTO", "google": "#/components/schemas/CreateGoogleCredentialDTO", "groq": "#/components/schemas/CreateGroqCredentialDTO", "inflection-ai": "#/components/schemas/CreateInflectionAICredentialDTO", @@ -42653,6 +42708,10 @@ "$ref": "#/components/schemas/CreateGoHighLevelCredentialDTO", "title": "GhlCredential" }, + { + "$ref": "#/components/schemas/CreateGoogleVertexCredentialDTO", + "title": "GoogleVertexCredential" + }, { "$ref": "#/components/schemas/CreateGoogleCredentialDTO", "title": "GoogleCredential" @@ -42835,6 +42894,7 @@ "gcp": "#/components/schemas/CreateGcpCredentialDTO", "gladia": "#/components/schemas/CreateGladiaCredentialDTO", "gohighlevel": "#/components/schemas/CreateGoHighLevelCredentialDTO", + "google-vertex": "#/components/schemas/CreateGoogleVertexCredentialDTO", "google": "#/components/schemas/CreateGoogleCredentialDTO", "groq": "#/components/schemas/CreateGroqCredentialDTO", "inflection-ai": "#/components/schemas/CreateInflectionAICredentialDTO", @@ -43693,6 +43753,10 @@ "$ref": "#/components/schemas/CreateGoHighLevelCredentialDTO", "title": "GhlCredential" }, + { + "$ref": "#/components/schemas/CreateGoogleVertexCredentialDTO", + "title": "GoogleVertexCredential" + }, { "$ref": "#/components/schemas/CreateGoogleCredentialDTO", "title": "GoogleCredential" @@ -43875,6 +43939,7 @@ "gcp": "#/components/schemas/CreateGcpCredentialDTO", "gladia": "#/components/schemas/CreateGladiaCredentialDTO", "gohighlevel": "#/components/schemas/CreateGoHighLevelCredentialDTO", + "google-vertex": "#/components/schemas/CreateGoogleVertexCredentialDTO", "google": "#/components/schemas/CreateGoogleCredentialDTO", "groq": "#/components/schemas/CreateGroqCredentialDTO", "inflection-ai": "#/components/schemas/CreateInflectionAICredentialDTO", @@ -44626,6 +44691,10 @@ "$ref": "#/components/schemas/CreateGoHighLevelCredentialDTO", "title": "GhlCredential" }, + { + "$ref": "#/components/schemas/CreateGoogleVertexCredentialDTO", + "title": "GoogleVertexCredential" + }, { "$ref": "#/components/schemas/CreateGoogleCredentialDTO", "title": "GoogleCredential" @@ -44808,6 +44877,7 @@ "gcp": "#/components/schemas/CreateGcpCredentialDTO", "gladia": "#/components/schemas/CreateGladiaCredentialDTO", "gohighlevel": "#/components/schemas/CreateGoHighLevelCredentialDTO", + "google-vertex": "#/components/schemas/CreateGoogleVertexCredentialDTO", "google": "#/components/schemas/CreateGoogleCredentialDTO", "groq": "#/components/schemas/CreateGroqCredentialDTO", "inflection-ai": "#/components/schemas/CreateInflectionAICredentialDTO", @@ -45535,6 +45605,10 @@ "$ref": "#/components/schemas/CreateGoHighLevelCredentialDTO", "title": "GhlCredential" }, + { + "$ref": "#/components/schemas/CreateGoogleVertexCredentialDTO", + "title": "GoogleVertexCredential" + }, { "$ref": "#/components/schemas/CreateGoogleCredentialDTO", "title": "GoogleCredential" @@ -45717,6 +45791,7 @@ "gcp": "#/components/schemas/CreateGcpCredentialDTO", "gladia": "#/components/schemas/CreateGladiaCredentialDTO", "gohighlevel": "#/components/schemas/CreateGoHighLevelCredentialDTO", + "google-vertex": "#/components/schemas/CreateGoogleVertexCredentialDTO", "google": "#/components/schemas/CreateGoogleCredentialDTO", "groq": "#/components/schemas/CreateGroqCredentialDTO", "inflection-ai": "#/components/schemas/CreateInflectionAICredentialDTO", @@ -46557,6 +46632,10 @@ "$ref": "#/components/schemas/CreateGoHighLevelCredentialDTO", "title": "GhlCredential" }, + { + "$ref": "#/components/schemas/CreateGoogleVertexCredentialDTO", + "title": "GoogleVertexCredential" + }, { "$ref": "#/components/schemas/CreateGoogleCredentialDTO", "title": "GoogleCredential" @@ -46739,6 +46818,7 @@ "gcp": "#/components/schemas/CreateGcpCredentialDTO", "gladia": "#/components/schemas/CreateGladiaCredentialDTO", "gohighlevel": "#/components/schemas/CreateGoHighLevelCredentialDTO", + "google-vertex": "#/components/schemas/CreateGoogleVertexCredentialDTO", "google": "#/components/schemas/CreateGoogleCredentialDTO", "groq": "#/components/schemas/CreateGroqCredentialDTO", "inflection-ai": "#/components/schemas/CreateInflectionAICredentialDTO", @@ -47270,6 +47350,10 @@ "$ref": "#/components/schemas/CreateGoHighLevelCredentialDTO", "title": "GhlCredential" }, + { + "$ref": "#/components/schemas/CreateGoogleVertexCredentialDTO", + "title": "GoogleVertexCredential" + }, { "$ref": "#/components/schemas/CreateGoogleCredentialDTO", "title": "GoogleCredential" @@ -47452,6 +47536,7 @@ "gcp": "#/components/schemas/CreateGcpCredentialDTO", "gladia": "#/components/schemas/CreateGladiaCredentialDTO", "gohighlevel": "#/components/schemas/CreateGoHighLevelCredentialDTO", + "google-vertex": "#/components/schemas/CreateGoogleVertexCredentialDTO", "google": "#/components/schemas/CreateGoogleCredentialDTO", "groq": "#/components/schemas/CreateGroqCredentialDTO", "inflection-ai": "#/components/schemas/CreateInflectionAICredentialDTO", @@ -47965,6 +48050,10 @@ "$ref": "#/components/schemas/CreateGoHighLevelCredentialDTO", "title": "GhlCredential" }, + { + "$ref": "#/components/schemas/CreateGoogleVertexCredentialDTO", + "title": "GoogleVertexCredential" + }, { "$ref": "#/components/schemas/CreateGoogleCredentialDTO", "title": "GoogleCredential" @@ -48147,6 +48236,7 @@ "gcp": "#/components/schemas/CreateGcpCredentialDTO", "gladia": "#/components/schemas/CreateGladiaCredentialDTO", "gohighlevel": "#/components/schemas/CreateGoHighLevelCredentialDTO", + "google-vertex": "#/components/schemas/CreateGoogleVertexCredentialDTO", "google": "#/components/schemas/CreateGoogleCredentialDTO", "groq": "#/components/schemas/CreateGroqCredentialDTO", "inflection-ai": "#/components/schemas/CreateInflectionAICredentialDTO", @@ -48795,7 +48885,7 @@ }, "model": { "type": "object", - "description": "This is the model that was used during the call.\n\nThis matches one of the following:\n- `call.assistant.model`,\n- `call.assistantId->model`,\n- `call.squad[n].assistant.model`,\n- `call.squad[n].assistantId->model`,\n- `call.squadId->[n].assistant.model`,\n- `call.squadId->[n].assistantId->model`." + "description": "This is the model that was used during the call.\n\nWhen the cost is attributed to the configured assistant model, it matches\none of the following:\n- `call.assistant.model`,\n- `call.assistantId->model`,\n- `call.squad[n].assistant.model`,\n- `call.squad[n].assistantId->model`,\n- `call.squadId->[n].assistant.model`,\n- `call.squadId->[n].assistantId->model`.\n\nGPT-Live reports the provider-selected model when available, otherwise the\ncheckpoint requested at session startup. This can differ from the assistant model." }, "promptTokens": { "type": "number", @@ -49799,9 +49889,142 @@ "assistantName" ] }, + "GptLiveReasonerStepLatency": { + "type": "object", + "properties": { + "outcome": { + "type": "string", + "enum": [ + "completed", + "error", + "cancelled", + "unknown", + "incomplete" + ] + }, + "round": { + "type": "number" + }, + "attempt": { + "type": "number" + }, + "durationMs": { + "type": "number" + } + }, + "required": [ + "outcome", + "round", + "attempt" + ] + }, + "GptLiveToolLatency": { + "type": "object", + "properties": { + "outcome": { + "type": "string", + "enum": [ + "completed", + "error", + "cancelled", + "unknown", + "incomplete" + ] + }, + "id": { + "type": "string" + }, + "durationMs": { + "type": "number" + } + }, + "required": [ + "outcome", + "id" + ] + }, + "GptLiveHandoffLatency": { + "type": "object", + "properties": { + "outcome": { + "type": "string", + "enum": [ + "completed", + "error", + "cancelled", + "unknown", + "incomplete" + ] + }, + "reasonerSteps": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GptLiveReasonerStepLatency" + } + }, + "toolCalls": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GptLiveToolLatency" + } + }, + "id": { + "type": "string" + }, + "durationMs": { + "type": "number" + } + }, + "required": [ + "outcome", + "reasonerSteps", + "toolCalls", + "id" + ] + }, + "GptLiveLatencyMetrics": { + "type": "object", + "properties": { + "unmatchedHandoffs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GptLiveHandoffLatency" + } + }, + "handoffLatencyAverage": { + "type": "number" + }, + "reasonerStepLatencyAverage": { + "type": "number" + }, + "toolLatencyAverage": { + "type": "number" + } + }, + "required": [ + "unmatchedHandoffs" + ] + }, + "GptLiveTurnLatency": { + "type": "object", + "properties": { + "handoffs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/GptLiveHandoffLatency" + } + } + }, + "required": [ + "handoffs" + ] + }, "TurnLatency": { "type": "object", "properties": { + "gptLive": { + "$ref": "#/components/schemas/GptLiveTurnLatency" + }, "unmeasured": { "type": "array", "description": "These are the latency components that were not measured on this turn. A listed component's latency field is not a real measurement: it usually reads 0, which here means \"not measured\", not 0ms, but a `transcriber` value measured from a speech start keeps its nonzero value. Drop listed components when aggregating. Omitted when every component was measured.\n\n- `transcriber`: no VAD speech marker for the turn, the sample was dropped as stale, the VAD missed this utterance (its newest marker was already used by an earlier turn), the transcript's time predates this utterance, or the VAD had still not flagged the end of speech when the reply started, including when the user kept talking after a tentative stop (the value is then measured from a speech start, or from the stop the user talked through).\n- `endpointing`: no user transcript was committed this turn (for example the first message, or a tool-result turn), or the transcript's time predates this utterance (carried over from an earlier one).\n- `model`: the model sent no output token this turn (for example a static message).\n- `voice`: no voice timing from model output this turn.", @@ -49846,6 +50069,9 @@ "PerformanceMetrics": { "type": "object", "properties": { + "gptLive": { + "$ref": "#/components/schemas/GptLiveLatencyMetrics" + }, "turnLatencies": { "description": "These are the individual latencies for each turn, in milliseconds, measured on Vapi's servers without network or playback time.\nA turn is recorded only when the assistant replies to the user. A first message the assistant speaks first is not recorded; with `assistant-waits-for-user` it is recorded, with `endpointingLatency` 0. A component that was not measured on a turn is 0.", "type": "array", @@ -50334,6 +50560,7 @@ "call.in-progress.error-vapifault-assistant-handoff-start-failed", "call.start.error-vapifault-database-error", "assistant-not-found", + "call.in-progress.error-vapifault-vapi-transcriber-retired-model", "pipeline-error-openai-voice-failed", "pipeline-error-cartesia-voice-failed", "pipeline-error-deepgram-voice-failed", @@ -70811,6 +71038,9 @@ "column": { "type": "string", "enum": [ + "averageGptLiveHandoffLatency", + "averageGptLiveReasonerStepLatency", + "averageGptLiveToolLatency", "cost", "duration", "averageModelLatency", @@ -75619,6 +75849,7 @@ "models": { "type": "array", "enum": [ + "gpt-6-sol", "gpt-6-luna", "gpt-6-luna-2026-09-22", "gpt-5.6-luna-2026-07-09", @@ -75659,6 +75890,7 @@ "items": { "type": "string", "enum": [ + "gpt-6-sol", "gpt-6-luna", "gpt-6-luna-2026-09-22", "gpt-5.6-luna-2026-07-09", @@ -76481,6 +76713,58 @@ "updatedAt" ] }, + "GoogleVertexCredential": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "enum": [ + "google-vertex" + ] + }, + "apiKey": { + "type": "string", + "description": "Principal-bound Vertex authorization API key. This is not returned in the API." + }, + "projectId": { + "type": "string", + "description": "Target Google Cloud project ID for regional Vertex inference." + }, + "id": { + "type": "string", + "description": "This is the unique identifier for the credential." + }, + "orgId": { + "type": "string", + "description": "This is the unique identifier for the org that this credential belongs to." + }, + "createdAt": { + "format": "date-time", + "type": "string", + "description": "This is the ISO 8601 date-time string of when the credential was created." + }, + "updatedAt": { + "format": "date-time", + "type": "string", + "description": "This is the ISO 8601 date-time string of when the assistant was last updated." + }, + "name": { + "type": "string", + "description": "This is the name of credential. This is just for your reference.", + "minLength": 1, + "maxLength": 40 + } + }, + "required": [ + "provider", + "apiKey", + "projectId", + "id", + "orgId", + "createdAt", + "updatedAt" + ] + }, "GroqCredential": { "type": "object", "properties": { @@ -78609,6 +78893,36 @@ "apiKey" ] }, + "CreateGoogleVertexCredentialDTO": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "enum": [ + "google-vertex" + ] + }, + "apiKey": { + "type": "string", + "description": "Principal-bound Vertex authorization API key. This is not returned in the API." + }, + "projectId": { + "type": "string", + "description": "Target Google Cloud project ID for regional Vertex inference." + }, + "name": { + "type": "string", + "description": "This is the name of credential. This is just for your reference.", + "minLength": 1, + "maxLength": 40 + } + }, + "required": [ + "provider", + "apiKey", + "projectId" + ] + }, "CreateHumeCredentialDTO": { "type": "object", "properties": { @@ -79271,6 +79585,7 @@ "models": { "type": "array", "enum": [ + "gpt-6-sol", "gpt-6-luna", "gpt-6-luna-2026-09-22", "gpt-5.6-luna-2026-07-09", @@ -79311,6 +79626,7 @@ "items": { "type": "string", "enum": [ + "gpt-6-sol", "gpt-6-luna", "gpt-6-luna-2026-09-22", "gpt-5.6-luna-2026-07-09", @@ -79742,6 +80058,31 @@ } } }, + "UpdateGoogleVertexCredentialDTO": { + "type": "object", + "properties": { + "provider": { + "type": "string", + "enum": [ + "google-vertex" + ] + }, + "apiKey": { + "type": "string", + "description": "Principal-bound Vertex authorization API key. This is not returned in the API." + }, + "projectId": { + "type": "string", + "description": "Target Google Cloud project ID for regional Vertex inference." + }, + "name": { + "type": "string", + "description": "This is the name of credential. This is just for your reference.", + "minLength": 1, + "maxLength": 40 + } + } + }, "UpdateGroqCredentialDTO": { "type": "object", "properties": { @@ -85584,6 +85925,7 @@ "call.in-progress.error-vapifault-assistant-handoff-start-failed", "call.start.error-vapifault-database-error", "assistant-not-found", + "call.in-progress.error-vapifault-vapi-transcriber-retired-model", "pipeline-error-openai-voice-failed", "pipeline-error-cartesia-voice-failed", "pipeline-error-deepgram-voice-failed", @@ -87078,6 +87420,7 @@ "call.in-progress.error-vapifault-assistant-handoff-start-failed", "call.start.error-vapifault-database-error", "assistant-not-found", + "call.in-progress.error-vapifault-vapi-transcriber-retired-model", "pipeline-error-openai-voice-failed", "pipeline-error-cartesia-voice-failed", "pipeline-error-deepgram-voice-failed",