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

# Get seed dataset

> Retrieve a specific seed dataset by ID



## OpenAPI

````yaml GET /api/dataframer/seed-datasets/{dataset_id}/
openapi: 3.0.0
info:
  title: DataFramer API
  version: 0.1.0
  description: ''
  termsOfService: https://www.aimon.ai/docs/privacy-policy.pdf
  contact:
    name: DataFramer Support
    email: info@dataframer.ai
  license:
    name: Proprietary
  x-logo:
    url: https://dataframer.ai/logo.png
    altText: DataFramer AI
  x-stainless:
    package-name: aimon-dataframer
    namespace:
      - aimon
      - dataframer
servers:
  - url: https://df-api.dataframer.ai
    description: Production server
security:
  - BearerAuth: []
tags:
  - name: Seed Datasets
    description: Manage seed datasets for generation
  - name: Specs
    description: Data specifications for sample generation
  - name: Runs
    description: Generation runs and results
  - name: Evaluations
    description: Evaluate generated sample quality
  - name: Red Teaming
    description: Security testing and adversarial prompts
  - name: Spec Creation
    description: Create specs from datasets or from scratch (seedless)
  - name: Generation
    description: Synthetic data generation
  - name: API Keys
    description: API key management and rotation
  - name: Health
    description: Health check endpoints
  - name: Models
    description: Available AI models
externalDocs:
  description: Complete API Guide
  url: https://docs.dataframer.ai/dataframer
paths:
  /api/dataframer/seed-datasets/{dataset_id}/:
    get:
      tags:
        - Seed Datasets
      summary: Get seed dataset
      description: Get a seed dataset by ID, including its list of files
      operationId: api_dataframer_datasets_read
      parameters:
        - name: dataset_id
          in: path
          description: UUID of the dataset
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Dataset details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataframerDataset'
              examples:
                dataset_detail:
                  value:
                    id: 550e8400-e29b-41d4-a716-446655440000
                    name: Customer Reviews Dataset
                    description: Product reviews for sentiment analysis
                    dataset_type: SINGLE_FILE
                    file_count: 1
                    folder_count: 0
                    created_at: '2025-01-15T10:30:00Z'
                    updated_at: '2025-01-15T10:30:00Z'
                    created_by_email: sarah.chen@acme.com
                    files:
                      - id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
                        file_type: csv
                        size_bytes: 245678
                        path: reviews.csv
        '401':
          description: Unauthorized
        '404':
          description: Dataset not found
      x-codeSamples:
        - lang: JavaScript
          source: |-
            import Dataframer from 'dataframer';

            const client = new Dataframer({
              apiKey: process.env['DATAFRAMER_API_KEY'], // This is the default and can be omitted
            });

            const seedDataset = await client.dataframer.seedDatasets.retrieve(
              '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
            );

            console.log(seedDataset.id);
        - lang: Python
          source: |-
            import os
            from dataframer import Dataframer

            client = Dataframer(
                api_key=os.environ.get("DATAFRAMER_API_KEY"),  # This is the default and can be omitted
            )
            seed_dataset = client.dataframer.seed_datasets.retrieve(
                "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            )
            print(seed_dataset.id)
components:
  schemas:
    DataframerDataset:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
          description: Unique identifier for the dataset
        name:
          type: string
          description: Dataset name
        description:
          type: string
          nullable: true
          description: Optional description of the dataset contents or purpose
        dataset_type:
          type: string
          enum:
            - SINGLE_FILE
            - MULTI_FILE
            - MULTI_FOLDER
          description: >-
            Type of dataset structure. SINGLE_FILE: one CSV/JSON/JSONL file with
            tabular data. MULTI_FILE: multiple individual text files.
            MULTI_FOLDER: files organized into folders where each folder
            represents one sample.
        created_at:
          type: string
          format: date-time
          readOnly: true
          description: Timestamp when the dataset was created
        updated_at:
          type: string
          format: date-time
          readOnly: true
          description: Timestamp when the dataset was last modified
        created_by_email:
          type: string
          readOnly: true
          description: Email address of the user who created the dataset
        files:
          type: array
          items:
            $ref: '#/components/schemas/File'
          readOnly: true
          description: List of all files in the dataset
        folder_count:
          type: integer
          readOnly: true
          description: Total number of folders in the dataset
        file_count:
          type: integer
          readOnly: true
          description: Total number of files in the dataset
        sample_count:
          type: integer
          nullable: true
          readOnly: true
          description: >-
            Number of data samples in the dataset. Only populated for
            SINGLE_FILE datasets (e.g. number of rows in a CSV).
    File:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
          description: Unique identifier for the file
        file_type:
          type: string
          enum:
            - json
            - jsonl
            - csv
            - md
            - txt
            - pdf
          description: >-
            File format. json: single JSON object or array. jsonl:
            newline-delimited JSON records. csv: comma-separated values. md:
            Markdown text. txt: plain text. pdf: PDF document.
        size_bytes:
          type: integer
          nullable: true
          description: File size in bytes
        sha256:
          type: string
          nullable: true
          description: SHA-256 hash of the file contents for integrity verification
        path:
          type: string
          readOnly: true
          description: >-
            Full path of the file. For files in folders, includes folder name
            (e.g., 'folder_name/file.txt'). For files at root level, just the
            filename.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'API Key authentication. Format: "Bearer YOUR_API_KEY"'

````