---
title: "Poll the build"
method: GET
path: "/api/v2/itineraries/{externalId}/build"
tags: ["Itineraries (v2)"]
---

# Poll the build

`GET /api/v2/itineraries/{externalId}/build`

## Request

- Base URL: `https://www.endlesstravelplans.com`
- URL: `https://www.endlesstravelplans.com/api/v2/itineraries/{externalId}/build`
- Auth: HTTP bearer

The progress of the latest build (or the one named by `buildId`): status, days completed, the days
streamed since `sinceDay`, the legs of a multi-city build, and `terminal` once it is completed, partial or
failed. Only the build's owner may poll it.

## Query parameters

- `buildId` string: A particular build; the latest when left out.
- `sinceDay` integer: Days already received; only the later ones are sent.

## Response `200`

- object
  - `build_id` string
  - `status` string
  - `days_completed` integer
  - `total_days` integer
  - `progress` integer
  - `streamed_days` object[]
    - `date` string
    - `title` string
    - `day_number` integer
    - `activities` object[]
      - `id` string
      - `name` string
      - `time` string
      - `end_time` string
      - `duration` string
      - `duration_minutes` integer
      - `category` string
      - `rating` number
      - `image` string, nullable
      - `image_search` string
      - `tip` string
      - `price` integer
      - `price_source` string
      - `source` string
      - `is_custom` boolean
      - `coordinates` object
        - `lat` number
        - `lng` number
      - `latitude` number
      - `longitude` number
      - `photo_url` string
      - `opening_hours` string, nullable
      - `google_rating` number
      - `address` string
      - `place_id` string
  - `streamed_days_offset` integer
  - `terminal` boolean

## Other responses

- `401`: unauthenticated: No valid bearer token was sent.
- `404`
- `429`: rate_limited: A throttle or a per-account allowance refused the request; `retry_after` or `remaining` may be present.
- `500`: server_error: Unhandled failure; quote `request_id` to support.

---

[API](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api.md) · [All operations](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api/llms.txt) · [OpenAPI document](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api/revisions/ae82ed3e4a8f?raw)
