[Yandex Cloud documentation](../../../index.md) > [Yandex Cloud Functions](../../index.md) > [Step-by-step guides](../index.md) > Getting information about a function > Getting a list of function versions

# Getting a list of function versions

{% list tabs group=instructions %}

- Management console {#console}

    1. In the [management console](https://console.yandex.cloud), navigate to the folder containing the function.
    1. Navigate to **Cloud Functions**.
    1. In the left-hand panel, select ![image](../../../_assets/console-icons/curly-brackets-function.svg) **Functions**.
    1. Select the function for which you want to get the list of versions.
    1. Under **Version history**, you will see the list of function versions and their details.

- 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 find out the name or ID of a function, [get](function-list.md) the list of functions in the folder.

    To get a list of function versions, run the following command:

    ```bash
    yc serverless function version list --function-name <function_name>
    ```

    Result:

    ```text
    +----------------------+----------------------+-----------+--------------+---------+---------------------+
    |          ID          |     FUNCTION ID      |  RUNTIME  |  ENTRYPOINT  |  TAGS   |     CREATED AT      |
    +----------------------+----------------------+-----------+--------------+---------+---------------------+
    | b09u830mb1n3******** | b097d9ous3ge******** | python311 | test.handler | $latest | 2023-08-22 09:23:23 |
    | b09ch6pmpohf******** | b097d9ous3ge******** | python311 | test.handler | beta    | 2023-08-22 09:12:38 |
    +----------------------+----------------------+-----------+--------------+---------+---------------------+
    ```

- API {#api}

    To get a list of function versions, use the [listVersions](../../functions/api-ref/Function/listVersions.md) REST API method for the [Function](../../functions/api-ref/Function/index.md) resource or the [FunctionsService/ListVersions](../../functions/api-ref/grpc/Function/listVersions.md) gRPC API call.


{% endlist %}