SimplaixSimplaix Gateway
Reference

API Keys

Admin APIs for creating, listing, and revoking Gateway API keys (`gk_...`).

Endpoint Map

MethodPathAuthPurpose
POST/api/v1/admin/api-keysJWT + role admin/tenant_adminCreate API key
GET/api/v1/admin/api-keysJWT + role admin/tenant_adminList key metadata
DELETE/api/v1/admin/api-keys/:idJWT + role admin/tenant_adminRevoke key

Scopes

ScopeDescription
credentials:resolveResolve/check credentials
credentials:readRead credential metadata
credentials:writeStore/update credentials

Create Key

POST /api/v1/admin/api-keys
Authorization: Bearer <jwt>
Content-Type: application/json

{
  "name": "Agent Runtime",
  "scopes": ["credentials:resolve"],
  "expiresAt": "2026-06-01T00:00:00.000Z"
}
{
  "success": true,
  "message": "API key created. Store this key securely — it will not be shown again!",
  "key": "gk_...",
  "keyRecord": {
    "id": "...",
    "keyPrefix": "gk_xxxx",
    "name": "Agent Runtime",
    "scopes": ["credentials:resolve"],
    "isActive": true
  }
}

The full key is returned only once.

List Keys

GET /api/v1/admin/api-keys
Authorization: Bearer <jwt>

Returns metadata only (never raw key).

On this page