--- title: "getInitScriptList" slug: "compute-server-getinitscriptlist" updated: 2026-09-17T09:57:42Z published: 2026-09-17T09:57:42Z canonical: "api.ncloud-docs.com/compute-server-getinitscriptlist" --- > ## 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. # getInitScriptList ## 概要 ユーザーが作成した初期化スクリプトリストを照会します。 ## リクエスト ### リクエストパラメータ | パラメータ名 | 必須の有無 | タイプ | 制限事項 | 説明 | | --- | --- | --- | --- | --- | | responseFormatType | No | String | | - レスポンス結果の形式タイプ オプション: xml \| json デフォルト: xml | ## レスポンス ### レスポンスボディ - [InitScriptList](/docs/ja/common-apidatatype-initscriptlist) ## 例 ### リクエスト例 ``` GET {SERVER_API_URL}/getInitScriptList ``` ### レスポンス例 ``` a51d3a67-e41c-4784-89f9-081f1ffba5e2 0 success 4 1261 windows-init2 2019-10-16T12:08:29+0900 test2 LNX LINUX 1260 windows-init1 2019-10-16T12:08:20+0900 test1 WND WINDOWS 1259 linux-init2 2019-10-16T12:08:01+0900 #!/bin/sh yum install -y httpd echo 'Hello World2' > /var/www/html/index.html chkconfig --level 2345 httpd on LNX LINUX 1258 linux-init1 2019-10-16T12:07:44+0900 #!/bin/sh yum install -y httpd echo 'Hello World' > /var/www/html/index.html chkconfig --level 2345 httpd on LNX LINUX ``` ## エラーコード 以下のエラーコードは、このアクション(Action)で発生する特徴的なエラーです。共通して発生するエラーについての詳細説明は、[NAVERクラウドプラットフォーム API](/docs/ja/common-ncpapi-index)をご参照ください。 | HTTP Response Code | リターンコード | リターンメッセージ | | --- | --- | --- | | 400 | 10400 | Invalid authentication key. Please check authentication key or input type and try again. | | 400 | 10401 | Input authentication message does not coincide. | | 400 | 10402 | Authentication message input time has been exceeded. Please try again. | | 400 | 10403 | Session has been expired. | | 400 | 10404 | This is not authenticated session. |