# UploadResult

The UploadResult type of the TypeScript SDK, which uploads.create take or answer.

```ts
type UploadResult = {
  blobId: string
  expiresAt: number
  size: number
  type: string
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `blobId` | `string` | Opaque upload id (u_…); pass it as an attachment's blobId, or to JMAP as a blobId |
| `expiresAt` | `number` | Epoch seconds after which the upload is treated as gone — reference it before then |
| `size` | `number` | Stored byte length |
| `type` | `string` | The media type recorded for the blob (echoes the request Content-Type) |

## Used by

| Method | What it does |
| --- | --- |
| [`uploads.create`](/docs/sdks/typescript/uploads/create) | Stage a binary attachment upload |
