API Reference
API Reference
This section keeps only the two public-facing documents that are most useful to general users: the unified Router interface and the Admin Console guide.
Documentation Map
-
- OpenAI / Claude compatible proxy routes
- Dashboard query routes (
/dashboard/*)
Quick Examples
export BASE_URL="https://api.xaicontrol.com"curl ${BASE_URL}/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-5-nano","messages":[{"role":"user","content":"hello"}]}'curl ${BASE_URL}/dashboard/status \
-H "Authorization: Bearer $API_KEY"Note: More governance-oriented and maintenance-oriented interface details are intentionally excluded from the current public docs.