API Playground

Test Bee's OpenAI-compatible API endpoints directly from your browser.

http://127.0.0.1:8000
Response
Click Send to execute the request.

API Endpoints

POST
/v1/chat/completions

OpenAI-compatible chat completions with domain switching

POST
/v1/domain/switch

Switch active LoRA adapter domain

POST
/v1/documents/upload

Ingest text documents for RAG retrieval

POST
/v1/documents/retrieve

Debug: retrieve top-k chunks for a query

GET
/v1/documents

List all ingested documents

POST
/v1/feedback

Submit thumbs up/down and corrections

GET
/v1/feedback/stats

Aggregate feedback statistics

GET
/v1/interactions

Export recent interaction logs

GET
/health

Server health, model info, domain list

WS
/v1/chat

Real-time streaming chat via WebSocket

GET
/v1/evolution/status

Autonomous evolution engine status

POST
/v1/evolution/cycle

Trigger one invent → eval → integrate cycle

POST
/v1/evolution/run

Run N continuous self-evolution cycles

Quick Start

curl -X POST http://127.0.0.1:8000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bee",
    "messages": [
      {"role": "user",
       "content": "Hello"}
    ],
    "domain": "general"
  }'
Full Documentation