The QuanuX server exposes a REST API on portDocumentation Index
Fetch the complete documentation index at: https://docs.quanux.org/llms.txt
Use this file to discover all available pages before exploring further.
8080. All endpoints that modify state or access sensitive data require a bearer token passed in the Authorization header. You obtain a token by logging in with your QuanuX credentials, then include it in subsequent requests.
POST /api/auth/login
Exchange your QuanuX username and password for a bearer token. Request bodyYour QuanuX account username.
Your QuanuX account password.
Optional. The client ID for machine-to-machine authentication. If omitted, the request authenticates as a user session.
Optional. The client secret corresponding to
client_id.Bearer token to include in subsequent API requests.
Unique identifier for the authenticated session.
List of permission scopes granted to this token.
Response
Using the token
Pass the token in theAuthorization header for all subsequent API requests:
POST /api/auth/register-client
Register a named API client for machine-to-machine access. Use this when you want to grant a service or script its own credentials rather than using your personal account token. Request bodyA human-readable name for the client (e.g.,
"backtest-runner" or "ci-pipeline").Optional. Contact email associated with this client.
The generated client ID. Use this as
client_id in /api/auth/login requests.The generated client secret. Store this securely — it is only shown once.
Confirmation message.
Response
Common authentication errors
| Status | Meaning |
|---|---|
401 Unauthorized | Invalid username, password, or client credentials |
403 Forbidden | Token is valid but lacks the required scope for the requested endpoint |