Introduction

The Duranta API lets your systems send customers into a Duranta workspace and measure properties from aerial imagery.

Requests and responses

Every call is an HTTPS POST with a JSON body, reads included. Any HTTP client works, and you can generate a typed client from this OpenAPI document.

Every request
POST https://local.getduranta.com/duranta.api.public.v1.<Service>/<Method>
Content-Type: application/json
Authorization: Bearer <access_token>

For example, to read one site:

curl https://local.getduranta.com/duranta.api.public.v1.SiteService/GetSite \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"externalId": "PROP-000001"}'

Conventions

  • JSON field names are camelCase.
  • Enum values are strings such as CUSTOMER_KIND_COMMERCIAL.
  • Timestamps are RFC 3339 strings in UTC, such as 2026-06-05T17:42:10Z.
  • 64-bit integers, such as serverRevision, are JSON strings.
  • Bytes, such as an image, are base64 strings.
  • Fields that are empty, zero or false are left out of responses. Treat a missing field as its empty value.
  • A request with an unknown field or an enum value that isn't listed fails with invalid_argument and a message naming the field. A field we retire is marked deprecated and still accepted until the next version.
  • Ignore response fields and enum values you don't recognize: we add them without a new version.
  • Request bodies are limited to 5 MiB.

Versions

The version is part of every path, as in duranta.api.public.v1. Within a version we only make additive changes: new fields, new enum values, new operations. Anything that could break a working integration ships as a new version, duranta.api.public.v2.

Pagination

ListSites returns up to pageSize items and a nextPageToken. Pass it as pageToken to get the next page; an empty nextPageToken means the last page.

On this page