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 /v1/files. Maximum size is 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.

Example

Alternative sources

If you do not want to upload files, you can also provide:
  • URLs — Pass file_urls with publicly accessible URLs. Lasso downloads and processes them server-side.
  • Text — Pass source_text with raw text content for extraction.

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.