---
title: "Get Linear Ancillary Sites"
method: GET
path: "/v1/ancillaries/linear/{item_id}/sites"
tags: ["ancillaries"]
---

# Get Linear Ancillary Sites

`GET /v1/ancillaries/linear/{item_id}/sites`

## Request

- Base URL: `https://api.shapemaker.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.shapemaker.io/v1/ancillaries/linear/{item_id}/sites`
- Auth: OAuth 2
  - Password
  - Token URL: `/v1/auth`

This endpoint lists the live sites and drafts whose linear ancillaries
change when this item does: those placing it and, for a single feeder,
those placing a cluster built from it. Saving the item makes their results
stale until they are analysed again.

## Path parameters

- `item_id` integer, required

## Response `200`

Successful Response

- LinearAncillarySiteView[]
  - `docId` string, required
  - `name` string, required
  - `isDraft` boolean, required

## Other responses

- `400`: Bad Request
- `422`: Validation Error

---

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