@makehq/sdk
    Preparing search index...

    Type Alias AuditLogsPagination

    Pagination and sorting options for audit log listings.

    Distinct from the SDK's shared Pagination type: the audit log endpoints also support cursor pagination through last.

    The endpoints additionally accept returnTotalCount, which is deliberately absent here. It only populates the response's own pagination object, and the list methods return just the entries — so setting it could never change anything the caller observes.

    type AuditLogsPagination = {
        last: string;
        limit: number;
        offset: number;
        sortBy: AuditLogsSortBy;
        sortDir: "asc" | "desc";
    }
    Index

    Properties

    last: string

    imtId of the last entry from the previous page. When provided, offset is ignored.

    limit: number

    Maximum number of entries to return, between 1 and 10000. Defaults to 1000.

    offset: number

    Number of matching entries to skip. Ignored when last is provided. Defaults to 0.

    Property to sort results by. Defaults to triggeredAt.

    sortDir: "asc" | "desc"

    Sort direction. Defaults to asc.