Save boundary file to the library
save_fileExports a boundary (like export_boundary) and saves it in the organization's file library, so teammates find it on the dashboard and through list_files. visibility org (default) shares it with every member at their role; restricted keeps it to you, admins and whoever you share it with (share_file). Saving the same boundary, format and detail again returns the existing entry. Costs 1 unit. Returns the library entry with its permanent download url. Needs an API key or a connected account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A label for the library; default: the boundary's name, format and detail. | |
| detail | No | medium | |
| format | No | geojson | |
| visibility | No | org | |
| boundary_id | Yes | Boundary id, as get_boundary accepts it (r62422, wikidata:Q64, iso:US-CA…). |