🌿 ✨ [Scheduled] Update API Spec #126
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This update includes changes to the API's voice models, transcribers, and call endpoints. It also introduces a new enterprise feature with related objects and endpoints.
Added
AzureSpeechTranscriberobject for transcribing audio.o1-preview,o1-preview-2024-09-12,o1-mini, ando1-mini-2024-09-12.o1-preview,o1-preview-2024-09-12,o1-mini, ando1-mini-2024-09-12.sonic-previewandsonic.Elevenvoice provider:eleven_flash_v2andeleven_flash_v2_5.CreateEnterpriseInfoDTOobject for creating enterprise information.EnterpriseInfoobject for storing enterprise information.UpdateSubscriptionDTOobject for updating subscription information.ChatDTOobject for chat conversations.assistant-not-invalid,assistant-not-provided,call-start-error-neither-assistant-nor-server-set,assistant-request-failed,assistant-request-returned-error,assistant-request-returned-unspeakable-error,assistant-request-returned-invalid-assistant,assistant-request-returned-no-assistant,assistant-request-returned-forwarding-phone-number,assistant-ended-call,assistant-said-end-call-phrase,assistant-forwarded-call,assistant-join-timed-out,customer-busy,customer-ended-call,customer-did-not-answer,customer-did-not-give-microphone-permission,assistant-said-message-with-end-call-enabled,exceeded-max-duration,manually-canceled,phone-call-provider-closed-websocket,db-error, andassistant-not-found.Removed
llama3-groq-8b-8192-tool-use-previewandllama3-groq-70b-8192-tool-use-previewvoice models.serverUrlandserverUrlSecretfields from thePhoneNumberobject.Changed
voiceIdfield in thePhoneNumberobject to includesonic-previewandsonicvoice IDs.stripeCustomerEmailfield in theSubscriptionobject tocustomer's email on Stripe.swedenregion toswedencentralin theAnthropicCredentialobject.