Getting information about a trigger in API Gateway
Written by
Updated at May 5, 2025
Management console
CLI
API
- In the management console
, select the folder containing your trigger. - Open API Gateway.
- In the left-hand panel, select
Triggers. - Select the trigger you want to get details about.
If you do not have the Yandex Cloud CLI yet, install and initialize it.
The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID>
command. You can specify a different folder using the --folder-name
or --folder-id
parameter.
Get detailed information about a trigger:
yc serverless trigger get <trigger_name>
Result:
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
To get information about a trigger, use the get REST API method for the Trigger resource or the TriggerService/Get gRPC API call.