Skip to main content
POST
/
v2
/
scorers
/
code
/
validate
/
log_record
Validate Code Scorer Log Record
curl --request POST \
  --url https://api.galileo.ai/v2/scorers/code/validate/log_record \
  --header 'Content-Type: multipart/form-data' \
  --header 'Galileo-API-Key: <api-key>' \
  --form file='@example-file' \
  --form 'log_stream_id=<string>' \
  --form 'experiment_id=<string>' \
  --form limit=100 \
  --form starting_token=123 \
  --form 'filters=<string>' \
  --form 'sort=<string>' \
  --form 'required_scorers=<string>' \
  --form 'scoreable_node_types=<string>'
{
  "metrics_experiment_id": "<string>"
}

Authorizations

Galileo-API-Key
string
header
required

Body

multipart/form-data
file
file
required
log_stream_id
string<uuid4> | null
experiment_id
string<uuid4> | null
limit
integer
default:100
starting_token
integer | null
filters
string | null

JSON string array of LogRecordsQueryFilter

sort
string | null

JSON string of LogRecordsSortClause

required_scorers
scoreable_node_types

Response

Successful Response

Response model for validating a scorer based on log records.

Returns the uuid of the experiment created with the copied log records to store the metric testing results.

metrics_experiment_id
string<uuid4>
required