List API keys
Lists the valid (not revoked, not expired) API keys of the caller’s
organization that belong to the caller’s environment: a production
session lists production keys (including untagged legacy keys), a
session in Sandbox mode lists sandbox keys. There is one host for both;
environment on each key is the caller’s environment.
Returns the first page of keys from the identity provider only (no
pagination parameters are accepted); totalCount is the number of keys
in data, not a grand total.
Requires scope api_keys:manage. That scope is held by the org:admin
role and cannot be granted to a new API key, so in practice this is a
dashboard (session) endpoint; only legacy wildcard (*) keys can call
it with an API key.
Authentication
Session JWT or API key (ak_...)
Response
Number of keys in data.
