diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 83437602f..1f87375f7 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -7959,6 +7959,33 @@ ] } }, + "/eval/simulation/concurrency": { + "get": { + "operationId": "SimulationController_getConcurrency", + "summary": "Get Simulation Concurrency", + "parameters": [], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SimulationConcurrencyResponse" + } + } + } + } + }, + "tags": [ + "Simulations" + ], + "security": [ + { + "bearer": [] + } + ] + } + }, "/eval/simulation/{id}": { "get": { "operationId": "SimulationController_findOne", @@ -8079,33 +8106,6 @@ ] } }, - "/eval/simulation/concurrency": { - "get": { - "operationId": "SimulationController_getConcurrency", - "summary": "Get Simulation Concurrency", - "parameters": [], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SimulationConcurrencyResponse" - } - } - } - } - }, - "tags": [ - "Simulations" - ], - "security": [ - { - "bearer": [] - } - ] - } - }, "/reporting/insight": { "post": { "operationId": "InsightController_create", @@ -12680,6 +12680,13 @@ "$ref": "#/components/schemas/SonioxContextGeneralItem" } }, + "confidenceThreshold": { + "type": "number", + "minimum": 0, + "maximum": 1, + "example": 0.4, + "description": "Transcripts below this confidence are discarded. For a discarded final, an `assistant.transcriber.endpointedSpeechLowConfidence` hook whose range covers the confidence runs (by default `[threshold - 0.2, threshold)`); if none does, the assistant does not respond to that utterance. Confidence is the mean of the per-token scores, and a transcript with an unscored token counts as 1. When unset, nothing is discarded by this setting." + }, "fallbackPlan": { "description": "This is the plan for transcriber provider fallbacks in the event that the primary transcriber provider fails.", "allOf": [ @@ -15772,6 +15779,13 @@ "items": { "$ref": "#/components/schemas/SonioxContextGeneralItem" } + }, + "confidenceThreshold": { + "type": "number", + "minimum": 0, + "maximum": 1, + "example": 0.4, + "description": "Transcripts below this confidence are discarded. For a discarded final, an `assistant.transcriber.endpointedSpeechLowConfidence` hook whose range covers the confidence runs (by default `[threshold - 0.2, threshold)`); if none does, the assistant does not respond to that utterance. Confidence is the mean of the per-token scores, and a transcript with an unscored token counts as 1. When unset, nothing is discarded by this setting." } }, "required": [ @@ -21915,6 +21929,70 @@ } } }, + "OpenAIReasonerSkill": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Unique name within this assistant.", + "maxLength": 64, + "pattern": "/^[a-z][a-z0-9_-]*$/" + }, + "description": { + "type": "string", + "description": "Explain when the reasoner should load this skill. Always visible in its catalog.", + "maxLength": 1024, + "pattern": "/\\S/" + }, + "content": { + "type": "string", + "description": "Full skill instructions, loaded only while this skill is active.", + "maxLength": 32000, + "pattern": "/\\S/" + }, + "tools": { + "type": "array", + "description": "Tools available only after loading this skill. Can be combined with toolIds.", + "maxItems": 20, + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/CreateFunctionToolDTO" + }, + { + "$ref": "#/components/schemas/CreateApiRequestToolDTO" + }, + { + "$ref": "#/components/schemas/CreateMcpToolDTO" + }, + { + "$ref": "#/components/schemas/CreateEndCallToolDTO" + }, + { + "$ref": "#/components/schemas/CreateDtmfToolDTO" + }, + { + "$ref": "#/components/schemas/CreateTransferCallToolDTO" + } + ] + } + }, + "toolIds": { + "type": "array", + "description": "Existing organization-owned tools available only after loading this skill.", + "items": { + "type": "string", + "format": "uuid" + }, + "maxItems": 20 + } + }, + "required": [ + "name", + "description", + "content" + ] + }, "OpenAIReasoner": { "type": "object", "properties": { @@ -21951,7 +22029,15 @@ }, "instructions": { "type": "string", - "description": "Complete reasoner instructions. An explicit empty string is preserved.\nOmit to use Vapi's default reasoner instructions. No behavioral instructions\nare appended to a custom prompt." + "description": "Complete reasoner instructions. An explicit empty string is preserved.\nOmit to use Vapi's default reasoner instructions. No behavioral instructions\nare appended unless skills are configured; skill loading guidance and active\nskill content are then composed with these instructions." + }, + "skills": { + "description": "Inline skills whose instructions and tools the GPT-Live reasoner loads on demand.", + "maxItems": 20, + "type": "array", + "items": { + "$ref": "#/components/schemas/OpenAIReasonerSkill" + } } } }, @@ -27927,45 +28013,45 @@ }, "similarityBoost": { "type": "number", - "description": "Defines the similarity boost for voice settings.", + "description": "Defines the similarity boost for voice settings. Ignored by `eleven_v4_turbo`.", "minimum": 0, "maximum": 1, "example": 0.75 }, "style": { "type": "number", - "description": "Defines the style for voice settings.", + "description": "Defines the style for voice settings. Ignored by `eleven_v4_turbo`.", "minimum": 0, "maximum": 1, "example": 0 }, "useSpeakerBoost": { "type": "boolean", - "description": "Defines the use speaker boost for voice settings.", + "description": "Defines the use speaker boost for voice settings. Ignored by `eleven_v4_turbo`.", "example": false }, "speed": { "type": "number", - "description": "Defines the speed for voice settings.", + "description": "Defines the speed for voice settings. Ignored by `eleven_v4_turbo`.", "minimum": 0.7, "maximum": 1.2, "example": 0.9 }, "optimizeStreamingLatency": { "type": "number", - "description": "Defines the optimize streaming latency for voice settings. Defaults to 3.", + "description": "Defines the optimize streaming latency for voice settings. Defaults to 3. Ignored by `eleven_v4_turbo`.", "minimum": 0, "maximum": 4, "example": 3 }, "enableSsmlParsing": { "type": "boolean", - "description": "This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false", + "description": "This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency. Ignored by `eleven_v4_turbo`.\n\n@default false", "example": false }, "autoMode": { "type": "boolean", - "description": "Defines the auto mode for voice settings. Defaults to false.", + "description": "Defines the auto mode for voice settings. Defaults to false. Ignored by `eleven_v4_turbo`.", "example": false }, "model": { @@ -27978,13 +28064,14 @@ "eleven_flash_v2", "eleven_flash_v2_5", "eleven_monolingual_v1", - "eleven_v3" + "eleven_v3", + "eleven_v4_turbo" ], "example": "eleven_turbo_v2_5" }, "language": { "type": "string", - "description": "This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided." + "description": "This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5, Flash v2.5 and v4 Turbo support language enforcement; other models ignore it." }, "chunkPlan": { "description": "This is the plan for chunking the model output before it is sent to the voice provider.", @@ -30772,45 +30859,45 @@ }, "similarityBoost": { "type": "number", - "description": "Defines the similarity boost for voice settings.", + "description": "Defines the similarity boost for voice settings. Ignored by `eleven_v4_turbo`.", "minimum": 0, "maximum": 1, "example": 0.75 }, "style": { "type": "number", - "description": "Defines the style for voice settings.", + "description": "Defines the style for voice settings. Ignored by `eleven_v4_turbo`.", "minimum": 0, "maximum": 1, "example": 0 }, "useSpeakerBoost": { "type": "boolean", - "description": "Defines the use speaker boost for voice settings.", + "description": "Defines the use speaker boost for voice settings. Ignored by `eleven_v4_turbo`.", "example": false }, "speed": { "type": "number", - "description": "Defines the speed for voice settings.", + "description": "Defines the speed for voice settings. Ignored by `eleven_v4_turbo`.", "minimum": 0.7, "maximum": 1.2, "example": 0.9 }, "optimizeStreamingLatency": { "type": "number", - "description": "Defines the optimize streaming latency for voice settings. Defaults to 3.", + "description": "Defines the optimize streaming latency for voice settings. Defaults to 3. Ignored by `eleven_v4_turbo`.", "minimum": 0, "maximum": 4, "example": 3 }, "enableSsmlParsing": { "type": "boolean", - "description": "This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency.\n\n@default false", + "description": "This enables the use of https://elevenlabs.io/docs/speech-synthesis/prompting#pronunciation. Defaults to false to save latency. Ignored by `eleven_v4_turbo`.\n\n@default false", "example": false }, "autoMode": { "type": "boolean", - "description": "Defines the auto mode for voice settings. Defaults to false.", + "description": "Defines the auto mode for voice settings. Defaults to false. Ignored by `eleven_v4_turbo`.", "example": false }, "model": { @@ -30823,13 +30910,14 @@ "eleven_flash_v2", "eleven_flash_v2_5", "eleven_monolingual_v1", - "eleven_v3" + "eleven_v3", + "eleven_v4_turbo" ], "example": "eleven_turbo_v2_5" }, "language": { "type": "string", - "description": "This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided." + "description": "This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5, Flash v2.5 and v4 Turbo support language enforcement; other models ignore it." }, "pronunciationDictionaryLocators": { "description": "This is the pronunciation dictionary locators to use.", @@ -47177,6 +47265,9 @@ "call.in-progress.error-vapifault-eleven-labs-max-character-limit-exceeded", "call.in-progress.error-vapifault-eleven-labs-blocked-voice-potentially-against-terms-of-service-and-awaiting-verification", "call.in-progress.error-providerfault-eleven-labs-system-busy-and-requested-upgrade", + "call.in-progress.error-providerfault-eleven-labs-blocked-concurrent-requests-and-requested-upgrade", + "call.in-progress.error-providerfault-eleven-labs-voice-disabled-by-owner", + "call.in-progress.error-providerfault-eleven-labs-vapi-voice-disabled-by-owner", "call.in-progress.error-providerfault-eleven-labs-500-server-error", "call.in-progress.error-providerfault-eleven-labs-503-server-error", "pipeline-error-playht-request-timed-out", @@ -62388,33 +62479,6 @@ "personalityId" ] }, - "UpdateSimulationDTO": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "This is an optional friendly name for the simulation.", - "maxLength": 80 - }, - "scenarioId": { - "type": "string", - "description": "This is the ID of the scenario to use for this simulation.", - "format": "uuid" - }, - "personalityId": { - "type": "string", - "description": "This is the ID of the personality to use for this simulation.", - "format": "uuid" - }, - "path": { - "type": "string", - "nullable": true, - "description": "Optional folder path for organizing simulations.\nSupports up to 3 levels (e.g., \"dept/feature/variant\").\nSet to null to remove from folder.", - "maxLength": 255, - "pattern": "/^[a-zA-Z0-9][a-zA-Z0-9._-]*(?:\\/[a-zA-Z0-9][a-zA-Z0-9._-]*){0,2}$/" - } - } - }, "SimulationConcurrencyResponse": { "type": "object", "properties": { @@ -62458,6 +62522,33 @@ "isDefault" ] }, + "UpdateSimulationDTO": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "This is an optional friendly name for the simulation.", + "maxLength": 80 + }, + "scenarioId": { + "type": "string", + "description": "This is the ID of the scenario to use for this simulation.", + "format": "uuid" + }, + "personalityId": { + "type": "string", + "description": "This is the ID of the personality to use for this simulation.", + "format": "uuid" + }, + "path": { + "type": "string", + "nullable": true, + "description": "Optional folder path for organizing simulations.\nSupports up to 3 levels (e.g., \"dept/feature/variant\").\nSet to null to remove from folder.", + "maxLength": 255, + "pattern": "/^[a-zA-Z0-9][a-zA-Z0-9._-]*(?:\\/[a-zA-Z0-9][a-zA-Z0-9._-]*){0,2}$/" + } + } + }, "BarInsightMetadata": { "type": "object", "properties": { @@ -77447,6 +77538,9 @@ "call.in-progress.error-vapifault-eleven-labs-max-character-limit-exceeded", "call.in-progress.error-vapifault-eleven-labs-blocked-voice-potentially-against-terms-of-service-and-awaiting-verification", "call.in-progress.error-providerfault-eleven-labs-system-busy-and-requested-upgrade", + "call.in-progress.error-providerfault-eleven-labs-blocked-concurrent-requests-and-requested-upgrade", + "call.in-progress.error-providerfault-eleven-labs-voice-disabled-by-owner", + "call.in-progress.error-providerfault-eleven-labs-vapi-voice-disabled-by-owner", "call.in-progress.error-providerfault-eleven-labs-500-server-error", "call.in-progress.error-providerfault-eleven-labs-503-server-error", "pipeline-error-playht-request-timed-out", @@ -78902,6 +78996,9 @@ "call.in-progress.error-vapifault-eleven-labs-max-character-limit-exceeded", "call.in-progress.error-vapifault-eleven-labs-blocked-voice-potentially-against-terms-of-service-and-awaiting-verification", "call.in-progress.error-providerfault-eleven-labs-system-busy-and-requested-upgrade", + "call.in-progress.error-providerfault-eleven-labs-blocked-concurrent-requests-and-requested-upgrade", + "call.in-progress.error-providerfault-eleven-labs-voice-disabled-by-owner", + "call.in-progress.error-providerfault-eleven-labs-vapi-voice-disabled-by-owner", "call.in-progress.error-providerfault-eleven-labs-500-server-error", "call.in-progress.error-providerfault-eleven-labs-503-server-error", "pipeline-error-playht-request-timed-out",