---
title: "List tunnels project lifecycle events"
method: GET
path: "/api/projects/tunnels/{projectId}/events"
tags: ["observability"]
---

# List tunnels project lifecycle events

`GET /api/projects/tunnels/{projectId}/events`

## Request

- Base URL: `https://rstream.io`
- URL: `https://rstream.io/api/projects/tunnels/{projectId}/events`
- Auth: HTTP bearer

## Path parameters

- `projectId` string, required

## Query parameters

- `timeline` '30m' | '1h' | '12h' | '24h' | '3d' | '1w' | '30d'
- `start` string, date-time
- `end` string, date-time
- `eventType` string
- `eventCategory` 'lifecycle' | 'stream_log'
- `afterEventId` string
- `page` integer
- `pageSize` integer
- `order` 'asc' | 'desc'

## Response `200`

Successful response.

- ListTunnelsProjectEventsResponse
  - `events` object[], required
    - `id` string, required
    - `eventId` string, required
    - `eventType` string, required
    - `eventCategory` 'lifecycle' | 'stream_log', required
    - `projectId` string, required
    - `workspaceId` string, required
    - `clusterId` string, required
    - `userId` string
    - `payload` unknown
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `expiresAt` string, date-time
  - `page` integer, required
  - `pageSize` integer, required
  - `total` integer, required
  - `totalPages` integer, required

## Other responses

- `400`: Request validation failed.
- `401`: Authentication is required.
- `403`: The token is not authorized.
- `404`: Project not found.

---

[API](https://skmtc.dev/rstream/apis/rstream-api.md) · [All operations](https://skmtc.dev/rstream/apis/rstream-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rstream/apis/rstream-api/revisions/a840a2c91f22?raw)
