Surface:
https://api.aegis-kyt.com/v2/* ·
Header: Authorization: Bearer aeg_<48 chars> ·
Channel: B2B partner / business accountGenerate a key
- Sign in at app.aegis-kyt.com.
- Open Account → API.
- Click Generate key. The full 48-character
aeg_…value is shown once — copy and store it in your secret manager.
Use the key
SendAuthorization: Bearer aeg_<key> on every paid call:
| Outcome | HTTP |
|---|---|
| Header missing | 401 missing_api_key |
| Unknown / revoked key | 401 invalid_api_key |
| Valid key, quota exhausted | 402 quota_exceeded |
| Valid key, quota OK | 200 |
Inspect quota + history
Rotate / revoke
In Account → API:- Generate a new key — issues a second active key; both work until you revoke the old one. This is the safe rotation path: deploy the new key, watch traffic, revoke the old key only after zero requests for ≥ 1h.
- Revoke — invalidates immediately. In-flight requests in the same
second may still succeed; everything after responds 401
invalid_api_key.
Security posture
- The plaintext is shown once. Re-display is impossible.
- The server stores only
sha256(key)+ the four-character prefix. - Logs never capture the full key —
aeg_xxxx…is the most you’ll see in error traces. - A leaked key gives the attacker only the leaking user’s quota. No cross-tenant access, no other resources are reachable through the V2 surface.
See also
- V2 introduction — billing + quota semantics
- GET /v2/me/usage — quota probe
- x402 protocol — the anonymous, account-less counterpart for AI-agent traffic

