> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 데이터셋 항목을 분할로 이동

> `filters`(메타데이터를 포함한 목록 조회 필터)와 `row_ids`에 일치하는 모든 항목을 `split`으로 이동합니다. `fraction`은 일치하는 그룹을 그룹 ID의 다이제스트 순으로 정렬한 뒤 지정된 비율만큼 선택합니다. 따라서 그룹이 나뉘지 않으며, 이후 호출에서도 남은 그룹 중 지정된 비율만큼 선택할 수 있습니다. `val`을 사용해 특정 모집단을 트레이닝에서 제외하면 모델이 한 번도 접하지 않은 사용자를 대상으로 평가할 수 있습니다. 하나의 그룹을 둘 이상의 분할에 배치하게 되는 변경은 409 `group_split_conflict`를 반환합니다.



## OpenAPI

````yaml ko/openapi/model-distillation/management.openapi.yaml PATCH /projects/{alias}/datasets/{datasetId}/entries
openapi: 3.1.0
info:
  title: CoreWeave Model Distillation Management API
  version: 1.0.0
  description: |
    공급자, 프로젝트, 라우팅 버전, 데이터셋, 재라벨링,
    미세 조정 모델, 평가, 분석을 관리하세요. 이 API는
    Model Distillation에서 사용하는 API와 동일합니다.
servers:
  - url: https://forge.coreweave.com/api/distillation/v1
    description: 프로덕션
security:
  - WandbCredential: []
tags:
  - name: Providers
    description: OpenAI 호환 엔드포인트, 인증 정보, 모델 카탈로그 및 가격.
  - name: Projects
    description: 안정적인 프로젝트 ID와 프로젝트 수준 정보입니다.
  - name: Routing
    description: 버전이 지정된 모델 대상, 가중치, 요청 매개변수.
  - name: Datasets
    description: 재현 가능한 데이터 스냅샷, 항목, 레이블 재지정, 재사용 가능한 모델 출력.
  - name: Fine-tunes
    description: 지도 파인튜닝 작업 및 호스팅된 모델 아티팩트.
  - name: Evaluations
    description: 직접 비교, 완전 일치, 범주화 평가.
  - name: Analytics
    description: 프로젝트 트래픽, 토큰, 오류, 예상 비용 조회 모델.
  - name: UI preferences
    description: UI에서 사용하는 프로젝트별 표시 기본 설정.
paths:
  /projects/{alias}/datasets/{datasetId}/entries:
    parameters:
      - $ref: '#/components/parameters/WandbEntity'
      - $ref: '#/components/parameters/ProjectAlias'
      - $ref: '#/components/parameters/DatasetId'
    patch:
      tags:
        - Datasets
      summary: 데이터셋 항목을 분할 영역으로 이동
      description: >-
        `filters`(메타데이터를 포함한 목록 조회 필터)와 `row_ids`에 일치하는 모든 항목을 `split`으로 이동합니다.
        `fraction`은 일치하는 그룹을 그룹 ID의 다이제스트 순으로 정렬한 뒤 지정된 비율만큼 선택합니다. 따라서 그룹이 나뉘지
        않으며, 이후 호출에서도 남은 그룹 중 지정된 비율만큼 선택할 수 있습니다. `val`을 사용해 특정 모집단을 트레이닝에서
        제외하면 모델이 한 번도 접하지 않은 사용자를 대상으로 평가할 수 있습니다. 하나의 그룹을 둘 이상의 분할에 배치하게 되는 변경은
        409 `group_split_conflict`를 반환합니다.
      operationId: updateDatasetEntrySplits
      parameters:
        - name: dry_run
          in: query
          description: 변경 사항을 검증하고 결과를 보고한 다음 롤백합니다.
          required: false
          schema:
            type: boolean
            default: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                split:
                  type: string
                  enum:
                    - train
                    - val
                filters:
                  default: []
                  description: 항목 목록 조회와 마찬가지로 모든 필터 조건을 충족하는 항목을 선택합니다.
                  maxItems: 10
                  type: array
                  items:
                    oneOf:
                      - type: object
                        properties:
                          field:
                            type: string
                            const: entry_id
                          operator:
                            type: string
                            enum:
                              - equals
                              - not_equals
                          value:
                            type: string
                            pattern: ^[A-Za-z0-9_-]{22}$
                        required:
                          - field
                          - operator
                          - value
                        additionalProperties: false
                      - type: object
                        properties:
                          field:
                            type: string
                            enum:
                              - input
                              - original_output
                          operator:
                            type: string
                            enum:
                              - contains
                              - not_contains
                          value:
                            type: string
                            minLength: 1
                            maxLength: 500
                        required:
                          - field
                          - operator
                          - value
                        additionalProperties: false
                      - type: object
                        properties:
                          field:
                            type: string
                            const: relabel_status
                          operator:
                            type: string
                            enum:
                              - equals
                              - not_equals
                          value:
                            type: string
                            enum:
                              - pending
                              - processing
                              - relabeled
                              - unchanged
                              - errored
                        required:
                          - field
                          - operator
                          - value
                        additionalProperties: false
                      - type: object
                        properties:
                          field:
                            type: string
                            const: split
                          operator:
                            type: string
                            enum:
                              - equals
                              - not_equals
                          value:
                            type: string
                            enum:
                              - train
                              - val
                        required:
                          - field
                          - operator
                          - value
                        additionalProperties: false
                      - type: object
                        properties:
                          field:
                            type: string
                            const: metadata
                          key:
                            type: string
                            minLength: 1
                            maxLength: 256
                          operator:
                            type: string
                            enum:
                              - equals
                              - not_equals
                          value:
                            anyOf:
                              - type: string
                                maxLength: 500
                              - type: number
                              - type: boolean
                        required:
                          - field
                          - key
                          - operator
                          - value
                        additionalProperties: false
                      - type: object
                        properties:
                          field:
                            type: string
                            const: eval_applied
                          operator:
                            type: string
                            enum:
                              - equals
                              - not_equals
                          value:
                            type: string
                            format: uuid
                            pattern: >-
                              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                        required:
                          - field
                          - operator
                          - value
                        additionalProperties: false
                row_ids:
                  description: 지정된 행 ID에 해당하는 항목만 선택합니다.
                  minItems: 1
                  maxItems: 5000
                  type: array
                  items:
                    type: string
                    minLength: 1
                    maxLength: 512
                fraction:
                  description: >-
                    선택한 그룹을 그룹 ID의 다이제스트 순으로 정렬한 뒤 지정된 비율만큼만 이동하여 그룹이 나뉘지 않도록
                    합니다.
                  type: number
                  exclusiveMinimum: 0
                  exclusiveMaximum: 1
              required:
                - split
              additionalProperties: false
      responses:
        '200':
          description: 항목이 이동되었습니다. 모의 실행인 경우 실제로 이동하지 않고 이동 대상만 확인했습니다.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatasetEntrySplitResult'
        default:
          $ref: '#/components/responses/Error'
components:
  parameters:
    WandbEntity:
      name: Wandb-Entity
      in: header
      required: false
      description: 액세스 가능한 개인 또는 팀 entity. 인증된 사용자의 기본 entity를 사용하려면 생략하세요.
      schema:
        type: string
    ProjectAlias:
      name: alias
      in: path
      required: true
      schema:
        type: string
        pattern: ^[a-z0-9-]{1,64}$
    DatasetId:
      name: datasetId
      in: path
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    DatasetEntrySplitResult:
      type: object
      required:
        - dry_run
        - matched
        - groups
        - updated
        - revision
        - entry_counts
        - group_conflicts
      properties:
        dry_run:
          type: boolean
        matched:
          type: integer
          description: 필터, 행 ID 및 비율에 따라 선택된 항목입니다.
        groups:
          type: integer
          description: 선택된 항목이 속한 그룹입니다.
        updated:
          type: integer
          description: 선택된 항목 중 다른 분할에 있던 항목입니다.
        revision:
          type: integer
          description: 변경 후의 데이터셋 리비전입니다. 모의 실행이거나 아무 변경도 없는 경우에는 변경되지 않습니다.
        entry_counts:
          $ref: '#/components/schemas/DatasetEntryCounts'
        group_conflicts:
          type: array
          items:
            type: string
          description: 둘 이상의 분할에 걸쳐 있는 그룹입니다. 충돌이 있으면 실제 변경은 거부됩니다.
    DatasetEntryCounts:
      type: object
      required:
        - total
        - train
        - val
      properties:
        total:
          type: integer
        train:
          type: integer
        val:
          type: integer
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - message
            - type
          properties:
            message:
              type: string
            type:
              type: string
      example:
        error:
          message: Project 'missing' not found in entity 'your-team'
          type: not_found
  responses:
    Error:
      description: 요청이 실패했습니다.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    WandbCredential:
      type: http
      scheme: bearer
      bearerFormat: wandb API key or JWT
      description: >-
        wandb API 키 또는 wandb JWT. 브라우저 세션은 Model Distillation 웹 앱 백엔드에서 교환하며, 작업
        권한은 내부에서만 사용됩니다.

````