---
title: "Create Boundaries Batch"
method: POST
path: "/admin/boundaries/batch"
tags: ["admin"]
---

# Create Boundaries Batch

`POST /admin/boundaries/batch`

## 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/batch`
- Auth: none declared

Create multiple neighborhood boundaries at once.

Each boundary is processed independently - failures don't affect other boundaries.

## Request body

- BoundaryBatchCreateRequest: Request to create multiple boundaries at once.
  - `boundaries` BoundaryCreateRequest[], required
    - `country` string, required
    - `state` string, nullable
    - `city` string, required
    - `neighborhood` string, required
    - `boundary_geojson` object, required
    - `source` string, nullable

## Response `200`

Successful Response

- BoundaryBatchCreateResponse: Response from batch boundary creation.
  - `created` BoundaryDetail[], required
    - `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
  - `errors` object[], 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)
