---
title: "GET /api/admin/supply-chains"
method: GET
path: "/api/admin/supply-chains"
tags: ["Administration/Supply Chains"]
---

# GET /api/admin/supply-chains

`GET /api/admin/supply-chains`

## Request

- Base URL: `https://api.retraced.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.retraced.com/api/admin/supply-chains`
- Auth: none declared

The v1 supply chains of every brand that are not removed, active ones only unless `filter` sets `isArchived` to `1`. `companyId` narrows to chains with that company on a node (as brand or supplier), `productId` to the chain the product is on, and `q` matches the name. `filter` is a JSON object: `name`, `brandName` (the owner's official name) and `brandId` match as case-insensitive substrings, `isArchived` takes `0` or `1` (legacy answered a 500 for it). Sortable by name, isArchived, updatedAt and brandName. Answers the paginated `{ data, metadata: { pagination } }` envelope (1-based `pagination.page`); legacy sent `{ data, meta }`.

## Query parameters

- `page` integer
- `count` integer
- `sort` string
- `q` string
- `filter` string
- `companyId` string
- `productId` string

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required: True when the request succeeded.
    - `pagination` object
      - `page` number, required: Current page number (1-based).
      - `limit` number, required: Page size used for this response. Endpoint defaults vary — see each endpoint's limit parameter.
      - `total` number, required: Total number of records across all pages.
      - `totalPages` number, required: Total number of pages. Iterate until page reaches totalPages.
  - `data` object[], required
    - `id` string, required
    - `name` string, nullable, required
    - `brandId` string, required
    - `brandOfficialName` string, nullable, required
    - `isBrandRemoved` boolean, required
    - `isArchived` boolean, required
    - `updatedAt` string, date-time, nullable, required

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response

## Changes

> 108 revisions in range; 2 not diffed.

- **2026-10-16** `b058e8096bed`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/retraced/apis/api-reference/changes/api/admin/supply-chains/get.md)

---

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