Authentication
The Aethex API uses API keys to authenticate every request.
API keys
Create keys at developers.aethexai.com. Keys look like ae_live_<32 hex> and are only shown once at creation, so store yours in an environment variable.
bash
export AETHEX_API_KEY="ae_live_a1b2c3d4e5f6..."Send the key
Pass your key on every request via X-API-Key, xi-api-key, or Authorization: Bearer '<'key'>'. All three work the same way; xi-api-key is accepted for clients that already use that header.
bash
curl https://api.aethexai.com/api/v1/agents \
-H "X-API-Key: $AETHEX_API_KEY"