> ## Documentation Index
> Fetch the complete documentation index at: https://forest-docs-mcp-server-agent-url.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Activity Logs

> List activity logs for a project environment

## List activity logs

Returns activity logs for a specific project and environment, sorted by `createdAt` date in descending order (most recent first).

Use the `createdAt` filter for pagination.

```
GET /v1/project/{projectName}/environment/{environmentName}/activity-logs
```

### Authentication

All requests require a Bearer token in the `Authorization` header. Generate one from [your account settings](https://app.forestadmin.com/user-settings).

```
Authorization: Bearer YOUR_APPLICATION_TOKEN
```

<Warning>
  The token must be generated by a user with an **Admin** role on the project. Tokens generated by non-admin users will not have access to this endpoint.
</Warning>

<Warning>
  If your project uses SSO, the application token must be generated while logged in with SSO.
</Warning>

### Path parameters

| Parameter         | Type   | Description                                          |
| ----------------- | ------ | ---------------------------------------------------- |
| `projectName`     | string | Your project name                                    |
| `environmentName` | string | The environment name (e.g., `production`, `staging`) |
