UDFs as API
Every UDF can be used as a file system.

Share your canvas to get a canvas token (fc_***); then call any UDF by name.
Output formats
UDFs can return data in various formats via the format query parameter:
Vector data formats
| Format | Extension | Description |
|---|---|---|
parquet | .parquet | Efficient columnar storage format |
geojson | .geojson | Standard GeoJSON format |
json | .json | JSON objects and GeoJSON |
csv | .csv | Comma-separated values |
mvt | .mvt | Mapbox Vector Tiles |
feather | .feather | Apache Arrow IPC format |
excel | .xlsx | Excel spreadsheet |
xml | .xml | XML data |
html | .html | HTML document |
Raster data formats
| Format | Extension | Description |
|---|---|---|
png | .png | Lossless raster images |
jpeg | .jpeg / .jpg | Compressed raster images |
gif | .gif | Animated or static images |
webp | .webp | Modern efficient image format |
apng | .apng | Animated PNG images |
svg | .svg | Scalable vector graphics |
tiff | .tiff / .tif | GeoTIFF and TIFF rasters |
npy | .npy | NumPy array binary format |
Example usage
Use your canvas token and UDF name (from sharing your canvas):