--- title: "Upload cycle training data" slug: "ai-application-service-aitems-service-intervalupload" tags: ["AiTEMS"] updated: 2026-09-17T09:35:47Z published: 2026-09-17T09:35:47Z canonical: "api.ncloud-docs.com/ai-application-service-aitems-service-intervalupload" --- > ## 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. # Upload cycle training data Available in Classic and VPC Upload the data to run the cycle training. ## Request This section describes the request format. The method and URI are as follows: | Method | URI | | --- | --- | | POST | /services/{serviceId}/datasets/{datasetId} | ### Request headers For information about the headers common to all AiTEMS APIs, see [AiTEMS request headers](/docs/en/docs/en/aitems-overview#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94). ### Request path parameters You can use the following path parameters with your request: | Field | Type | Required | Description | | --- | --- | --- | --- | | `serviceId` | String | Required | Service ID - See [Get service list](/docs/en/ai-application-service-aitems-service-list). | | `datasetId` | String | Required | Dataset ID set for the service - See [Get dataset list](/docs/en/ai-application-service-aitems-dataset-list). | ### Request body You can include the following data in the body of your request: | Field | Type | Required | Description | | --- | --- | --- | --- | | `type` | String | Required | Dataset type - `user` \| `item` \| `interaction` - `user`: Data containing user information (age, gender, etc.) - `item`: Data with product-related information (price, release date, category, etc.) - `interaction`: Data that captures the history of interactions between users and products | | `value` | Array | Required | Data to upload - Must be entered in the same schema as the existing dataset | ### Request example The request example is as follows: ``` curl --location --request POST 'https://aitems.apigw.ntruss.com/api/v1/services/49qkb******/datasets/3r570******' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \ --header 'Content-Type: application/json' \ --data '{ "type": "user", "value": [ { "USER_ID": "test", "AGE": 20 }, { "USER_ID": "test1", "AGE": 10 }, { "USER_ID": "test2", "AGE": 30 } ] }' ``` ## Response This section describes the response format. ### Response status codes For information about the HTTP status codes common to all AiTEMS APIs, see [AiTEMS response status codes](/docs/en/aitems-overview#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C). ### Response example If the response is successful, the cycle training data is uploaded with `200 OK`.