---
title: "Segments with no distance yet"
method: GET
path: "/api/segments/unmeasured"
tags: ["Transport"]
---

# Segments with no distance yet

`GET /api/segments/unmeasured`

## Request

- Base URL: `https://trvlrr.app`
- URL: `https://trvlrr.app/api/segments/unmeasured`
- Auth: HTTP bearer

For a client that can measure them (the phone geocodes and computes). Newest trips first; limit up to 100.

## Query parameters

- `limit` integer, nullable: Page size.
- `offset` integer, nullable: Rows to skip.

## Response `200`

A page, and how many remain in total.

- UnmeasuredSegments
  - `segments` object[], required
    - `id` string, required
    - `mode` 'flight' | 'train' | 'bus' | 'ferry' | 'car_rental' | 'drive' | 'other', required
    - `from_place` string, required
    - `from_country` string, nullable, required
    - `to_place` string, required
    - `to_country` string, nullable, required
    - `trip_countries` string[], required
  - `remaining` integer, required

## Other responses

- `401`: No usable credential: a Clerk session token, a device token or an OAuth access token is required.
- `403`: The caller may not do this to this account or trip.

---

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