Welcome to the BoldTech developer documentation. Here you'll find comprehensive guides and documentation to help you start working with BoldTech as quickly as possible, as well as support if you get stuck.
You can integrate your AI agents directly into your frontend using our pre-built Javascript widgets, or you can build custom backends by communicating directly with our REST API over HTTP.
All API requests require authentication. You must include your Agent API Key in the headers of every request.
You can find your API keys in the dashboard under your Agent's Settings page.
Security Note: Do not share your API keys in publicly accessible areas such as GitHub, client-side code, etc.
Your rate limits and the underlying AI models are determined by your current billing plan. When you run out of tokens, the API will return a 429 error and the Chatbot widgets will notify users to contact the owner.
| Plan | Model | Tokens / Month |
|---|---|---|
| Free | LLaMA 3 8B (8k context) | 50,000 |
| Pro | Mixtral 8x7B (32k context) | 500,000 |
| Premium | LLaMA 3 70B (8k context) | 2,000,000 (Unlimited Trial) |
The easiest way to integrate an agent is to drop our widget script into your website. It automatically inherits the Welcome Message, Theme Color, and Name from your agent's dashboard.
Places a standard chat bubble in the bottom right corner of your webpage.
Simply replace YOUR_AGENT_UUID with your agent's UUID and paste this script right before your closing </body> tag.
If you want to dedicate a specific part of a page to the chatbot, use the fullscreen mode inside a sized container.
Send a message to your custom trained agent and receive a response generated entirely from your uploaded knowledge bases.
| Field | Type | Description |
|---|---|---|
agent_id | String (UUID) | The unique identifier for the agent you are querying. |
message | String | The message / question from the user. |
Retrieve public metadata for an agent (required to render the chat widget externally, does not require an API key).
Our API uses standard HTTP status codes and responds with detailed JSON error messages when a request fails.
| Code | Meaning | Description |
|---|---|---|
400 | Bad Request | Missing parameters or malformed JSON. |
401 | Unauthorized | Missing or invalid Authorization header (API Key). |
403 | Forbidden | The API key doesn't match the requested agent_id. |
404 | Not Found | The requested Agent UUID does not exist. |
429 | Too Many Requests | You have exhausted your billing plan's token limit. |
500 | Internal Error | An issue occurred connecting to the backend AI models. |