Skip to Content
Clerk logo

Clerk Docs

Ctrl + K
Go to clerkstage.dev

ClerkPaginatedResponse

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.

Error handling

Clerk's SDKs always use Promise<ClerkPaginatedResponse<T>>. If the promise resolves, you will get back the properties listed above. If the promise is rejected, you will receive a ClerkAPIResponseError or network error.

What did you think of this content?

Clerk © 2024