{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sitegpt-ai/json-schema/sitegpt-ai-chatbot-schema.json",
  "title": "Chatbot",
  "description": "A chatbot as serialized for the agent API.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sitegpt-ai-openapi.json#/components/schemas/Chatbot",
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdBy": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string"
        },
        "email": {
          "type": "string"
        }
      }
    },
    "quotas": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "pagesQuota": {
          "type": [
            "integer",
            "null"
          ]
        },
        "combinedMessagesQuota": {
          "type": [
            "integer",
            "null"
          ]
        },
        "gpt4Share": {
          "type": [
            "number",
            "null"
          ]
        },
        "membersQuota": {
          "type": [
            "integer",
            "null"
          ]
        }
      }
    },
    "counts": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "suggestions": {
          "type": "integer"
        },
        "nextSuggestions": {
          "type": "integer"
        },
        "tags": {
          "type": "integer"
        },
        "personas": {
          "type": "integer"
        },
        "prompts": {
          "type": "integer"
        }
      }
    },
    "connectedIntegrations": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "settings": {
      "type": "object",
      "description": "Safe subset of chatbot settings. Null means the setting is unset.",
      "additionalProperties": true,
      "properties": {
        "isDisabled": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "mode": {
          "type": [
            "string",
            "null"
          ]
        },
        "gptModel": {
          "type": [
            "string",
            "null"
          ]
        },
        "creativity": {
          "type": [
            "number",
            "null"
          ]
        },
        "welcomeMessage": {
          "type": [
            "string",
            "null"
          ]
        },
        "placeholderText": {
          "type": [
            "string",
            "null"
          ]
        },
        "fallbackMessage": {
          "type": [
            "string",
            "null"
          ]
        },
        "collectUserDetails": {
          "type": "string",
          "description": "Effective lead-collection mode, for example DO_NOT_COLLECT."
        },
        "collectUserData": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "enablePageContextAwareness": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "hideSources": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "supportEmail": {
          "type": [
            "string",
            "null"
          ]
        },
        "humanSupportEnabled": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "leadCollectionEnabled": {
          "type": [
            "boolean",
            "null"
          ]
        }
      }
    },
    "createdAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "updatedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}