Skip to Content
You are viewing a beta version of Clerk Docs
Visit the latest docs
Clerk logo

Clerk Docs

Ctrl + K
Go to clerk.com

PaginatedResourceResponse

An interface that describes the response of a method that returns a paginated list of resources.

Properties

PropertiesTypeDescription
dataT[]An array that contains the fetched data.
totalCountnumberThe total count of data that exist remotely.

Returns

If the promise resolves, you will get back the properties listed above. data will be an array of the resource type you requested, but it will only return the first 10 items. You can use the totalCount property to determine how many total items exist remotely.

If the promise is rejected, you will receive a ClerkAPIResponseError or network error.

Last updated on February 28, 2024

What did you think of this content?

Clerk © 2024