cURL
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>" }
Validate a code scorer using actual log records.
JSON string array of LogRecordsQueryFilter
JSON string of LogRecordsSortClause
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.
Was this page helpful?