---
title: "Export filtered polygons"
method: GET
path: "/api/admin/library/polygons/export"
tags: ["polygon-library"]
---

# Export filtered polygons

`GET /api/admin/library/polygons/export`

## Request

- Base URL: `https://grandline.luzomi.com`
- URL: `https://grandline.luzomi.com/api/admin/library/polygons/export`
- Auth: none declared

## Query parameters

- `format` 'geojson' | 'csv' | 'wkt'
- `ids` string, nullable: Comma-separated polygon ids; omit to use filters
- `polygon_type` string, nullable
- `family_ids` string, nullable
- `country` string, nullable
- `status` string, nullable
- `include_archived` boolean
- `limit` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/luzomi/apis/grandline-api.md) · [All operations](https://skmtc.dev/luzomi/apis/grandline-api/llms.txt) · [OpenAPI document](https://skmtc.dev/luzomi/apis/grandline-api/revisions/4ce06aea012b?raw)
