Hosted Developer API
Base URL
https://api.botconnector.id/v1Authentication
Create an API key in Workspace → API Keys and send it as a Bearer token.
Authorization: Bearer bc_live_...Verified hosted routes
| Method | Route | Notes |
|---|---|---|
| GET | /v1/models | Lists models available to the authenticated account |
| POST | /v1/chat/completions | OpenAI-compatible chat request |
| POST | /v1/messages | Anthropic Messages request (text and streaming checked) |
| POST | /v1/messages/count_tokens | Anthropic input-token count |
| POST | /v1/responses | Native OpenAI Responses for GPT-6 Luna on eligible paid plans through Web App/BCCLI |
| WebSocket | /v1/responses | Responses WebSocket for GPT-6 Luna/BCCLI with streams, continuation, and steering |
| POST | /v1/responses/input_tokens | Native GPT-6 Luna input-token count |
| POST | /v1/responses/compact | Standalone OpenAI Responses compaction |
| GET/DELETE | /v1/responses/{response_id} | Retrieve/delete a user-owned response |
| POST | /v1/responses/{response_id}/cancel | Cancel a response |
| GET | /v1/responses/{response_id}/input_items | Response input items |
| POST | /v1/conversations | Create an OpenAI Conversation for tenant-isolated Luna state |
| GET/POST/DELETE | /v1/conversations/{conversation_id} | Retrieve/update/delete conversations and item subresources |
Native GPT-6 Luna Responses remain subject to the product policy Web App + BCCLI and the account's paid-plan entitlement. A normal API key without an allowed client does not expose the Luna route.
Not yet part of the public hosted contract: OpenAI Files/Vector Stores, Embeddings, Rerank, OpenAI Audio/Realtime/GPT-Live, and OpenAI administration resources.
Example
curl https://api.botconnector.id/v1/models \
-H "Authorization: Bearer bc_live_..."Use a canonical model ID returned by /v1/models for chat requests.