Getting information about a trigger in API Gateway
Written by
Updated at July 14, 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 installed yet, install and initialize it.
By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command 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.