X-Admin-Key header.
GET /api/settings/api-keys
Returns the full API registry with obfuscated key values (first 4 characters shown, remainder masked).Rate limit: 30 requests per minute per IP.
Headers
Admin authentication key matching the
ADMIN_KEY environment variable.Response
An array of API registry entries:Internal registry ID.
Human-readable service name.
Description of what the API provides.
Service category (e.g.
"Aviation", "Maritime", "Space").Service homepage URL.
Whether this key is required for core functionality.
Whether this service uses an API key (some are keyless).
The environment variable name for this key (e.g.
"AIS_API_KEY").Masked key value showing only the first 4 characters.
null for keyless services.Whether the key has a non-empty value in the current environment.
Example
PUT /api/settings/api-keys
Updates a single API key in the.env file and in the running process environment. Changes take effect immediately — no restart required. Call GET /api/refresh afterwards to re-fetch data with the new key.
Rate limit: 10 requests per minute per IP.
Headers
Admin authentication key.
Request body
The environment variable to update. Must be one of the following values:
env_key | Service |
|---|---|
AIS_API_KEY | AIS Stream (aisstream.io) |
OPENSKY_CLIENT_ID | OpenSky Network OAuth2 client ID |
OPENSKY_CLIENT_SECRET | OpenSky Network OAuth2 client secret |
LTA_ACCOUNT_KEY | LTA Singapore (traffic cameras) |
New key value. Must not contain newline characters.
Response
"updated" on success, "error" on failure.The key that was updated. Present on success.
Error description. Present only when
status is "error".