API overview
The v2 origin ishttps://v2.aius.co. The browser uses a secure session cookie.
The terminal uses OAuth authorization-code or device approval and receives
separate model and platform MCP grants. Your OpenRouter key is never given to
the terminal; the server holds the upstream credential.
| Endpoint | Purpose |
|---|---|
GET /v1/models | Fixed AIUS model catalog; model bearer grant required |
POST /v1/chat/completions | Model proxy; model bearer grant required |
POST /mcp/platform | AIUS Web Platform tools; platform bearer grant required |
GET /.well-known/oauth-authorization-server | OAuth server metadata |
GET /.well-known/oauth-protected-resource/mcp/platform | MCP resource metadata |