API Reference

API Reference

This section covers the core public interfaces of XAI XAPI.


Documentation Map


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: Internal maintenance/correction interfaces are intentionally excluded from public docs.