Upload
Get a file upload URL
Generates a pre-signed URL for uploading a file directly to cloud storage. Upload the file with a PUT request to the returned URL and headers, then confirm it with /api/upload/complete. Dataset uploads can skip that call: the dataset ingest endpoint completes the upload when given the returned sessionId. Dataset upload URLs remain valid for 12 hours, are create-only, and filenames must end in .zip, .tar, .tar.gz, .tgz, or .ndjson — package loose images into an archive.
post/api/upload/signed-url
Request
- Base URLhttps://platform.ultralytics.com
- AuthHTTP bearer
Request body
Example request
{
"assetId": "507f1f77bcf86cd799439011",
"contentType": "application/zip",
"totalBytes": 1048576,
"filename": "dataset.zip"
}Response
Upload URL ready
Changes
No recorded changes to this operation across all 43 revisions of this API.