---
title: "Get the history logs of the channel"
method: GET
path: "/channels/{channel_name}/history"
tags: ["channels"]
---

# Get the history logs of the channel

`GET /channels/{channel_name}/history`

## Request

- Base URL: `https://api.anaconda.cloud/api`
- URL: `https://api.anaconda.cloud/api/channels/{channel_name}/history`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Auth`
- TypeScript: <https://skmtc.dev/anaconda/apis/anaconda-server-api/docs/channels/:channel_name/history/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `channel_name` string, required

## Query parameters

- `event_types` string[]
- `offset` integer
- `limit` integer

## Response `200`

successfully retrieved the activity logs for the channel

- ChannelHistory: The object to return for Channel History
  - `items` object[], required
    - `event_type` string: Event type
    - `data` object: Event data
    - `meta` object: the captured event context
    - `created` number: timestamp of log creation

## Other responses

- `401`: Unauthenticated, no token is provided or token is invalid
- `403`: Access is forbidden
- `404`: The specified resource was not found
- `500`: Internal server error

---

[API](https://skmtc.dev/anaconda/apis/anaconda-server-api.md) - [All operations](https://skmtc.dev/anaconda/apis/anaconda-server-api/llms.txt) - [OpenAPI document](https://skmtc.dev/anaconda/apis/anaconda-server-api/revisions/6aef0cb7a151?raw)
