Verify Key
Last updated October 29, 2026
Return the identity and limits associated with an API key, for verifying key configuration.
Returns the identity and limits associated with the current API key. This endpoint is not billed and can be used to verify the key and base URL during integration.
GET
https://gateway.amux.ai/v1/meAuthorization
headerAuthorizationstringRequiredBearer <your Amux AI key> An Amux key created in the console. If you lose it, you can view it again on the keys page.
Response
200responseIdentity and limits of the key.
401responseMissing or invalid key.
Limit fields
limits contains only the settings configured on the key itself. Unset fields are omitted.
| Field | Description |
|---|---|
rpm | Maximum requests per minute |
allowedModels | Models the key may call |
spend | Spend limits as integer strings in nano-USD (10⁻⁹ USD). For example, "20000000000" is 20 USD |
Workspace-level model allowlists and spend limits are not returned here. Both apply to requests, and the stricter setting takes effect. To retrieve the remaining amounts, use Get balance and spend limits.
cURL
curl https://gateway.amux.ai/v1/me \
-H "Authorization: Bearer $AMUX_API_KEY"{
"apiKeyId": "1024",
"workspaceId": "ws_xNEw2Zt-mjwmSZSL",
"limits": {
"rpm": 600,
"allowedModels": [
"gpt-6.1"
],
"spend": {
"totalNano": "500000000000",
"dailyNano": "20000000000",
"weeklyNano": "100000000000",
"monthlyNano": "300000000000"
}
}
}