# tinker.types.UploadURL *Generated from tinker 0.40.0 at commit [`3e952a8`](https://github.com/thinking-machines-lab/tinker/tree/3e952a8b979654cacc9dc68aadeb50bc418036a7). Source links point at that snapshot.* ## *class* [**tinker.types.UploadURL**](https://github.com/thinking-machines-lab/tinker/blob/3e952a8b979654cacc9dc68aadeb50bc418036a7/src/tinker/types/external_weights_upload.py#L17)() Where to upload one file of an external weights upload. **Fields:** - [**url**](https://github.com/thinking-machines-lab/tinker/blob/3e952a8b979654cacc9dc68aadeb50bc418036a7/src/tinker/types/external_weights_upload.py#L20) (*str*) – Signed URL to PUT the file to - [**headers**](https://github.com/thinking-machines-lab/tinker/blob/3e952a8b979654cacc9dc68aadeb50bc418036a7/src/tinker/types/external_weights_upload.py#L23) (*Mapping[str, str]*) – Headers the PUT must send ### [**upload**](https://github.com/thinking-machines-lab/tinker/blob/3e952a8b979654cacc9dc68aadeb50bc418036a7/src/tinker/types/external_weights_upload.py#L26)(*path*) Upload the file at `path`, streaming it in an HTTP PUT that sends `headers`. **Parameters:** - [**path**](https://github.com/thinking-machines-lab/tinker/blob/3e952a8b979654cacc9dc68aadeb50bc418036a7/src/tinker/types/external_weights_upload.py#L26) (*str | os.PathLike[str]*) **Returns:** *None* ## Referenced by - [tinker.types.ExternalWeightsUploadStartResult](https://tinker-docs.thinkingmachines.ai/tinker/api-reference/types/externalweightsuploadstartresult/index.md)