@mastra/client-js 1.10.1-alpha.2 → 1.10.1-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -5105,6 +5105,22 @@ var MastraClient = class extends BaseResource {
5105
5105
  // ============================================================================
5106
5106
  // Dataset Experiments
5107
5107
  // ============================================================================
5108
+ /**
5109
+ * Lists all experiments across all datasets
5110
+ */
5111
+ listExperiments(pagination) {
5112
+ const searchParams = new URLSearchParams();
5113
+ if (pagination?.page !== void 0) searchParams.set("page", String(pagination.page));
5114
+ if (pagination?.perPage !== void 0) searchParams.set("perPage", String(pagination.perPage));
5115
+ const qs = searchParams.toString();
5116
+ return this.request(`/experiments${qs ? `?${qs}` : ""}`);
5117
+ }
5118
+ /**
5119
+ * Gets review status counts aggregated per experiment
5120
+ */
5121
+ getExperimentReviewSummary() {
5122
+ return this.request(`/experiments/review-summary`);
5123
+ }
5108
5124
  /**
5109
5125
  * Lists experiments for a dataset
5110
5126
  */