New Ory Agent Security is now live! Claim your complimentary test drive. Get Started!

Skip to main content

List Imported API Keys

GET 

/v2alpha1/admin/importedApiKeys

Lists all imported keys with filtering. Returns imported keys only (not issued keys). Supports pagination and AIP-160 filter expressions.

GET /v2alpha1/admin/importedApiKeys?page_size=50&filter=status%3DKEY_STATUS_ACTIVE
SDK ReferenceTypeScript
adminListImportedApiKeys()
ParametersTypeRequiredDescription
pageSizenumberoptionalNumber of items per page (default: 50, max: 1000)
pageTokenstringoptionalCursor token for pagination (OPTIONAL)
filterstringoptionalfilter is an AIP-160 expression. Indexed fields (efficient at any scale): actor_id, status. Other fields are not indexed and may be rejected. Examples: actor_id="user_123" status=KEY_STATUS_ACTIVE actor_id="user_123" AND status=KEY_STATUS_ACTIVE
VariableType
dataListImportedApiKeysResponse