---
title: "Dry-run geometry + hierarchy validation"
method: POST
path: "/api/admin/library/polygons/validate"
tags: ["polygon-library"]
---

# Dry-run geometry + hierarchy validation

`POST /api/admin/library/polygons/validate`

## Request

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

## Request body

- ValidateRequest
  - `geometry` object, required
  - `polygon_id` integer, nullable
  - `parent_polygon_id` integer, nullable
  - `hierarchy_level` string, required
  - `polygon_family_id` integer, nullable

## 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)
