REST SPECIFICATION
·
HTTPS ONLY
REST API Reference
Call the Microbix API from your application. Send your API key as a Bearer token in the HTTP Authorization header.
Authentication Header
Every API call needs a secret key with the appropriate permissions, created in console.microbix.in:
Authorization: Bearer mbx_live_9f821a4e2b0c1...
POST
https://api.microbix.in/api/chat
Send a prompt and receive a response, with optional streaming through Server-Sent Events (SSE).
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
Create a plan before changing project files. Used by Plan Mode in Pro and Ultra.
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"}'