Amux AI

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.

GEThttps://gateway.amux.ai/v1/me

Authorization

header
AuthorizationstringRequired

Bearer <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

200response

Identity and limits of the key.

401response

Missing or invalid key.

Limit fields

limits contains only the settings configured on the key itself. Unset fields are omitted.

FieldDescription
rpmMaximum requests per minute
allowedModelsModels the key may call
spendSpend 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"
    }
  }
}