Options for paginated list queries. Passed as optional parameters to methods that return PaginatedResult.

interface PaginationOptions {
    cursor?: string;
    limit?: number;
}

Properties

Properties

cursor?: string

Opaque cursor token returned from a previous call. Omit (or pass undefined) to start from the first page.

limit?: number

Maximum number of items to return per page. Defaults to 20 when omitted.