What you can do
- Create and revoke API keys — generate keys with custom names, permission scopes, and rate limits. The full key is shown once at creation; after that only the first 12 characters are displayed.
- View usage statistics — see total calls, success and error counts, average latency, and P95 latency broken down by hour, day, or month.
- Inspect raw request logs — page through individual request records showing endpoint, method, status code, and response time.
Managing API Keys
Create, list, and revoke API keys for your applications.
Usage Analytics
Monitor call volume, error rates, and latency for each key.
Authentication
The Developer Console uses email and password authentication backed by JWT tokens. On successful login, the API sets two httpOnly cookies:| Token | Expiry | Purpose |
|---|---|---|
pdx_access | 15 minutes | Authenticates console API requests |
pdx_refresh | 7 days | Issues new access tokens without re-login |
This is distinct from the SIWE (Sign-In With Ethereum) wallet authentication used by the main Predexy app. Console accounts are email-based only.
Register an account
You can register through the web UI or directly via the API:Log in
access_token value as your Authorization: Bearer header for all subsequent console API calls.
Password reset
If you lose access to your account, the reset flow works in three steps:Request an OTP
Send your email to trigger a 6-digit one-time password sent via email. The OTP expires in 10 minutes.The endpoint always returns
200 — it does not reveal whether the email is registered.Verify the OTP
Submit the 6-digit code to receive a short-lived reset token (valid for 5 minutes):The response body contains a
reset_token JWT you use in the next step.Getting started
Register or log in
Create an account at app.revalonlabs.xyz or via
POST /api/v1/auth/register. Log in to get your access token.Create an API key
In the console, go to API Keys and click New key, or call
POST /api/v1/console/keys. Copy the full key — it is shown only once.Call external endpoints
Pass the key in the
X-API-Key header on any /api/v1/external/* endpoint. See Managing API Keys for a full guide.Monitor usage
Check Usage Analytics to track call volume, error rates, and latency over time.
