---
title: "Create Boundary"
method: POST
path: "/admin/boundaries"
tags: ["admin"]
---

# Create Boundary

`POST /admin/boundaries`

## Request

- Base URL: `https://stardrift.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://stardrift.ai/admin/boundaries`
- Auth: none declared

Create a single neighborhood boundary.

Multiple rows may share a ``lookup_key`` — that's how multi-polygon
neighborhoods are represented (one row per polygon). No duplicate check.

## Request body

- BoundaryCreateRequest: Request to create a single boundary.
  - `country` string, required
  - `state` string, nullable
  - `city` string, required
  - `neighborhood` string, required
  - `boundary_geojson` object, required
  - `source` string, nullable

## Response `200`

Successful Response

- BoundaryDetail: Full boundary details including geometry.
  - `id` integer, required
  - `country` string, required
  - `state` string, nullable, required
  - `city` string, required
  - `neighborhood` string, required
  - `lookup_key` string, required
  - `source` string, nullable, required
  - `verified_at` string, date-time, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `boundary_geojson` object, required
  - `boundary_encoded` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stardrift/apis/stardrift-api.md) - [All operations](https://skmtc.dev/stardrift/apis/stardrift-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stardrift/apis/stardrift-api/revisions/be9ed1e6c38a?raw)
