Get Channels
Catalyst Data Streams allows you to retrieve information about channels created in your project. You can fetch a list of all channels or get detailed information about a specific channel.
The data_streams reference used in the below code snippets is the component instance created earlier. To know more about this instance, please refer to this section.
Get All Channels
This method fetches the list of all Data Streams channels that are created in the project using the get_all_channels() method.
# Get all channels (admin)
channels = data_streams.get_all_channels()
Get Channel Details
This method retrieves the metadata and configuration details of a specific channel by passing the channel ID to the get_channel_details() method.
Parameters Used
| Parameter Name | Data Type | Definition |
|---|---|---|
| channel_id | String | A Mandatory parameter. Holds the unique ID of the channel. |
# Get channel details
channel = data_streams.get_channel_details("CHANNEL_ID")
Last Updated 2026-08-13 17:11:55 +0530 IST
Yes
No
Send your feedback to us