Get Dataset Upload URL

View as MarkdownOpen in Claude
This endpoint generates a presigned URL that allows you to upload a file directly to S3. After receiving the presigned URL, you should make a PUT request to the returned URL with your file data. **Upload Process:** 1. Call this endpoint to get a presigned URL for your file 2. Use the returned URL to upload your file directly to S3 via a PUT request 3. Monitor the dataset status to know when processing is complete

Authentication

AuthorizationToken

Header authentication of the form Token <token>

Path parameters

dataset_idstringRequired
The ID of the dataset to upload files to
filenamestringRequired
The name of the file to upload

Response

Presigned URL generated successfully
dataset_idstringformat: "uuid"
The ID of the dataset
expires_atdatetime
When the presigned URL expires
http_methodenum
HTTP method to use with the presigned URL
Allowed values:
upload_urlstring
The presigned URL to use for uploading the file

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error