--- title: "Get Channels" url: https://docs.catalyst.zoho.com/en/sdk/java/v1/cloud-scale/data-streams/get-channels/ description: "This page describes the methods to retrieve all channels or specific channel details from Catalyst Data Streams in your Java application with sample code snippets." last_updated: 2026-07-07T05:22:22Z service: Cloud Scale type: general related_links: - name: "Data Streams" url: /en/cloud-scale/help/data-streams/introduction --- # Get Channels [Catalyst Data Streams](https://docs.catalyst.zoho.com/en/cloud-scale/help/data-streams/introduction/) 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. ### Get All Channels This method fetches the list of all Data Streams channels that are created in the project using the `getAllChannels()` method. #### Sample Code Snippet **Package Imports** ```java import com.zc.component.datastream.ZCDatastream; import com.zc.component.datastream.beans.ZCChannelDetails; import java.util.List; ``` ```java //Create a Data Streams instance ZCDatastream datastream = ZCDatastream.getInstance(); //Get all channels List channels = datastream.getAllChannels(); ``` ### Get Channel Details This method retrieves the metadata and configuration details of a specific channel by passing the channel ID to the `getChannelDetails()` method. #### Sample Code Snippet **Package Imports** ```java import com.zc.component.datastream.ZCDatastream; import com.zc.component.datastream.beans.ZCChannelDetails; ``` ```java //Create a Data Streams instance ZCDatastream datastream = ZCDatastream.getInstance(); //Get channel details by channel ID ZCChannelDetails channelDetails = datastream.getChannelDetails("CHANNEL_ID"); ```