{
  "service": "sitespeakai",
  "displayName": "SiteSpeakAI",
  "categories": [
    "AI",
    "Communication"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Token",
      "placeholder": "YOUR_API_TOKEN",
      "description": "SiteSpeakAI API token sent with the Authorization Bearer header. Generate one from your SiteSpeakAI account page: https://sitespeak.ai/user/api-tokens"
    }
  ],
  "homepageUrl": "https://sitespeak.ai",
  "actions": [
    {
      "id": "sitespeakai.delete_updated_answer",
      "service": "sitespeakai",
      "name": "delete_updated_answer",
      "description": "Delete one SiteSpeakAI updated answer from a chatbot.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatbot_id": {
            "type": "string",
            "minLength": 1,
            "description": "The ID of your chatbot."
          },
          "finetune_id": {
            "type": "string",
            "minLength": 1,
            "description": "The ID of the updated answer to delete."
          }
        },
        "additionalProperties": false,
        "description": "The updated answer to delete."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "A provider object returned by SiteSpeakAI."
      }
    },
    {
      "id": "sitespeakai.get_chatbot",
      "service": "sitespeakai",
      "name": "get_chatbot",
      "description": "Retrieve the full SiteSpeakAI settings object for one chatbot.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatbot_id": {
            "type": "string",
            "minLength": 1,
            "description": "The ID of your chatbot."
          }
        },
        "additionalProperties": false,
        "description": "The chatbot to retrieve from SiteSpeakAI."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "chatbot": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A provider object returned by SiteSpeakAI."
          }
        },
        "additionalProperties": false,
        "description": "The requested SiteSpeakAI chatbot settings."
      }
    },
    {
      "id": "sitespeakai.get_current_user",
      "service": "sitespeakai",
      "name": "get_current_user",
      "description": "Retrieve the connected SiteSpeakAI user account details.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "This action does not require any input fields."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "user": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "A provider object returned by SiteSpeakAI."
          }
        },
        "additionalProperties": false,
        "description": "The connected SiteSpeakAI account details."
      }
    },
    {
      "id": "sitespeakai.list_chatbots",
      "service": "sitespeakai",
      "name": "list_chatbots",
      "description": "List every SiteSpeakAI chatbot available to the connected account.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "This action does not require any input fields."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "chatbots": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A provider object returned by SiteSpeakAI."
            },
            "description": "The chatbots returned by SiteSpeakAI."
          }
        },
        "additionalProperties": false,
        "description": "The SiteSpeakAI chatbots available to the account."
      }
    },
    {
      "id": "sitespeakai.list_conversations",
      "service": "sitespeakai",
      "name": "list_conversations",
      "description": "Retrieve conversation history for one SiteSpeakAI chatbot.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatbot_id": {
            "type": "string",
            "minLength": 1,
            "description": "The ID of your chatbot."
          },
          "conversation_id": {
            "type": "string",
            "minLength": 1,
            "description": "Return only entries for this visitor conversation ID."
          },
          "include_deleted": {
            "type": "boolean",
            "description": "Whether cleared conversation entries should be included."
          },
          "include_sources": {
            "type": "boolean",
            "description": "Whether SiteSpeakAI should include source records for each conversation entry."
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of conversation entries to return."
          },
          "order": {
            "type": "string",
            "enum": [
              "asc",
              "desc"
            ],
            "description": "The sort order for the returned conversation history."
          }
        },
        "additionalProperties": false,
        "required": [
          "chatbot_id"
        ],
        "description": "The chatbot and optional filters for retrieving conversation history."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "conversations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A provider object returned by SiteSpeakAI."
            },
            "description": "The conversation entries returned by SiteSpeakAI."
          }
        },
        "additionalProperties": false,
        "description": "The conversation history returned by SiteSpeakAI."
      }
    },
    {
      "id": "sitespeakai.list_leads",
      "service": "sitespeakai",
      "name": "list_leads",
      "description": "List the leads captured by one SiteSpeakAI chatbot.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatbot_id": {
            "type": "string",
            "minLength": 1,
            "description": "The ID of your chatbot."
          }
        },
        "additionalProperties": false,
        "description": "The chatbot whose captured leads should be returned."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "leads": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A provider object returned by SiteSpeakAI."
            },
            "description": "The lead records returned by SiteSpeakAI."
          }
        },
        "additionalProperties": false,
        "description": "The leads captured by the chatbot."
      }
    },
    {
      "id": "sitespeakai.list_sources",
      "service": "sitespeakai",
      "name": "list_sources",
      "description": "List the training sources and training statuses for one SiteSpeakAI chatbot.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatbot_id": {
            "type": "string",
            "minLength": 1,
            "description": "The ID of your chatbot."
          }
        },
        "additionalProperties": false,
        "description": "The chatbot whose training sources should be returned."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "sources": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A provider object returned by SiteSpeakAI."
            },
            "description": "The sources attached to the chatbot."
          }
        },
        "additionalProperties": false,
        "description": "The training sources returned by SiteSpeakAI."
      }
    },
    {
      "id": "sitespeakai.list_suggested_messages",
      "service": "sitespeakai",
      "name": "list_suggested_messages",
      "description": "List the suggested visitor prompts configured for one SiteSpeakAI chatbot.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatbot_id": {
            "type": "string",
            "minLength": 1,
            "description": "The ID of your chatbot."
          }
        },
        "additionalProperties": false,
        "description": "The chatbot whose suggested messages should be returned."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "prompts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A provider object returned by SiteSpeakAI."
            },
            "description": "The suggested messages for the chatbot."
          }
        },
        "additionalProperties": false,
        "description": "The suggested messages returned by SiteSpeakAI."
      }
    },
    {
      "id": "sitespeakai.list_updated_answers",
      "service": "sitespeakai",
      "name": "list_updated_answers",
      "description": "List updated answers configured for one SiteSpeakAI chatbot.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatbot_id": {
            "type": "string",
            "minLength": 1,
            "description": "The ID of your chatbot."
          }
        },
        "additionalProperties": false,
        "description": "The chatbot whose updated answers should be returned."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "finetunes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true,
              "description": "A provider object returned by SiteSpeakAI."
            },
            "description": "The updated answers for the chatbot."
          }
        },
        "additionalProperties": false,
        "description": "The updated answers returned by SiteSpeakAI."
      }
    },
    {
      "id": "sitespeakai.query_chatbot",
      "service": "sitespeakai",
      "name": "query_chatbot",
      "description": "Send a question to one SiteSpeakAI chatbot and return its answer plus source URLs.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatbot_id": {
            "type": "string",
            "minLength": 1,
            "description": "The ID of your chatbot."
          },
          "prompt": {
            "type": "string",
            "minLength": 1,
            "description": "The question or prompt to send to the chatbot."
          },
          "conversation_id": {
            "type": "string",
            "minLength": 1,
            "description": "An optional identifier used to group messages into one chatbot conversation."
          },
          "format": {
            "type": "string",
            "enum": [
              "html",
              "markdown"
            ],
            "description": "The response format returned by SiteSpeakAI."
          }
        },
        "additionalProperties": false,
        "required": [
          "chatbot_id",
          "prompt"
        ],
        "description": "The chatbot and message payload to send to SiteSpeakAI."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "description": "The answer text returned by the chatbot."
          },
          "urls": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "A source URL."
            },
            "description": "The source URLs used by the chatbot to answer the query."
          }
        },
        "additionalProperties": true,
        "description": "The SiteSpeakAI chatbot response."
      }
    },
    {
      "id": "sitespeakai.upsert_updated_answer",
      "service": "sitespeakai",
      "name": "upsert_updated_answer",
      "description": "Create or update a SiteSpeakAI custom answer for a chatbot.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "chatbot_id": {
            "type": "string",
            "minLength": 1,
            "description": "The ID of your chatbot."
          },
          "question": {
            "type": "string",
            "minLength": 1,
            "description": "The question associated with the updated answer."
          },
          "suggested_answer": {
            "type": "string",
            "minLength": 1,
            "description": "The custom answer SiteSpeakAI should return."
          }
        },
        "additionalProperties": false,
        "description": "The custom answer to create or update."
      },
      "outputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": true,
        "description": "A provider object returned by SiteSpeakAI."
      }
    }
  ]
}
