Vapi · Schema

UpdateCustomLLMCredentialDTO

AIVoiceAgentsRealtimeCPaaS

Properties

Name Type Description
apiKey string This is not returned in the API.
authenticationPlan object This is the authentication plan. Currently supports OAuth2 RFC 6749. To use Bearer authentication, use apiKey
name string This is the name of credential. This is just for your reference.
View JSON Schema on GitHub

JSON Schema

vapi-updatecustomllmcredentialdto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UpdateCustomLLMCredentialDTO",
  "title": "UpdateCustomLLMCredentialDTO",
  "type": "object",
  "properties": {
    "apiKey": {
      "type": "string",
      "maxLength": 10000,
      "description": "This is not returned in the API."
    },
    "authenticationPlan": {
      "description": "This is the authentication plan. Currently supports OAuth2 RFC 6749. To use Bearer authentication, use apiKey",
      "allOf": [
        {
          "$ref": "#/components/schemas/OAuth2AuthenticationPlan"
        }
      ]
    },
    "name": {
      "type": "string",
      "description": "This is the name of credential. This is just for your reference.",
      "minLength": 1,
      "maxLength": 40
    }
  }
}