BrainUs LogoBrainUs AI
API Key Management

List API Keys

List all API keys for the authenticated user

GET
/api/v1/dev/keys

Authorization

BearerAuth
AuthorizationBearer <token>

JWT token authentication for API key management

In: header

Response Body

application/json

curl -X GET "https://api.brainus.lk/api/v1/dev/keys"
[
  {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "Production API Key",
    "key_prefix": "sk_live_",
    "is_active": true,
    "created_at": "2019-08-24T14:15:22Z",
    "last_used_at": "2019-08-24T14:15:22Z",
    "plan": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "Free",
      "description": "string",
      "rate_limit_per_minute": 10,
      "rate_limit_per_day": 1000,
      "monthly_quota": 10000,
      "price_lkr": 0,
      "allowed_models": [
        "string"
      ]
    }
  }
]
Empty