Skip to main content

Type Alias: ExperimentResponseType

Defined in: src/types/new-api.types.ts ExperimentResponse

Properties

aggregateFeedback?

Defined in: src/types/new-api.types.ts Aggregate Feedback Aggregate feedback information related to the experiment (traces only)

Index Signature

Deprecated


aggregateMetrics?

Defined in: src/types/new-api.types.ts Aggregate Metrics

Index Signature

Deprecated

Use metricAggregates instead, which returns full statistical aggregates (avg, min, max, p50, p90, p95, p99) keyed by scorer UUID for scorer-backed metrics, or raw string for system metrics (e.g. ‘cost’, ‘duration_ns’).

createdAt?

Defined in: src/types/new-api.types.ts Created Timestamp of the experiment’s creation

createdBy?

Defined in: src/types/new-api.types.ts Created By

createdByUser?

Defined in: src/types/new-api.types.ts

dataset?

Defined in: src/types/new-api.types.ts

getMetricAggregate()?

Defined in: src/types/new-api.types.ts Look up aggregate statistics for a metric by any identifier. Populated by the SDK via _enrichExperimentResponse. Accepts (in priority order):
  1. Scorer UUID string — direct lookup in metricAggregates
  2. GalileoMetrics value / human-readable label (e.g. “Correctness”)
  3. Legacy metric_key_alias (e.g. “correctness”) — fallback after label miss

Parameters

metric
string

Returns

Promise<MetricAggregates | undefined>

id

Defined in: src/types/new-api.types.ts ID Galileo ID of the experiment

metricAggregates?

Defined in: src/types/new-api.types.ts Metric Aggregates Structured aggregate metrics keyed by scorer UUID for scorer-backed metrics, or raw string for system metrics (e.g. ‘cost’, ‘duration_ns’). Alias for structuredAggregateMetrics — use this field instead of the deprecated aggregateMetrics. Populated by the SDK from structuredAggregateMetrics.

name?

Defined in: src/types/new-api.types.ts Name Name of the experiment

numSpans?

Defined in: src/types/new-api.types.ts Num Spans

numTraces?

Defined in: src/types/new-api.types.ts Num Traces

playground?

Defined in: src/types/new-api.types.ts

playgroundId?

Defined in: src/types/new-api.types.ts Playground Id

projectId

Defined in: src/types/new-api.types.ts Project ID Galileo ID of the project associated with this experiment

prompt?

Defined in: src/types/new-api.types.ts

promptModel?

Defined in: src/types/new-api.types.ts Prompt Model

promptRunSettings?

Defined in: src/types/new-api.types.ts

rank?

Defined in: src/types/new-api.types.ts Rank

rankingScore?

Defined in: src/types/new-api.types.ts Ranking Score

ratingAggregates?

Defined in: src/types/new-api.types.ts Rating Aggregates Annotation aggregates keyed by template ID and root type

Index Signature


status?

Defined in: src/types/new-api.types.ts

structuredAggregateMetrics?

Defined in: src/types/new-api.types.ts Structured Aggregate Metrics Structured aggregate metrics keyed by raw metric name with full statistical aggregates. Present only when use_clickhouse_run_aggregates flag is enabled.

tags?

Defined in: src/types/new-api.types.ts Tags

Index Signature


taskType

Defined in: src/types/new-api.types.ts

updatedAt?

Defined in: src/types/new-api.types.ts Last Updated Timestamp of the trace or span’s last update

winner?

Defined in: src/types/new-api.types.ts Winner