NewWacht Bench is live — AI-assisted development for Wacht

listWaitlist()

Returns paginated waitlist rows with optional search/sort filters.

Usage

The following example shows a basic usage of the backend client from @wacht/nextjs/server.

import { wachtClient } from '@wacht/nextjs/server';export async function listWaitlist() {  const client = await wachtClient();  return client.invitations.listWaitlist({ limit: 20 });}

Signature

function listWaitlist(  options?: {    limit?: number;    offset?: number;    sort_key?: string;    sort_order?: string;    search?: string;  },): Promise<PaginatedResponse<DeploymentWaitlistUser>>

List options

options.limit?: number | undefined;
Maximum page size.
options.offset?: number | undefined;
Result offset.
options.sort_key?: string | undefined;
Sort field.
options.sort_order?: string | undefined;
Sort direction.
options.search?: string | undefined;
Search term.

Return value

data?: DeploymentWaitlistUser[] | undefined;
Current page result items.
has_more?: boolean | undefined;
Whether additional pages are available.
limit?: number | undefined;
Effective page size when returned by backend.
offset?: number | undefined;
Effective offset when returned by backend.

Behavior

  • Returns a backend-scoped list response for this resource.
  • Use pagination and filters from this method to build admin list views.

On this page