---
title: "POST /upload"
method: POST
path: "/upload"
tags: ["Microsoft.KernelMemory.ServiceAssembly"]
---

# POST /upload

`POST /upload`

## Response `202`

Accepted

- UploadAccepted
  - `index` string, nullable
  - `documentId` string, nullable
  - `message` string, nullable

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `503` — Service Unavailable

## Changes

- **2024-10-19** `10e0db8acfa5` — 2 breaking, 1 info
  - removed the request body
  - removed the success response with the status `200`
  - api operation id `UploadDocument` removed and replaced with ``

[Change history](https://skmtc.dev/azure/apis/microsoft-kernelmemory-serviceassembly/changes/upload/post.md)

---

[API](https://skmtc.dev/azure/apis/microsoft-kernelmemory-serviceassembly.md) · [All operations](https://skmtc.dev/azure/apis/microsoft-kernelmemory-serviceassembly/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/microsoft-kernelmemory-serviceassembly/revisions/10e0db8acfa5/schema)
