Skip to main content
List and filter through Keys

Usage

Returns

Parameters

Filter response with the following additional methods. All filters are optional.

name

  • Type: string
Filter by name, uses “contains” matching

revoked

  • Type: boolean
Filter keys by whether or not they have been revoked

exhausted

  • Type: boolean
Filter keys based on whether they had limited uses that were exhuasted

offset

  • Type: number
Offset the number of keys returned to paginate

Auto Paginate

The list method has an auto pagination feature that is triggered when used inside a for await iterator