---
title: "Upload files and attach to given dataset"
method: POST
path: "/datasets/{id}/files"
tags: ["datasets"]
---

# Upload files and attach to given dataset

`POST /datasets/{id}/files`

This will take a list of url or path objects that point to files that
will be ingested and added to this dataset.

## Path parameters

- `id` string, required

## Response `200`

OK

## Other responses

- `404` — The requested resource was not found

---

[API](https://skmtc.net/clowder-framework/apis/clowder.md) · [All operations](https://skmtc.net/clowder-framework/apis/clowder/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clowder-framework/clowder/revisions/bcd187478e0d/schema)
