Vapi · Schema

CreateAnthropicCredentialDTO

AIVoiceAgentsRealtimeCPaaS

Properties

Name Type Description
provider string
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-createanthropiccredentialdto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateAnthropicCredentialDTO",
  "title": "CreateAnthropicCredentialDTO",
  "type": "object",
  "properties": {
    "provider": {
      "type": "string",
      "enum": [
        "anthropic"
      ]
    },
    "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"
  ]
}