Function getAutomationRuns

  • Retrieves a list of runs for a specific automation. The requesting user must be the owner of the automation, or be assigned the one of roles: TenantAdmin, AnalyticsAdmin. Alternatively, the user must have at least one of the following scopes: admin.automation-runs, automation-runs.private, or automation-runs.shared.

    Parameters

    • id: string

      The unique identifier for the automation.

    • query: {
          filter?: string;
          limit?: number;
          sort?:
              | "status"
              | "id"
              | "+status"
              | "-status"
              | "+id"
              | "-id"
              | "startTime"
              | "-startTime"
              | "+startTime";
      }

      an object with query parameters

      • Optionalfilter?: string

        Allowed filters: status, context, startTime, title, spaceId, ownerId, executedById, billable.

      • Optionallimit?: number
      • Optionalsort?:
            | "status"
            | "id"
            | "+status"
            | "-status"
            | "+id"
            | "-id"
            | "startTime"
            | "-startTime"
            | "+startTime"
    • Optionaloptions: ApiCallOptions

    Returns Promise<automations.GetAutomationRunsHttpResponse>

    GetAutomationRunsHttpError