Vapi · Schema

CreateGoogleCredentialDTO

AIVoiceAgentsRealtimeCPaaS

Properties

Name Type Description
provider string This is the key for Gemini in Google AI Studio. Get it from here: https://aistudio.google.com/app/apikey
apiKey string This is not returned in the API.
name string This is the name of credential. This is just for your reference.
View JSON Schema on GitHub

JSON Schema

vapi-creategooglecredentialdto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateGoogleCredentialDTO",
  "title": "CreateGoogleCredentialDTO",
  "type": "object",
  "properties": {
    "provider": {
      "type": "string",
      "description": "This is the key for Gemini in Google AI Studio. Get it from here: https://aistudio.google.com/app/apikey",
      "enum": [
        "google"
      ]
    },
    "apiKey": {
      "type": "string",
      "maxLength": 10000,
      "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"
  ]
}