# UploadDocumentRequest

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/http-api/schemas/uploaddocumentrequest/
> Summary: OpenAPI request or response schema for UploadDocumentRequest, including required fields, defaults, constraints, and linked nested types.

[← All HTTP schemas](/http-api/schemas/)

Request to upload a document.

**Shape:** `object`

| Property | Required | Type | Description | Rules |
|---|---|---|---|---|
| `sourceId` | yes | `string` | Source identifier. Uploading again with the same identifier replaces the old one. | — |
| `text` | no | `string` | Raw text. If given, the server chunks and embeds it. | — |
| `chunks` | no | `array` | Ready-made chunks. If `UploadDocumentChunk.Embedding` is left empty, the server embeds it; if it is filled in, it is written as is. | — |
