---
title: "Get list of subchannels within the channel"
method: GET
path: "/channels/{channel_name}/subchannels"
tags: ["channels"]
---

# Get list of subchannels within the channel

`GET /channels/{channel_name}/subchannels`

## Path parameters

- `channel_name` string, required

## Query parameters

- `offset` integer
- `limit` integer
- `q` string
- `ids` string[]
- `sort` string[]

## Response `200`

get the subchannels of the channel

- object
  - `total_count` number
  - `items` Subchannel[]
    - `id` string
    - `name` string — This can be any string based name
    - `description` string
    - `parent` string — name of parent channel
    - `privacy` 'private' | 'authenticated' | 'public' — channel privacy channel
    - `channel_type` 'default' | 'virtual' — channel type
    - `indexing_behavior` 'default' | 'frozen' — channel indexing behavior
    - `sources` VirtualChannelSource[]
      - `name` string, required
      - `parent_name` string
    - `created` string — date created
    - `updated` string — date of last update

## 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.net/anaconda/apis/anaconda-server-api.md) · [All operations](https://skmtc.net/anaconda/apis/anaconda-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/anaconda/anaconda-server-api/revisions/6aef0cb7a151/schema)
