REST SPECIFICATION · HTTPS ONLY

REST API Reference

Direct programmatic integration with the Microbix Neural Gateway. Pass your API key via Bearer token in the standard HTTP Authorization header.

Authentication Header

Every API call must be authenticated with a scoped secret key provisioned in console.microbix.in:

Authorization: Bearer mbx_live_9f821a4e2b0c1...
POST https://api.microbix.in/api/chat

Dispatch generative or reasoning completion request to the neural inference fabric with streaming SSE support.

curl -X POST https://api.microbix.in/api/chat \
  -H "Authorization: Bearer $MICROBIX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "aether-ultra",
    "messages": [
      {"role": "user", "content": "Refactor auth middleware to support rotating JWT tokens"}
    ],
    "stream": true,
    "temperature": 0.2
  }'
POST https://api.microbix.in/api/generate-plan

Generate multi-stage architectural roadmaps before modifying file trees. Required for Plan Mode in Pro & Ultra tiers.

curl -X POST https://api.microbix.in/api/generate-plan \
  -H "Authorization: Bearer $MICROBIX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "task": "Migrate database connection pooling to PgBouncer with transaction-level isolation"
  }'
POST https://auth.microbix.in/api/cli/verify

Verify a 6-digit connect PIN during terminal pairing. Returns persistent user token on success.

curl -X POST https://auth.microbix.in/api/cli/verify \
  -H "Content-Type: application/json" \
  -d '{"code": "482910"}'
ESC