# Find experiment groups with aggregations

**GET** `/v1/private/experiments/groups/aggregations`

Find experiments grouped by specified fields with aggregation metrics

Base URL: `https://www.comet.com/opik/api`

Tags: `Experiments`

## Authorization

This operation requires no authorization.

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `groups` | `string` | No | — |
| `types` | `string` | No | — |
| `name` | `string` | No | — |
| `project_id` | `string` (uuid) | No | — |
| `project_deleted` | `boolean` | No | — |
| `filters` | `string` | No | — |

## Responses

| Status | Description | Media type |
| --- | --- | --- |
| `200` | Experiment groups with aggregations | `application/json` |
| `400` | Bad Request | `application/json` |

### Example response: 200 — Experiment groups with aggregations

```json
{
  "content": {
    "additionalProp1": {
      "aggregations": {
        "duration": {
          "p50": 0,
          "p90": 0,
          "p99": 0
        },
        "experiment_count": 0,
        "experiment_scores": [
          {
            "name": "string",
            "value": 0
          }
        ],
        "feedback_scores": [
          {
            "name": "string",
            "value": 0
          }
        ],
        "pass_rate_avg": 0,
        "passed_count_sum": 0,
        "total_count_sum": 0,
        "total_estimated_cost": 0,
        "total_estimated_cost_avg": 0,
        "trace_count": 0
      },
      "label": "string"
    }
  }
}
```

### Example response: 400 — Bad Request

```json
{
  "code": 0,
  "details": "string",
  "message": "string"
}
```

## Related pages

- [Activate a pairing session](./activatepairingsession.md)
- [Add blueprint to existing config](./updateagentconfig.md)
- [Add items to annotation queue](./additemstoannotationqueue.md)
- [Add span comment](./addspancomment.md)
- [Add span feedback score](./addspanfeedbackscore.md)
- [Add thread comment](./addthreadcomment.md)
- [Add trace comment](./addtracecomment.md)
- [Add trace feedback score](./addtracefeedbackscore.md)
- [Agent Configs](./tags/agent-configs.md)
- [Agent Insights](./tags/agent-insights.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
