---
title: "/:channel/top"
method: GET
path: "/sessions/{channel}/top"
tags: ["sessions"]
---

# /:channel/top

`GET /sessions/{channel}/top`

## Request

- Base URL: `https://api.streamelements.com/kappa/v2`
- URL: `https://api.streamelements.com/kappa/v2/sessions/{channel}/top`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://api.streamelements.com/oauth2/authorize`
    - Token URL: `https://api.streamelements.com/oauth2/token`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/streamelements/apis/se-api-docs/docs/sessions/:channel/top/get.ts> (a function with typed inputs; its response is checked against the schema)

Get top events from aggregates

## Path parameters

- `channel` string, required

## Query parameters

- `limit` integer, required
- `offset` integer, required
- `interval` string, required
- `type` string, required

## Response `200`

---

[API](https://skmtc.dev/streamelements/apis/se-api-docs.md) - [All operations](https://skmtc.dev/streamelements/apis/se-api-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/streamelements/apis/se-api-docs/revisions/aa13169b9373?raw)
