> ## 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.

# Apply a relabeling strategy to new rows

> Creates an execution for the current dataset revision, carries forward existing outputs, and generates only missing outputs.



## OpenAPI

````yaml /openapi/model-distillation/management.openapi.yaml post /tasks/{alias}/datasets/{datasetId}/relabels/{relabelRunId}/apply-missing
openapi: 3.1.0
info:
  title: CoreWeave Model Distillation Management API
  version: 1.0.0
  description: |
    Manage providers, projects (called tasks in API paths), routing versions,
    datasets, relabeling, fine-tunes, evaluations, and analytics. This is the
    same API used by Model Distillation.
servers:
  - url: https://distillation.training.wandb.ai/v1
    description: Production
security:
  - WandbCredential: []
tags:
  - name: Providers
    description: OpenAI-compatible endpoints, credentials, model catalogs, and pricing.
  - name: Tasks
    description: Stable task identity and task-level information.
  - name: Routing
    description: Versioned model targets, weights, and request parameters.
  - name: Datasets
    description: >-
      Reproducible data snapshots, entries, relabeling, and reusable model
      outputs.
  - name: Fine-tunes
    description: Supervised fine-tuning jobs and hosted model artifacts.
  - name: Evaluations
    description: Head-to-head, exact-match, and categorization evaluations.
  - name: Analytics
    description: Task traffic, token, error, and estimated-cost read models.
  - name: UI preferences
    description: Per-task display preferences used by the UI.
paths:
  /tasks/{alias}/datasets/{datasetId}/relabels/{relabelRunId}/apply-missing:
    parameters:
      - $ref: '#/components/parameters/WandbEntity'
      - $ref: '#/components/parameters/TaskAlias'
      - $ref: '#/components/parameters/DatasetId'
      - $ref: '#/components/parameters/RelabelRunId'
    post:
      tags:
        - Datasets
      summary: Apply a relabeling strategy to new rows
      description: >-
        Creates an execution for the current dataset revision, carries forward
        existing outputs, and generates only missing outputs.
      operationId: applyRelabelStrategy
      responses:
        '202':
          description: Relabeling was queued for the missing rows.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RelabelRun'
        default:
          $ref: '#/components/responses/Error'
components:
  parameters:
    WandbEntity:
      name: Wandb-Entity
      in: header
      required: false
      description: >-
        Accessible personal or team entity. Omit to use the authenticated user's
        default entity.
      schema:
        type: string
    TaskAlias:
      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
    RelabelRunId:
      name: relabelRunId
      in: path
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    RelabelRun:
      type: object
      additionalProperties: true
      required:
        - id
        - dataset_id
        - dataset_revision
        - model_ref
        - status
        - output_count
        - created_at
        - updated_at
      properties:
        id:
          type: string
          format: uuid
        dataset_id:
          type: string
          format: uuid
        dataset_revision:
          type: integer
        model_ref:
          $ref: '#/components/schemas/ModelRef'
        status:
          type: string
          enum:
            - queued
            - running
            - completed
            - failed
            - stale
        error:
          type:
            - string
            - 'null'
        output_count:
          type: integer
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    ModelRef:
      type: string
      pattern: ^[a-z0-9][a-z0-9_-]{0,63}/\S+$
      example: openai/gpt-5.6-sol
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - message
            - type
          properties:
            message:
              type: string
            type:
              type: string
      example:
        error:
          message: Task 'missing' not found in entity 'your-team'
          type: not_found
  responses:
    Error:
      description: Request failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    WandbCredential:
      type: http
      scheme: bearer
      bearerFormat: W&B API key
      description: A W&B API key.

````

## Related topics

- [Relabeling](/model-distillation/studio/relabeling.md)
