[Yandex Cloud documentation](../../index.md) > [Yandex Data Processing](../index.md) > [Step-by-step guides](index.md) > Yandex Data Processing clusters > Information about existing clusters

# Information about existing Yandex Data Processing clusters

You can get details about each Yandex Data Processing cluster.

## Getting a list of clusters in a folder {#list}

{% list tabs group=instructions %}

- Management console {#console}

    1. Open the [folder dashboard](https://console.yandex.cloud).
    1. Navigate to **Yandex Data Processing**.

- CLI {#cli}

    If you do not have the Yandex Cloud CLI yet, [install and initialize it](../../cli/quickstart.md#install).

    The folder used by default is the one specified when [creating](../../cli/operations/profile/profile-create.md) the CLI profile. To change the default folder, use the `yc config set folder-id <folder_ID>` command. You can also specify a different folder for any command using `--folder-name` or `--folder-id`. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

    To get a list of Yandex Data Processing clusters in the default folder, run this command:

    ```bash
    yc dataproc cluster list
    ```

- API {#api}

    Use the [list](../api-ref/Cluster/list.md) API method.

{% endlist %}

## Getting cluster details {#detail}

{% list tabs group=instructions %}

- Management console {#console}

    1. Open the [folder dashboard](https://console.yandex.cloud).
    1. Navigate to **Yandex Data Processing**.
    1. Click the cluster name.

- CLI {#cli}

    If you do not have the Yandex Cloud CLI yet, [install and initialize it](../../cli/quickstart.md#install).

    The folder used by default is the one specified when [creating](../../cli/operations/profile/profile-create.md) the CLI profile. To change the default folder, use the `yc config set folder-id <folder_ID>` command. You can also specify a different folder for any command using `--folder-name` or `--folder-id`. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

    To get Yandex Data Processing cluster details, run this command:

    ```bash
    yc dataproc cluster get <cluster_name_or_ID>
    ```

    You can get the cluster ID and name with the [list of clusters in the folder](#list).

- API {#api}

    Call the [get](../api-ref/Cluster/get.md) API method, providing the cluster ID in the `clusterId` request parameter.

    You can get the cluster ID with the [list of clusters in the folder](#list).

{% endlist %}

## Viewing operations with clusters {#operations}

All actions with Yandex Data Processing clusters are logged as a list of operations. Each operation gets its own unique ID.

### Getting a list of operations {#get-operations}

{% list tabs group=instructions %}

- Management console {#console}

  To view operations with all Yandex Data Processing clusters, select ![image](../../_assets/console-icons/list-check.svg) **Operations** in the left-hand panel. In the list that opens, you will also see operations for the deleted clusters.

  You can get a list of operations for a specific resource. The steps below describe how you can do this for a Yandex Data Processing cluster.

  1. In the [management console](https://console.yandex.cloud), open the folder containing the cluster.
  1. Navigate to **Yandex Data Processing**.
  1. Select the cluster and open the ![image](../../_assets/console-icons/list-check.svg) **Operations** tab.

     You will see the list of operations with the cluster.

- CLI {#cli}

  If you do not have the Yandex Cloud CLI yet, [install and initialize it](../../cli/quickstart.md#install).

  The folder used by default is the one specified when [creating](../../cli/operations/profile/profile-create.md) the CLI profile. To change the default folder, use the `yc config set folder-id <folder_ID>` command. You can also specify a different folder for any command using `--folder-name` or `--folder-id`. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

  To get a list of operations for a Yandex Data Processing cluster, run this command:

  ```bash
  yc dataproc cluster list-operations <cluster_name_or_ID>
  ```

  Result:

  ```text
  +----------------------+---------------------+----------------------+---------------------+--------+--------------------------------+
  |          ID          |     CREATED AT      |      CREATED BY      |     MODIFIED AT     | STATUS |          DESCRIPTION           |
  +----------------------+---------------------+----------------------+---------------------+--------+--------------------------------+
  | c9q2n4s13p5v******** | 2024-08-06 06:19:47 | ajej2i98kcjd******** | 2024-08-06 06:21:36 | DONE   | Create Data Processing cluster |
  +----------------------+---------------------+----------------------+---------------------+--------+--------------------------------+
  ```

  You can get the cluster ID and name with the [list of clusters in the folder](#list).

  By default, information about transactions is displayed in text format. To get more details, specify `yaml` or `json` for the output data using the `--format` argument:

  ```bash
  yc dataproc cluster list-operations epdplu8jn7sr******** --format yaml
  ```

  Result:

  ```text
  - id: c9q2n4s13p5v********
    description: Create Data Processing cluster
    created_at: "2024-08-06T06:19:47.755364Z"
    created_by: ajej2i98kcjd********
    modified_at: "2024-08-06T06:21:36.095300Z"
    done: true
    metadata:
      '@type': type.googleapis.com/yandex.cloud.dataproc.v1.CreateClusterMetadata
      cluster_id: c9q77tr1aq3g********
    response:
      '@type': type.googleapis.com/yandex.cloud.dataproc.v1.Cluster
  ...
  ```

- API {#api}

  Use the [listOperations](../api-ref/Cluster/listOperations.md) REST API method for the [Cluster](../api-ref/Cluster/index.md) resource or the [ClusterService/ListOperations](../api-ref/grpc/Cluster/listOperations.md) gRPC API call and provide the cluster ID in the request.

  You can get the cluster ID with the [list of clusters in the folder](#list).

{% endlist %}

### Getting operation details {#get-operations-info}

1. [Get the list of operations](#get-operations) for the cluster.
1. Copy the ID of the operation you need.
1. Get the operation details:

   {% list tabs group=instructions %}

   - CLI {#cli}

     If you do not have the Yandex Cloud CLI yet, [install and initialize it](../../cli/quickstart.md#install).

     The folder used by default is the one specified when [creating](../../cli/operations/profile/profile-create.md) the CLI profile. To change the default folder, use the `yc config set folder-id <folder_ID>` command. You can also specify a different folder for any command using `--folder-name` or `--folder-id`. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

     Run this command:

     ```bash
     yc operation get <operation_ID>
     ```

     Result:

     ```text
     id: c9q2n4s13p5v********
     description: Create Data Processing cluster
     created_at: "2024-08-06T06:19:47.755364Z"
     created_by: ajej2i98kcjd********
     modified_at: "2024-08-06T06:21:36.095300Z"
     done: true
     metadata:
       '@type': type.googleapis.com/yandex.cloud.dataproc.v1.CreateClusterMetadata
       cluster_id: c9q77tr1aq3g********
     response:
       '@type': type.googleapis.com/yandex.cloud.dataproc.v1.Cluster
     ...
     ```

   - API {#api}

     Use the [OperationService/Get](../api-ref/grpc/Operation/get.md) gRPC API call and provide the operation ID in the request.

   {% endlist %}

### See also {#see-also}

* [Working with operations](../../api-design-guide/concepts/about-async.md)