Vapi · Schema

CloudflareCredential

AIVoiceAgentsRealtimeCPaaS

Properties

Name Type Description
provider string Credential provider. Only allowed value is cloudflare
accountId string Cloudflare Account Id.
apiKey string Cloudflare API Key / Token.
accountEmail string Cloudflare Account Email.
fallbackIndex number This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.
id string This is the unique identifier for the credential.
orgId string This is the unique identifier for the org that this credential belongs to.
createdAt string This is the ISO 8601 date-time string of when the credential was created.
updatedAt string This is the ISO 8601 date-time string of when the assistant was last updated.
name string This is the name of credential. This is just for your reference.
bucketPlan object This is the bucket plan that can be provided to store call artifacts in R2
View JSON Schema on GitHub

JSON Schema

vapi-cloudflarecredential-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CloudflareCredential",
  "title": "CloudflareCredential",
  "type": "object",
  "properties": {
    "provider": {
      "type": "string",
      "enum": [
        "cloudflare"
      ],
      "description": "Credential provider. Only allowed value is cloudflare"
    },
    "accountId": {
      "type": "string",
      "description": "Cloudflare Account Id."
    },
    "apiKey": {
      "type": "string",
      "description": "Cloudflare API Key / Token."
    },
    "accountEmail": {
      "type": "string",
      "description": "Cloudflare Account Email."
    },
    "fallbackIndex": {
      "type": "number",
      "description": "This is the order in which this storage provider is tried during upload retries. Lower numbers are tried first in increasing order.",
      "minimum": 1
    },
    "id": {
      "type": "string",
      "description": "This is the unique identifier for the credential."
    },
    "orgId": {
      "type": "string",
      "description": "This is the unique identifier for the org that this credential belongs to."
    },
    "createdAt": {
      "format": "date-time",
      "type": "string",
      "description": "This is the ISO 8601 date-time string of when the credential was created."
    },
    "updatedAt": {
      "format": "date-time",
      "type": "string",
      "description": "This is the ISO 8601 date-time string of when the assistant was last updated."
    },
    "name": {
      "type": "string",
      "description": "This is the name of credential. This is just for your reference.",
      "minLength": 1,
      "maxLength": 40
    },
    "bucketPlan": {
      "description": "This is the bucket plan that can be provided to store call artifacts in R2",
      "allOf": [
        {
          "$ref": "#/components/schemas/CloudflareR2BucketPlan"
        }
      ]
    }
  },
  "required": [
    "provider",
    "id",
    "orgId",
    "createdAt",
    "updatedAt"
  ]
}