ℹ️ These docs are for the free version of Galileo. Documentation for current customers can be found here.
curl --request POST \
--url https://api.galileo.ai/v2/projects/{project_id}/metrics/search \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"end_time": "2023-10-01T01:00:00Z",
"filters": [
{
"case_sensitive": true,
"name": "input",
"operator": "eq",
"type": "text",
"value": "example input"
}
],
"group_by": "model",
"interval": 5,
"log_stream_id": "00000000-0000-0000-0000-000000000000",
"start_time": "2023-10-01T00:00:00Z"
}'
{
"group_by_columns": [
"<string>"
],
"aggregate_metrics": {},
"bucketed_metrics": {}
}
curl --request POST \
--url https://api.galileo.ai/v2/projects/{project_id}/metrics/search \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"end_time": "2023-10-01T01:00:00Z",
"filters": [
{
"case_sensitive": true,
"name": "input",
"operator": "eq",
"type": "text",
"value": "example input"
}
],
"group_by": "model",
"interval": 5,
"log_stream_id": "00000000-0000-0000-0000-000000000000",
"start_time": "2023-10-01T00:00:00Z"
}'
{
"group_by_columns": [
"<string>"
],
"aggregate_metrics": {},
"bucketed_metrics": {}
}
Successful Response
The response is of type object
.
Was this page helpful?