This endpoint is in preview and may be modified or removed at any time.
To use this endpoint, add preview=true to the request query parameters.
Export all map elements from a Gaia map to a KMZ file suitable for rendering in external applications, such as Google Earth. There are no schema compatibility guarantees provided for internal KMZ content exported by this endpoint. Only local map elements will be exported i.e. no elements from linked maps.
stringThe artifact identifier of the Gaia map being exported, which can be copied via Help > Developer > Copy id. The export call will download all elements in the referenced map.
booleanRepresents a boolean value that restricts an endpoint to preview mode when set to true.
objectThe request body to export elements to a KMZ/SHP file.
stringThe name of the exported file. Defaults to 'palantir-export'.
1
2
3
4
5
curl -X POST \
\t-H "Content-type: application/json" \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/gotham/v1/maps/ri.gotham-artifact.1234567890123456789-0987654321123456789.gaia-map.a1A2bcD3e45fg6h7ij/kmz?preview=true" \
-d '{"name":"Example file name"}'