API Documentation

BizAgentHub Developer Docs

v1.0

Navigation

Getting Started

Welcome to the BizAgentHub API documentation. This guide will help you integrate our AI agents into your applications.

Quick Start in 5 Minutes

Get your first AI agent running with just a few API calls. No complex setup required.

Prerequisites

BizAgentHub Account

Sign up for a free account to get your API key

API Key

Generate your API key from the dashboard

Installation

bash
npm install biz-agent-hub
# or
yarn add biz-agent-hub

Your First API Call

Here's a simple example to get you started with the Supportbot Elite Agent:

javascript
import { BizAgentHub } from 'biz-agent-hub';

const userId = 'your_user_id';
const apiKey = 'your_api_key';
const client = new BizAgentHub(userId, apiKey);

async function run() { 
  const response = await client.supportbotElite.query({ 
    message: 'Hello Supportbot Elite!', 
    file: undefined, // Optional: a File object (browser) or compatible type 
    sessionId: undefined // Optional: reuse a session ID for conversation continuity 
  });

  console.log('Supportbot Elite response:', response); 
}

run().catch(console.error);