Vapi · Schema

VoiceLibrary

AIVoiceAgentsRealtimeCPaaS

Properties

Name Type Description
provider object This is the voice provider that will be used.
providerId string The ID of the voice provided by the provider.
slug string The unique slug of the voice.
name string The name of the voice.
language string The language of the voice.
languageCode string The language code of the voice.
model string The model of the voice.
supportedModels string The supported models of the voice.
gender string The gender of the voice.
accent string The accent of the voice.
previewUrl string The preview URL of the voice.
sortOrder number The sort order of the voice for display purposes. Lower values appear first.
description string The description of the voice.
credentialId string The credential ID of the voice.
id string The unique identifier for the voice library.
orgId string The unique identifier for the organization that this voice library belongs to.
isPublic boolean The Public voice is shared accross all the organizations.
isDeleted boolean The deletion status of the voice.
createdAt string The ISO 8601 date-time string of when the voice library was created.
updatedAt string The ISO 8601 date-time string of when the voice library was last updated.
View JSON Schema on GitHub

JSON Schema

vapi-voicelibrary-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/VoiceLibrary",
  "title": "VoiceLibrary",
  "type": "object",
  "properties": {
    "provider": {
      "type": "object",
      "description": "This is the voice provider that will be used.",
      "enum": [
        "vapi",
        "11labs",
        "azure",
        "cartesia",
        "custom-voice",
        "deepgram",
        "hume",
        "lmnt",
        "neuphonic",
        "openai",
        "playht",
        "rime-ai",
        "smallest-ai",
        "tavus",
        "sesame",
        "inworld",
        "minimax",
        "wellsaid",
        "orpheus"
      ]
    },
    "providerId": {
      "type": "string",
      "description": "The ID of the voice provided by the provider."
    },
    "slug": {
      "type": "string",
      "description": "The unique slug of the voice."
    },
    "name": {
      "type": "string",
      "description": "The name of the voice."
    },
    "language": {
      "type": "string",
      "description": "The language of the voice."
    },
    "languageCode": {
      "type": "string",
      "description": "The language code of the voice."
    },
    "model": {
      "type": "string",
      "description": "The model of the voice."
    },
    "supportedModels": {
      "type": "string",
      "description": "The supported models of the voice."
    },
    "gender": {
      "type": "string",
      "description": "The gender of the voice.",
      "enum": [
        "male",
        "female"
      ]
    },
    "accent": {
      "type": "string",
      "description": "The accent of the voice."
    },
    "previewUrl": {
      "type": "string",
      "description": "The preview URL of the voice."
    },
    "sortOrder": {
      "type": "number",
      "description": "The sort order of the voice for display purposes. Lower values appear first."
    },
    "description": {
      "type": "string",
      "description": "The description of the voice."
    },
    "credentialId": {
      "type": "string",
      "description": "The credential ID of the voice."
    },
    "id": {
      "type": "string",
      "description": "The unique identifier for the voice library."
    },
    "orgId": {
      "type": "string",
      "description": "The unique identifier for the organization that this voice library belongs to."
    },
    "isPublic": {
      "type": "boolean",
      "description": "The Public voice is shared accross all the organizations."
    },
    "isDeleted": {
      "type": "boolean",
      "description": "The deletion status of the voice."
    },
    "createdAt": {
      "format": "date-time",
      "type": "string",
      "description": "The ISO 8601 date-time string of when the voice library was created."
    },
    "updatedAt": {
      "format": "date-time",
      "type": "string",
      "description": "The ISO 8601 date-time string of when the voice library was last updated."
    }
  },
  "required": [
    "id",
    "orgId",
    "isPublic",
    "isDeleted",
    "createdAt",
    "updatedAt"
  ]
}