--- title: "Get Trigger" slug: "compute-cloudfunctions-gettrigger" updated: 2026-09-17T09:57:45Z published: 2026-09-17T09:57:45Z canonical: "api.ncloud-docs.com/compute-cloudfunctions-gettrigger" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # Get Trigger Classic/VPC環境で利用できます。 Cloud Functionsトリガーを照会します。 ## リクエスト リクエスト形式を説明します。リクエスト形式は次の通りです。 | メソッド | URI | | --- | --- | | GET | /api/v2/triggers/{triggerName} | 参考 シンガポールリージョンと日本リージョンは、VPC環境でのみ利用できます。 ### リクエストヘッダ Cloud Funtions APIで共通して使用されるヘッダの詳細は、[Cloud Functionsのリクエストヘッダ](/docs/ja/compute-cloudfunctions#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)をご参照ください。 ### リクエストパスパラメータ リクエストパスパラメータの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `triggerName` | String | Required | トリガー名 | ### リクエストクエリパラメータ リクエストクエリパラメータの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `platform` | String | Optional | プラットフォーム区分 - `vpc` \| `classic`(デフォルト) | ### リクエスト例 リクエストのサンプルコードは次の通りです。 ``` curl --location --request GET 'https://cloudfunctions.apigw.ntruss.com/api/v2/triggers/trigger000?platform=classic' \ --header 'Content-Type: application/json' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Sub Account Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' ``` ## レスポンス レスポンス形式を説明します。 ### レスポンスボディ レスポンスボディの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `content` | Object | - | トリガー情報 | | `content.actions` | Array | - | トリガーに関連付けられたアクションリスト | | `content.description` | String | - | トリガーの説明 | | `content.execOption` | Object | - | トリガータイプごとの実行オプション | | `content.execOption.key` | String | - | トリガー実行オプション名 | | `content.execOption.value` | Array | - | トリガー実行オプション情報: [value](/docs/ja/compute-cloudfunctions-gettrigger#value) | | `content.name` | String | - | トリガー名 | | `content.resourceId` | String | - | トリガーのリソース ID | | `content.type` | String | - | トリガーのタイプ | #### `value` `value`の説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `key` | String | - | トリガーの種類 | | `value` | Integer | - | トリガー実行条件 | ### レスポンスステータスコード NAVERクラウドプラットフォームで共通して使用されるレスポンスステータスコードの詳細は、[Ncloud APIのレスポンスステータスコード](/docs/ja/common-ncpapi#3%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)をご参照ください。 ### レスポンス例 レスポンスのサンプルコードは次の通りです。 ``` { "content": { "actions": [ "action111" ], "description": "", "execOption": { "key": "ncf_triggerOptions", "value": [ { "key": "cron", "value": "*/1 * * * *" } ] }, "name": "trigger000", "resourceId": "1v***", "type": "cron" } } ```