@makehq/sdk
    Preparing search index...

    Type Alias SearchExecutionsOptions

    Options for the organization-wide execution search.

    type SearchExecutionsOptions = {
        errorMessage?: string;
        from?: number;
        pageIndex?: number;
        pageSize?: number;
        scenarioIds?: number[];
        status?: (1 | 2 | 3)[];
        teamId?: number;
        to?: number;
    }
    Index

    Properties

    errorMessage?: string

    Substring to match against the execution's error message

    from?: number

    Lower bound of the time window in epoch milliseconds, applied at UTC-day granularity (defaults to 7 days before to)

    pageIndex?: number

    Zero-based index of the page to return

    pageSize?: number

    Maximum number of executions to return (max 500, default 50)

    scenarioIds?: number[]

    Restrict the search to these scenario IDs

    status?: (1 | 2 | 3)[]

    Execution statuses to include: 1 = success, 2 = warning, 3 = error

    teamId?: number

    Restrict the search to a single team; all teams the user has access to are searched when omitted

    to?: number

    Upper bound of the time window in epoch milliseconds, applied at UTC-day granularity (defaults to now)