Function getTasksResourceRuns_FIX_THIS_QUIRKY_NAME

  • Retrieves a paginated list of task runs for a given resource, identified by id. Returns run history across all tasks associated with that resource, ordered by the most recent run by default.

    Parameters

    • id: string

      The unique identifier of the resource to retrieve task runs for.

    • query: {
          limit?: number;
          page?: string;
          sort?:
              | "+status"
              | "-status"
              | "+startedAt"
              | "-startedAt"
              | "+endedAt"
              | "-endedAt"
              | "+taskId"
              | "-taskId"
              | "+actionId"
              | "-actionId";
      }

      an object with query parameters

      • Optionallimit?: number

        Maximum number of task runs to return per page.

      • Optionalpage?: string
      • Optionalsort?:
            | "+status"
            | "-status"
            | "+startedAt"
            | "-startedAt"
            | "+endedAt"
            | "-endedAt"
            | "+taskId"
            | "-taskId"
            | "+actionId"
            | "-actionId"
    • Optionaloptions: ApiCallOptions

    Returns Promise<GetTasksResourceRuns_FIX_THIS_QUIRKY_NAMEHttpResponse>

    GetTasksResourceRuns_FIX_THIS_QUIRKY_NAMEHttpError