Get feature list

Prev Next

Available in VPC

Get the list of created features. You can check the detailed information of all retrieved features.

Request

This section describes the request format. The method and URI are as follows:

Method URI
GET /features

Request headers

For information about the headers common to all NCLUE APIs, see NCLUE request headers.

Request query parameters

The following describes the parameters.

Field Type Required Description
index Integer Optional Start location of the list
  • Default: 0
limit Integer Optional List output limit value
  • 1-100 (default: 20)

Request example

The request example is as follows:

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}'

Response

This section describes the response format.

Response body

The response body includes the following data:

Field Type Required Description
index Integer - Start location of the list
limit Integer - List output limit value
total Integer - Number of retrieved features
features Array - Feature list

features

The following describes features.

Field Type Required Description
feature_id String - Feature ID
feature_name String - Feature name
status String - Feature status
  • registered | pending | in_progress | completed | failed
    • registered: registered
    • pending: pending
    • in_progress: creating
    • completed: available
    • failed: failed
created_at String - Feature creation request date and time (ISO 8601 format)
completed_at String - Feature creation completion date and time (ISO 8601 format)
source_bucket String - Bucket name of Object Storage where the sequence dataset file is stored
source_file_path String - Path of the sequence dataset file in source_bucket
user_count Integer - Number of users of the sequence dataset
token_count Integer - Number of tokens of the sequence dataset
disk_usage Integer - Capacity (byte) of the feature
fail_message String - Creation failure message

Response status codes

For response status codes common to NCLUE, see NCLUE response status codes.

Response example

The response example is as follows:

{
    "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
        },
        // (Omitted)
    ]
}