@langfuse/core 4.6.0 → 4.6.1

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.d.cts CHANGED
@@ -4372,6 +4372,8 @@ interface GetScoresRequest {
4372
4372
  datasetRunId?: string;
4373
4373
  /** Retrieve only scores with a specific traceId. */
4374
4374
  traceId?: string;
4375
+ /** Comma-separated list of observation IDs to filter scores by. */
4376
+ observationId?: string;
4375
4377
  /** Retrieve only scores with a specific annotation queueId. */
4376
4378
  queueId?: string;
4377
4379
  /** Retrieve only scores with a specific dataType. */
package/dist/index.d.ts CHANGED
@@ -4372,6 +4372,8 @@ interface GetScoresRequest {
4372
4372
  datasetRunId?: string;
4373
4373
  /** Retrieve only scores with a specific traceId. */
4374
4374
  traceId?: string;
4375
+ /** Comma-separated list of observation IDs to filter scores by. */
4376
+ observationId?: string;
4375
4377
  /** Retrieve only scores with a specific annotation queueId. */
4376
4378
  queueId?: string;
4377
4379
  /** Retrieve only scores with a specific dataType. */
package/dist/index.mjs CHANGED
@@ -270,7 +270,7 @@ var resetGlobalLogger = () => {
270
270
  // package.json
271
271
  var package_default = {
272
272
  name: "@langfuse/core",
273
- version: "4.5.1",
273
+ version: "4.6.0",
274
274
  description: "Core functions and utilities for Langfuse packages",
275
275
  type: "module",
276
276
  sideEffects: false,
@@ -10611,6 +10611,7 @@ var ScoreV2 = class {
10611
10611
  sessionId,
10612
10612
  datasetRunId,
10613
10613
  traceId,
10614
+ observationId,
10614
10615
  queueId,
10615
10616
  dataType,
10616
10617
  traceTags,
@@ -10666,6 +10667,9 @@ var ScoreV2 = class {
10666
10667
  if (traceId != null) {
10667
10668
  _queryParams["traceId"] = traceId;
10668
10669
  }
10670
+ if (observationId != null) {
10671
+ _queryParams["observationId"] = observationId;
10672
+ }
10669
10673
  if (queueId != null) {
10670
10674
  _queryParams["queueId"] = queueId;
10671
10675
  }