---
title: "Upload a file in a streaming manner. Once finished, the file is stored in the node and can be retrieved by any node in the network using the returned CID."
method: POST
path: "/data"
tags: ["Data"]
---

# Upload a file in a streaming manner. Once finished, the file is stored in the node and can be retrieved by any node in the network using the returned CID.

`POST /data`

## Headers

- `content-type` string
- `content-disposition` string

## Response `200`

CID of uploaded file

## Other responses

- `422` — The mimetype of the filename is invalid
- `500` — Well it was bad-bad and the upload did not work out

## Changes

- **2025-04-04** `ee092cd3ee0a` — 1 info
  - added the non-success response with the status `422`
- **2024-10-29** `ffb3668edb35` — 2 info
  - added the new optional `header` request parameter `content-disposition`
  - added the new optional `header` request parameter `content-type`
- **2023-11-09** `816b1baf058f` — 1 info
  - endpoint added
- **2023-03-15** `dfe487dfc0e2` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/logos-storage/apis/logos-storage-api/changes/data/post.md)

---

[API](https://skmtc.dev/logos-storage/apis/logos-storage-api.md) · [All operations](https://skmtc.dev/logos-storage/apis/logos-storage-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/logos-storage/logos-storage-api/revisions/08d9f3fb83f3/schema)
