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

# Download seed file

> Get a URL for downloading a seed dataset file



## OpenAPI

````yaml GET /api/dataframer/seed-datasets/{dataset_id}/files/{file_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}/files/{file_id}/:
    parameters:
      - name: dataset_id
        in: path
        description: UUID of the dataset
        required: true
        schema:
          type: string
          format: uuid
      - name: file_id
        in: path
        required: true
        description: UUID of the file
        schema:
          type: string
          format: uuid
    get:
      tags:
        - Seed Datasets
      summary: Download seed file
      description: Get a presigned download URL for a seed dataset file
      operationId: api_dataframer_seed_datasets_files_download
      responses:
        '200':
          description: Download URL generated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  download_url:
                    type: string
                    description: Presigned URL to download the file (valid for 1 hour)
                  filename:
                    type: string
                    description: Original filename
                  content_type:
                    type: string
                    description: MIME type of the file
              examples:
                download_url:
                  value:
                    download_url: >-
                      https://s3.amazonaws.com/bucket/path/to/file.csv?AWSAccessKeyId=...&Signature=...&Expires=...
                    filename: my_data.csv
                    content_type: text/csv
        '401':
          description: Unauthorized
        '404':
          description: File or 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 response = await
            client.dataframer.seedDatasets.files.download(
              '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
              { dataset_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' },
            );


            console.log(response.content_type);
        - 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
            )
            response = client.dataframer.seed_datasets.files.download(
                file_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
                dataset_id="182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
            )
            print(response.content_type)
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'API Key authentication. Format: "Bearer YOUR_API_KEY"'

````