MENU
      Featureリストの照会

        Featureリストの照会


        記事の要約

        VPC環境で利用できます。

        作成した Featureのリストを照会します。照会されたすべての Featureの詳細情報を確認できます。

        リクエスト

        リクエスト形式を説明します。リクエスト形式は次の通りです。

        メソッドURI
        GET/features

        リクエストヘッダ

        NCLUE APIで共通して使用されるヘッダの詳細は、NCLUEのリクエストヘッダをご参照ください。

        リクエストクエリパラメータ

        パラメータの説明は次の通りです。

        フィールドタイプ必須の有無説明
        indexIntegerOptionalリストのスタート位置
        • デフォルト: 0
        limitIntegerOptionalリストの出力制限値
        • 1~100(デフォルト: 20)

        リクエスト例

        リクエストのサンプルコードは次の通りです。

        curl --location --request GET 'https://nclue.apigw.ntruss.com/api/v1/features?index=0&limit=20' \
        --header 'X-NCP-APIGW-TIMESTAMP: {Timestamp}' \
        --header 'X-NCP-IAM-ACCESS-KEY: {Access Key}' \
        --header 'X-NCP-APIGW-SIGNATURE-V2: {API Gateway Signature}'
        Shell

        レスポンス

        レスポンス形式を説明します。

        レスポンスボディ

        レスポンスボディの説明は次の通りです。

        フィールドタイプ必須の有無説明
        indexInteger-リストのスタート位置
        limitInteger-リストの出力制限値
        totalInteger-照会された Feature数
        featuresArray-Featureリスト

        features

        featuresの説明は次の通りです。

        フィールドタイプ必須の有無説明
        feature_idString-Feature ID
        feature_nameString-Feature名
        statusString-Featureの状態
        • registered | pending | in_progress | completed | failed
          • registered: 登録完了
          • pending: 待機中
          • in_progress: 作成中
          • completed: 使用可能
          • failed: 失敗
        created_atString-Featureの作成リクエスト日時(ISO 8601形式)
        completed_atString-Featureの作成完了日時(ISO 8601形式)
        source_bucketString-シーケンスデータセットファイルが保存された Object Storageのバケット名
        source_file_pathString-source_bucketのシーケンスデータセットのファイルパス
        user_countInteger-シーケンスデータセットのユーザー数
        token_countInteger-シーケンスデータセットのトークン数
        disk_usageInteger-Feature容量(Byte)
        fail_messageString-作成失敗メッセージ

        レスポンスステータスコード

        NCLUEで共通して使用されるレスポンスステータスコードの詳細は、NCLUEのレスポンスステータスコードをご参照ください。

        レスポンス例

        レスポンスのサンプルコードは次の通りです。

        {
            "index": 0,
            "limit": 20,
            "total": 6,
            "features": [
                {
                    "feature_id": "e48585fd-****-****-****-754aa0b7ba82",
                    "feature_name":"YOUR_FEATURE_NAME",
                    "status":"completed",
                    "created_at": "2024-10-08T08:08:08",
                    "completed_at": "2024-10-08T08:37:12",
                    "source_bucket":"YOUR_BUCKET_NAME",
                    "source_file_path":"path/filename",
                    "user_count": 1048371,
                    "token_count": 83704912,
                    "disk_usage": 70295634,
                    "fail_message": null
                },
                // (省略)
            ]
        }
        JSON

        この記事は役に立ちましたか?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.