GET /v1/saved-shapes
A consumer's saved shapes, newest first, without their geometry.
| Access | |
|---|---|
| Keys | publishable or secret |
| Plan | Premium |
| Environment | live and sandbox |
| Acts for | one consumer |
| While the account is suspended | works |
| During a data stop | works |
Headers
| Name | Description |
|---|---|
X-Client-Token |
With a publishable key: required. A token your server minted for the consumer with POST /v1/client-tokens. |
X-Client-Id |
With a secret key: required. Your own opaque ID for the consumer. |
Answers
200: The saved shapes
The answer is { data, meta }; meta holds requestId and environment.
data is a list. Each item:
| Field | Type | Description |
|---|---|---|
id |
string | "shp_…". |
name |
string or null | |
vertices |
integer | The ring's corners; its closing repeat is not one. |
areaSqKm |
number | The area on the Earth's surface, in square kilometres. |
createdAt |
string |
Errors
Every error has the same body, and says how to fix it (responses and errors).
More
The consumer's shapes, newest first, without their geometry:
{ "data": [ { "id": "shp_…", "name": "Near the station", "vertices": 4, "areaSqKm": 0.037872, "createdAt": "2026-11-11T15:00:00.000Z" } ],
"meta": { "requestId": "req_…", "environment": "test" } }
This page is made from the route's own declaration by npm run openapi. To change it, change the declaration or its explanation, never this file.