---
title: "Upload dataset file (deprecated)"
method: POST
path: "/datasets"
tags: ["Datasets"]
deprecated: true
---

# Upload dataset file (deprecated)

`POST /datasets`

> **Deprecated.**

**Deprecated**: Use `POST /datasets/user/{userIdentifier}` instead.

Upload a dataset file with userIdentifier in form data.

## Response `201`

File uploaded successfully

- DatasetUploadResponse
  - `file` DatasetFile, required
    - `name` string, required
    - `path` string, required
    - `size` integer, required
  - `error` string

## Changes

- **2026-01-21** `c0068facc07b` — 1 breaking, 1 warning, 1 info
  - added the new required request property `userIdentifier`
  - removed the request property `userContext`
  - endpoint deprecated
- **2026-01-15** `b59ae9e9a8ec` — 1 breaking, 1 warning
  - added the new required request property `userContext`
  - removed the request property `requestContext`
- **2026-01-13** `126f22263c13` — 1 info
  - the `requestContext` request property type was generalized from `object` to `string`
- **2026-01-13** `0ec715bc74fd` — 1 breaking
  - the `requestContext` request property type changed from `string` to `object`
- **2026-01-13** `4217b3a63ff1` — 1 breaking, 1 info
  - removed the media type `application/json` from the request body
  - added the media type `multipart/form-data` to the request body

[Full history](https://skmtc.dev/inconvoai/apis/inconvo-conversations-api/changes/datasets/post.md)

---

[API](https://skmtc.dev/inconvoai/apis/inconvo-conversations-api.md) · [All operations](https://skmtc.dev/inconvoai/apis/inconvo-conversations-api/llms.txt) · [OpenAPI document](https://skmtc.dev/inconvoai/apis/inconvo-conversations-api/revisions/c0068facc07b?raw)
