POST
/
v2
/
projects
/
{project_id}
/
recompute-metrics
Recompute Metrics
curl --request POST \
  --url https://api.galileo.ai/v2/projects/{project_id}/recompute-metrics \
  --header 'Content-Type: application/json' \
  --header 'Galileo-API-Key: <api-key>' \
  --data '{
  "filters": [
    {
      "case_sensitive": true,
      "name": "input",
      "operator": "eq",
      "type": "text",
      "value": "example input"
    }
  ],
  "log_stream_id": "00000000-0000-0000-0000-000000000000",
  "pagination": {
    "limit": 5,
    "starting_token": 0
  },
  "sort": {
    "ascending": false,
    "name": "updated_at",
    "sort_type": "column"
  }
}'
"<any>"

Authorizations

Galileo-API-Key
string
header
required

Path Parameters

project_id
string<uuid4>
required

Body

application/json

Request to recompute metrics for a genai project run (log stream or experiment). This request is used to trigger recomputation of metrics based on the provided filters and scorer IDs.

Response

200
application/json

Successful Response

The response is of type any.