B3IQ is endpoint-first. Developers call HTTP APIs directly. The official developer surface is endpoint behavior, OpenAPI specs, examples, stable error codes, and public protocol metadata.

No SDK requirement

B3IQ intentionally avoids client-library and adapter scope. OpenAI-compatible requests should work with standard HTTP clients and compatible model tooling.

API Families

Hosted Gateway

Cloud-hosted OpenAI-compatible /v1/models and /v1/chat/completions backed by B3IQ router, billing, and receipt policy.

Learn More
Local Host Agent

Local OpenAI-compatible endpoints and node companion APIs served at http://127.0.0.1:8831 by default.

Learn More
Private Jobs

B3IQ-native async encrypted job APIs for private transport workflows.

Learn More
Receipts And Billing

Receipt lookup, billing status, prepaid balance, usage exports, and payout evidence surfaces.

Learn More

Credential Separation

SurfaceCredentialNotes
Local host-agent chatb3iq_local_Local-only scoped key created by the owner in the setup wizard
Hosted gateway chatb3iq_gateway_Gateway key that may carry customer billing ownership
Native private jobscustomer headersCustomer ID and token headers for B3IQ-native job creation and billing reads
Setup and local adminowner session or setup tokenLocal operator UI and setup APIs, not normal application credentials
Admin operationsadmin tokenCommand center and operational endpoints, never client-side public app credentials

Base URLs

bash
export B3IQ_GATEWAY_BASE_URL="https://control-plane.b3iq.org"export B3IQ_LOCAL_BASE_URL="http://127.0.0.1:8831"

Use the deployed control-plane host only when you have valid hosted gateway or customer credentials. For local node work, use the host-agent URL on the machine running B3IQ.

Request Safety Pattern

1

Store keys in files

bash
umask 077mkdir -p .secretscat > .secrets/b3iq-gateway-keycat > .secrets/b3iq-local-key
2

Pass auth through a short-lived config

Avoid placing bearer tokens directly in shell argv.

3

Send request bodies through stdin

This keeps examples readable and avoids local files that accidentally include prompts, outputs, or secret material.

OpenAPI Specs

Hosted Gateway OpenAPI

Hosted OpenAI-compatible chat/models plus B3IQ-native private job, receipt, billing, public, operator, and admin surfaces.

Learn More
Local Host-Agent OpenAPI

Local health, chat, models, model profiles, receipts, and receipt submission.

Learn More

Public Privacy Rule

Prompts, outputs, exact private routes, API keys, customer identity, local URLs, filesystem paths, raw request logs, raw tokens, and raw TEE quotes do not belong in public docs examples, public protocol payloads, or onchain metadata.

Ask a question... ⌘I