Skip to main content
Upload files to Datalab storage and reference them across API calls and pipelines.

SDK Usage

The SDK handles the upload flow automatically:

Use in Pipelines

File Management

See SDK File Management for complete documentation.

REST API

The upload flow has three steps:

1. Request Upload URL

To store the file in EU infrastructure, add "processing_location": "eu" to the request body:
Response:

2. Upload File

3. Confirm Upload

Complete Python Example

File Management API

List Files

Get File Metadata

Get Download URL

Delete File

This removes the uploaded source file. The conversion result is a separate object: delete it with DELETE /api/v1/results/{request_id}, using the same request_id you poll for the result.

Using File References

Once uploaded, use datalab://file-{id} references in any API call:

Limits

See API Limits for complete details.

Try Datalab

Get started with our API in less than a minute. We include free credits.