Skip to main content
POST
Validate Llm Scorer Log Record

Authorizations

Galileo-API-Key
string
header
required

Body

application/json

Request to validate a new LLM scorer based on a log record. This is used to create a new experiment with the copied log records to store the metric testing results.

query
string
required
response
string
required
chain_poll_template
ChainPollTemplate · object
required

Template for a chainpoll metric prompt, containing all the info necessary to send a chainpoll prompt.

scorer_configuration
GeneratedScorerConfiguration · object
required
user_prompt
string
required
starting_token
integer
default:0
limit
integer
default:100
previous_last_row_id
string<uuid4> | null
log_stream_id
string<uuid4> | null

Log stream id associated with the traces.

experiment_id
string<uuid4> | null

Experiment id associated with the traces.

metrics_testing_id
string<uuid4> | null

Metrics testing id associated with the traces.

filters
(LogRecordsIDFilter · object | LogRecordsDateFilter · object | LogRecordsNumberFilter · object | LogRecordsBooleanFilter · object | LogRecordsCollectionFilter · object | LogRecordsTextFilter · object | LogRecordsFullyAnnotatedFilter · object)[]
filter_tree
FilterLeaf[Annotated[Union[LogRecordsIDFilter, LogRecordsDateFilter, LogRecordsNumberFilter, LogRecordsBooleanFilter, LogRecordsCollectionFilter, LogRecordsTextFilter, LogRecordsFullyAnnotatedFilter], FieldInfo(annotation=NoneType, required=True, discriminator='type')]] · object
sort
LogRecordsSortClause · object | null

Sort for the query. Defaults to native sort (created_at, id descending).

truncate_fields
boolean
default:false
include_counts
boolean
default:false

If True, include computed child counts (e.g., num_traces for sessions, num_spans for traces).

include_code_metric_metadata
boolean
default:false

If True, include per-row scorer metadata (the dict returned alongside the score by code-based scorers via the (score, metadata) tuple-return contract) on each MetricSuccess in the response. Off by default to keep payloads small for callers that don't need it.

normalized_input
(TextContentPart · object | FileContentPart · object)[] | null

Optional multimodal content parts. When set, replaces the text-only query/response formatting in the validation job so that file content is passed through to the LLM.

A text segment within a message.

Response

Successful Response

metrics_experiment_id
string<uuid4>
required
project_id
string<uuid4>
required