v4

latestOpenAPI 3.1.02026-08-08278476614.0 KB
table

Export Layer Features

Stream the filtered layer rows as CSV or XLSX.

Replaces the page-scoped client-side export for SSR-backed layers. Row shaping mirrors client/src/components/Table/csvExportUtils.ts — contact/tenant sub-field expansion, reasoning columns, and a Favorited column when requested. Exceeding settings.MAX_EXPORT_ROWS, or the exporting workspace's cumulative parcel-export budget, returns 413 before any byte streams.

Licensed-parcel exports additionally tee each streamed row's feature_id into the layer_export_features provenance log, persisted by the same completion hook that finalizes the audit row.

get/api/v1/table/{layer_id}/export

Query parameters

tokenstring nullable

Firebase ID token for MVT authentication

Firebase ID token for MVT authentication

startRowinteger nullable
endRowinteger nullable
sortModelstring nullable
filterModelstring nullable
filterIdstring uuid nullable
groupKeysstring nullable
rowGroupColsstring nullable
searchTextstring nullable
geometrystring nullable
favoritesOnlyboolean nullable
format'csv' | 'xlsx' nullable
columnsstring nullable
includeReasoningboolean nullable
includeProvenanceboolean nullable
selectedContactFieldsstring nullable
includeFavoritesboolean nullable

Response

Successful Response

{"stackTrail":"paths:/api/v1/table/{layer_id}/export:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}