POST
/
v2
/
projects
/
{project_id}
/
experiments
/
metrics
curl --request POST \
  --url https://api.galileo.ai/v2/projects/{project_id}/experiments/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"
    }
  ]
}'
{
  "metrics": [
    {
      "name": "<string>",
      "buckets": {},
      "average": 123
    }
  ]
}

Authorizations

Galileo-API-Key
string
header
required

Path Parameters

project_id
string
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.