- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
listAndCountApiKeys - API Key Module Reference
This documentation provides a reference to the listAndCountApiKeys
method. This belongs to the API Key Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
This method retrieves a paginated list of API keys along with the total count of available API keys satisfying the provided filters.
Example#
To retrieve a list of API keys using their IDs:
By default, only the first 15
records are retrieved. You can control pagination by specifying the skip
and take
properties of the config
parameter:
Parameters#
The filters to apply on the retrieved API keys.
The configurations determining how the api API is retrieved. Its properties, such as select
or relations
, accept the
attributes or relations associated with a API key.
select
or relations
, accept the
attributes or relations associated with a API key.Returns#
Promise
Promise<[ApiKeyDTO[], number]>The list of API keys along with their total count.
Promise
Promise<[ApiKeyDTO[], number]>Was this page helpful?