[Yandex Cloud documentation](../../../index.md) > [Yandex API Gateway](../../index.md) > [Step-by-step guides](../index.md) > Getting trigger info > Getting trigger information

# Getting information about a trigger in API Gateway

{% list tabs group=instructions %}

- Management console {#console}

  1. In the [management console](https://console.yandex.cloud), navigate to the folder containing the trigger.
  1. Navigate to **API Gateway**.
  1. In the left-hand panel, select ![image](../../../_assets/console-icons/gear-play.svg) **Triggers**.
  1. Select the trigger you want to get details about.

- 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.

    Get detailed information about a trigger:

    ```bash
    yc serverless trigger get <trigger_name>
    ```

    Result:

    ```text
    id: a1sltg0kn8bt********
    folder_id: b1gc1t4cb638********
    created_at: "2024-07-17T08:54:17.022Z"
    name: timer-trigger
    rule:
      timer:
        cron_expression: '* * ? * * *'
        gateway_websocket_broadcast:
          gateway_id: d5d1ud9bli1e********
          path: /
          service_account_id: aje07l4q4vmo********
    status: ACTIVE
    ```

- API {#api}

  To get information about a trigger, use the [get](../../triggers/api-ref/Trigger/get.md) REST API method for the [Trigger](../../triggers/api-ref/Trigger/index.md) resource or the [TriggerService/Get](../../triggers/api-ref/grpc/Trigger/get.md) gRPC API call.

{% endlist %}