---
title: "List Legs"
method: GET
path: "/brands/{brand}/legs"
tags: ["Legs"]
---

# List Legs

`GET /brands/{brand}/legs`

## Request

- Base URL: `https://app.amber.ai/api/public/v1`
- URL: `https://app.amber.ai/api/public/v1/brands/{brand}/legs`
- Auth: HTTP bearer

## Path parameters

- `brand` string, required

## Query parameters

- `cursor` string
- `limit` integer
- `originId` string: Exact related entity ID.
- `destinationId` string: Exact related entity ID.
- `status` string: Exact, case-sensitive match. Spaces and punctuation are literal.
- `orderId` string
- `sourceShipmentId` string

## Response `200`

A page of matching records. totalItems counts all matches across pages. When nextCursor is null, you have reached the last page.

- LegsList
  - `items` object[], required
    - `id` string, required
    - `orderId` string, required
    - `originId` string, nullable, required
    - `destinationId` string, nullable, required
    - `status` string, required
    - `sourceShipmentId` string, nullable, required
    - `createdAt` string, required
    - `updatedAt` string, required
  - `nextCursor` string, nullable, required
  - `totalItems` integer, required: Total number of matching records across all pages.

## Other responses

- `400`: Invalid parameter, unsupported include, or cursor used with different filters.
- `401`: Missing, invalid, expired, or out-of-scope API key.
- `404`: The record was not found or is not available to your brand.
- `429`: Rate limit exceeded. Retry after the indicated delay.
- `500`: Unexpected server error.

---

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