---
title: "Create a seed list file"
method: POST
path: "/seed/create"
tags: ["Seed"]
---

# Create a seed list file

`POST /seed/create`

Creates a seed list file from the provided URLs and writes it to HDFS. Returns the path to the created seed file directory.

## Request body

- SeedList — A named list of seed URLs.
  - `id` integer — The seed list identifier.
  - `name` string — A human-readable name for this seed list.
  - `seedFilePath` string — The HDFS path where the seed file is stored. Populated after creation.
  - `seedUrls` SeedUrl[], required — The collection of seed URLs in this list.
    - `id` integer — The seed URL identifier.
    - `url` string — The seed URL.

## Response `200`

Path to the created seed file directory.

## Other responses

- `400` — Bad request. The request body is missing, malformed, or contains invalid parameters.
- `401` — Unauthorized. Basic authentication credentials are missing or invalid.
- `500` — An unexpected server error occurred.

---

[API](https://skmtc.dev/apache/apis/apache-nutch-rest-api.md) · [All operations](https://skmtc.dev/apache/apis/apache-nutch-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apache/apache-nutch-rest-api/revisions/e67af5b75ede/schema)
