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

# Get a dataset



## OpenAPI

````yaml openapi/model-distillation/management.openapi.yaml GET /projects/{alias}/datasets/{datasetId}
openapi: 3.1.0
info:
  title: CoreWeave Model Distillation Management API
  version: 1.0.0
  description: |
    Manage providers, projects, routing versions, datasets, relabeling,
    fine-tunes, evaluations, and analytics. This is the same API used by
    Model Distillation.
servers:
  - url: https://forge.coreweave.com/api/distillation/v1
    description: Production
security:
  - WandbCredential: []
tags:
  - name: Providers
    description: OpenAI-compatible endpoints, credentials, model catalogs, and pricing.
  - name: Projects
    description: Stable project identity and project-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: Project traffic, token, error, and estimated-cost read models.
  - name: UI preferences
    description: Per-project display preferences used by the UI.
paths:
  /projects/{alias}/datasets/{datasetId}:
    parameters:
      - $ref: '#/components/parameters/ForgeEntity'
      - $ref: '#/components/parameters/ProjectAlias'
      - $ref: '#/components/parameters/DatasetId'
    get:
      tags:
        - Datasets
      summary: Get a dataset
      operationId: getDataset
      parameters:
        - name: version
          in: query
          description: >-
            Read a specific immutable dataset version instead of the latest
            version.
          required: false
          schema:
            type: integer
            minimum: 0
            maximum: 9007199254740991
      responses:
        '200':
          description: Dataset and live entry counts.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Dataset'
        default:
          $ref: '#/components/responses/Error'
components:
  parameters:
    ForgeEntity:
      name: Forge-Entity
      in: header
      required: false
      description: >-
        Accessible personal or team entity. Omit to list all accessible entities
        on `GET /projects` and `GET /projects/summaries`. Other endpoints use
        the authenticated user's default 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:
    Dataset:
      type: object
      additionalProperties: true
      required:
        - id
        - task_id
        - name
        - params
        - revision
        - status
        - build_progress
        - entry_counts
        - relabel_runs
        - created_at
        - updated_at
      properties:
        id:
          type: string
          format: uuid
        task_id:
          type: string
          format: uuid
        name:
          type: string
        params:
          oneOf:
            - $ref: '#/components/schemas/DatasetParams'
            - type: object
              additionalProperties: false
              required:
                - source
              properties:
                source:
                  type: string
                  const: entries
        revision:
          type: integer
        status:
          type: string
          enum:
            - building
            - ready
            - failed
        build_progress:
          type:
            - object
            - 'null'
          required:
            - stage
            - processed
            - total
            - imported
          properties:
            stage:
              type: string
              enum:
                - discovering
                - importing
                - finalizing
            processed:
              type: integer
            total:
              type:
                - integer
                - 'null'
            imported:
              type: integer
        entry_counts:
          $ref: '#/components/schemas/DatasetEntryCounts'
        relabel_runs:
          type: array
          items:
            $ref: '#/components/schemas/RelabelRun'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    DatasetParams:
      type: object
      additionalProperties: false
      required:
        - query
        - sampling
        - split
      properties:
        query:
          $ref: '#/components/schemas/DatasetQuery'
        sampling:
          type: object
          additionalProperties: false
          required:
            - strategy
            - limit
          properties:
            strategy:
              type: string
              const: random
            limit:
              type: integer
              minimum: 1
              maximum: 100000
        split:
          type: object
          additionalProperties: false
          required:
            - val
            - by
          properties:
            val:
              type: number
              minimum: 0
              maximum: 1
            by:
              type: string
              const: trace
    DatasetEntryCounts:
      type: object
      required:
        - total
        - train
        - val
      properties:
        total:
          type: integer
        train:
          type: integer
        val:
          type: integer
    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
    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
    DatasetQuery:
      type: object
      additionalProperties: false
      required:
        - source
        - after
        - before
      properties:
        source:
          $ref: '#/components/schemas/DatasetSource'
        after:
          type: string
          format: date-time
        before:
          type: string
          format: date-time
        filters:
          type: object
          additionalProperties: false
          properties:
            task_version:
              type: integer
              minimum: 1
              maximum: 2147483647
            resolved_provider:
              type: string
            resolved_model:
              type: string
            metadata:
              $ref: '#/components/schemas/JsonObject'
    ModelRef:
      type: string
      pattern: ^[a-z0-9][a-z0-9_-]{0,63}/\S+$
      example: openai/gpt-5.6-sol
    DatasetSource:
      oneOf:
        - type: string
          const: task
        - type: object
          additionalProperties: false
          required:
            - entity
            - project
          properties:
            entity:
              type: string
            project:
              type: string
    JsonObject:
      type: object
      additionalProperties: true
  responses:
    Error:
      description: Request failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    WandbCredential:
      type: http
      scheme: bearer
      bearerFormat: wandb API key or JWT
      description: >-
        A wandb API key or wandb JWT. Browser sessions are exchanged by the
        Model Distillation web app backend; job capabilities are internal only.

````