List API Keys

GET /api/v1/gateway/keys

Returns all API keys in your organization (full key strings are never included).

Auth: this endpoint belongs to the console backend API (base URL https://portal.aiin1.ai — note, not api.portal.aiin1.ai). It requires an access_token obtained by logging in with a console account (valid 15 minutes); the sk-nex- API token does not work here. See Billing Reconciliation & Automated Usage Sync for the login flow.

Example

curl -X GET https://portal.aiin1.ai/api/v1/gateway/keys \
  -H "Authorization: Bearer $ACCESS_TOKEN"

Response

Field Type Required Description
items array<KeyResponse> yes List of key objects — fields documented in Get API Key
total integer yes Total count