/platform/usage/ endpoint. ServiceKeys work across all GoldRush products.
A regular GoldRush API key (cqt_…) authenticates product data requests (Foundational, JSON-RPC, Hyperliquid, x402). A ServiceKey authenticates Platform account operations that act on your account itself, and is rejected on the data APIs — and vice versa.
Why a separate credential?
Account-level operations touch data about your usage and account configuration. We use a distinct credential type so that:- Read-only API keys (which may be embedded in client-side code, CLI scripts, or shared between teammates) cannot read or change account-level data.
- ServiceKeys can be rotated independently of the API keys your application already uses to call the data APIs.
- Account operations are auditable — every action is attributed to the user who issued the ServiceKey.
Creating a ServiceKey
- Sign in to the GoldRush Platform.
- Open your account settings and select Service Keys.
- Click Create Service Key, give it a name, and copy the value shown.
Using a ServiceKey
Send the key as a bearer token on every request. For example, to read your account usage:Scope and permissions
ServiceKeys inherit the group of the user who created them. Two users in different groups cannot see each other’s account data through the API, even if both have a ServiceKey.
Rotation and revocation
Rotate a ServiceKey at any time by creating a new one and revoking the old one:- Create a new ServiceKey on the Platform.
- Update your secret store / CI variables to use the new key.
- Verify the new key works with a test request (
GET /platform/usage/). - Revoke the old key on the Platform.
401 Unauthorized.