List API keys
List API keys for the current organization. Returns key metadata including name, kind, expiration, and last usage — the secret token value is never included in the response.
API key kinds:
personal— tied to a specific user, inherits that user’s permissions.team— scoped to one or more teams (groups), creates a service account with permissions derived from group membership.organization— organization-wide, creates a service account with a configurable role and on-call role.
Automated rotation workflow: Use filter[expires_at][lt] to find keys approaching expiration, then call the rotate endpoint to issue a new token before the old one expires. Combine with filter[active]=true to exclude already-expired keys.
Sorting: Use the sort parameter with a field name (e.g., sort=expires_at). Prefix with - for descending order (e.g., sort=-created_at). Allowed fields: name, kind, created_at, updated_at, expires_at, last_used_at.