Skip to main content
The Boole AI API is a REST API that implements the OpenAI specification. All endpoints accept JSON and return JSON. You can use it with any HTTP client or OpenAI-compatible SDK — no custom library needed. Switch between the cloud API and a local binary deployment by changing a single base URL.

Base URLs

Authentication

All cloud API requests require an Authorization header with a Bearer token:
Local binary deployments do not require authentication. See the Authentication page for header examples, SDK setup, and key management.

Request Format

  • All text endpoints use Content-Type: application/json.
  • Audio endpoints use multipart/form-data.

Response Format

Successful responses return HTTP 200 with a JSON body. Error responses return a 4xx or 5xx status code alongside an error object:

Available Endpoints

Error Codes

Versioning

The API is versioned at /v1. Breaking changes will be introduced under a new version prefix (e.g. /v2) so that existing integrations continue to work without modification.

Chat Completions

Generate chat responses with streaming, tool calls, and structured output.

Completions

Legacy text completion endpoint for prompt-in, completion-out workflows.

Models

List all 42 available model slugs and their metadata.

Audio

Transcribe audio files with Whisper Large v3.