Dynamic File API
Every UDF can be used as a file system:

Output Formats
UDFs can return data in various formats via the format query parameter:
Vector Data Formats
| Format | Extension | Use Case |
|---|---|---|
parquet | .parquet | Efficient columnar storage |
geojson | .geojson | Standard GeoJSON |
json | .json | JSON objects |
csv | .csv | Comma-separated values |
mvt | .mvt | Mapbox Vector Tiles |
feather | .feather | Apache Arrow format |
excel | .xlsx | Excel spreadsheet |
xml | .xml | XML data |
Raster Data Formats
| Format | Extension | Use Case |
|---|---|---|
png | .png | Lossless images |
jpg/jpeg | .jpg | Compressed images |
gif | .gif | Animated images |
webp | .webp | Modern image format |
tif/tiff | .tif | GeoTIFF rasters |
Example Usage
Returning as JSON
https://udf.ai/YOUR_TOKEN.json
Returning as CSV
https://udf.ai/YOUR_TOKEN.csv
Returning as HTML
https://udf.ai/YOUR_TOKEN.html
Tile Endpoints
For map tile servers, use the tiles path with {z}/{x}/{y} template:
Vector Tiles (MVT)
https://udf.ai/YOUR_TOKEN/run/tiles/{z}/{x}/{y}?=mvt
Raster Tiles (PNG)
https://udf.ai/YOUR_TOKEN/run/tiles/{z}/{x}/{y}?=png
Integrations
These dynamic endpoints work with: