# Get recent activity for a project

**GET** `/v1/private/projects/{projectId}/activities`

Returns the most recent activity items across all entity types for a project, sorted by date descending.

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

Tags: `Projects`

## Authorization

This operation requires no authorization.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `projectId` | `string` (uuid) | Yes | — |

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `page` | `integer` (int32) | No | — |
| `size` | `integer` (int32) | No | — |

## Responses

| Status | Description | Media type |
| --- | --- | --- |
| `200` | Recent activity page | `application/json` |
| `400` | Bad Request | `application/json` |
| `500` | Internal Server Error | `application/json` |

### Example response: 200 — Recent activity page

```json
{
  "content": [
    {
      "created_at": "2026-06-09T00:00:00Z",
      "created_by": "string",
      "id": "00000000-0000-0000-0000-000000000000",
      "name": "string",
      "resource_id": "00000000-0000-0000-0000-000000000000",
      "type": "alert_event"
    }
  ],
  "page": 0,
  "size": 0,
  "total": 0
}
```

### Example response: 400 — Bad Request

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

### Example response: 500 — Internal Server Error

```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.
