Skip to main content
Lasso accepts a variety of file formats as source data for extraction. Upload files first, then reference them by ID when creating a table.

Supported formats

Upload flow

1

Upload the file

Send the file as multipart/form-data to POST /files. The upload endpoint accepts files up to 1 GB.
2

Get the file ID

The response includes an id field. Store this for the next step.
3

Create a table

Pass the file ID in the file_ids array when creating a table.

Extraction limits

Creating a table applies stricter source limits than uploading a file: The API rejects duplicate source file names in the same table request.

Example

Alternative sources

If you do not want to upload a file, pass raw text in source_text. For a remote file, download it first and upload it through POST /files; direct file_urls ingestion is not supported by the extraction worker.

Managing files

Files can be listed and deleted through the Files API. Deleting a file does not affect tables that were already created from it.