---
title: "Get implementation build order"
method: GET
path: "/api/sync/{mapId}/build-order"
tags: ["Sync"]
---

# Get implementation build order

`GET /api/sync/{mapId}/build-order`

## Request

- Base URL: `https://intentdocs.com`
- URL: `https://intentdocs.com/api/sync/{mapId}/build-order`
- Auth: none declared

Retrieve the suggested or manual build order for stories, including dependency information and AI reasoning.

## Path parameters

- `mapId` string, required

## Response `200`

Build order retrieved

- object
  - `order` BuildOrderStory[]
    - `id` string
    - `title` string
    - `activity` string
    - `effort` 'XS' | 'S' | 'M' | 'L' | 'XL'
    - `priority` 'must' | 'should' | 'could'
    - `status` 'todo' | 'in_progress' | 'needs_rework' | 'done' | 'approved'
    - `build_sequence` number, nullable
    - `depends_on` string[]
    - `reason` string, nullable
  - `generated_at` string, nullable
  - `mode` 'ai' | 'manual' | 'unset'

## Other responses

- `401`: No CLI bearer, or the bearer's holder has no standing on the map's project

---

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