API Documentation
Integrate Boost Agents AI capabilities into your applications with our powerful REST API.
API Overview
The Boost Agents API is organized around REST principles. Our API has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.
The API is designed to make it easy to integrate Boost Agents AI capabilities into your applications, allowing you to automate tasks, process documents, and leverage our specialized AI agents programmatically.
Base URL
All API requests should be sent to:
API Versions
The current API version is v1
. We recommend specifying a version in all API requests to ensure compatibility as the API evolves.
Content Types
All requests with a JSON body must include the Content-Type: application/json
header. For file uploads, use Content-Type: multipart/form-data
.
Request Structure
A typical API request includes:
- The HTTP method (
GET
,POST
,PUT
,DELETE
) - The endpoint URL
- Headers (including authentication)
- Request parameters (URL or body)
Note: Always keep your API keys secure and never expose them in client-side code or public repositories.
Authentication
Authentication to the Boost Agents API is performed using API keys. Each API key is associated with a specific user account and has configurable permissions.
API Keys
To obtain an API key:
- Log in to your Boost Agents account
- Navigate to Settings > API Keys
- Click "Create New API Key"
- Set a name and permissions for the key
- Click "Generate Key"
Important: API keys are displayed only once when created. Store your key securely; if you lose it, you'll need to generate a new one.
Authentication Methods
There are two ways to authenticate API requests:
1. Authorization Header (Recommended)
Include your API key in the request's Authorization header:
2. Query Parameter
Include your API key as a query parameter:
We recommend using the Authorization header method for improved security.
Authentication Errors
If authentication fails, the API will return a 401 Unauthorized
response:
Error Handling
The Boost Agents API uses conventional HTTP response codes to indicate the success or failure of an API request. In general:
- 2xx range indicates success
- 4xx range indicates an error that resulted from the provided information (e.g., missing required parameters, invalid API key)
- 5xx range indicates an error with Boost Agents servers
Error Response Format
Error responses include a JSON object with an error
object containing details about what went wrong:
Common Error Codes
HTTP Status | Error Code | Description |
---|---|---|
400 | invalid_request | The request was malformed or missing required parameters |
401 | unauthorized | Authentication failed or insufficient permissions |
403 | forbidden | The API key doesn't have permission to perform the request |
404 | not_found | The requested resource doesn't exist |
409 | conflict | The request conflicts with the current state of the resource |
429 | rate_limit_exceeded | Too many requests hit the API too quickly |
500 | internal_error | An error occurred on the server |
Handling Errors
We recommend implementing error handling that:
- Checks for HTTP status codes in the 4xx and 5xx ranges
- Parses the error object to extract relevant details
- Implements retry logic with exponential backoff for 429 and 5xx errors
- Logs errors for debugging purposes
Tasks API
The Tasks API allows you to create, manage, and monitor AI agent tasks programmatically. Use these endpoints to automate workflows and integrate AI task execution into your applications.
Create a new task and assign it to an AI agent.
Request Parameters
Parameter | Type | Description |
---|---|---|
agent Required | string | The ID of the agent to assign the task to (e.g., "marcom_maven", "finance_navigator") |
description Required | string | A detailed description of the task to be performed |
priority Optional | string | Task priority: "low", "medium", or "high". Default is "medium" |
due_date Optional | string (ISO 8601) | The due date and time for the task |
attachments Optional | array | Array of document IDs to attach to the task |
execute_immediately Optional | boolean | Whether to execute the task immediately after creation. Default is false |
Responses
Retrieve the details of a specific task.
Path Parameters
Parameter | Type | Description |
---|---|---|
task_id Required | string | The unique identifier of the task |
Responses
List all tasks, with options for filtering and pagination.
Query Parameters
Parameter | Type | Description |
---|---|---|
status Optional | string | Filter by task status: "pending", "in_progress", "completed", or "failed" |
agent Optional | string | Filter by agent ID |
limit Optional | integer | Maximum number of tasks to return (default: 20, max: 100) |
offset Optional | integer | Number of tasks to skip (for pagination) |
Responses
Ready to Integrate?
Get started with the Boost Agents API to automate your business workflows and integrate AI capabilities into your applications.