---
title: "Read the caller company's supplier network graph"
method: GET
path: "/api/network-companies/graph"
tags: ["Companies", "Network", "Graph"]
---

# Read the caller company's supplier network graph

`GET /api/network-companies/graph`

## 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/network-companies/graph`
- Auth: none declared

The caller company's graph: one layer per production process (highest `position` first), each with its nodes — company, facility processes and stored canvas position — and the links between shown nodes. `filter` is JSON `{ facilityProcesses?, name?, country? }`: facility processes and name are case-insensitive substring matches, country an exact match, comma-separated values match any. Answers the `{ data, metadata }` envelope (legacy answered the bare view). 404 `graph_not_found` when the company has no graph yet.

## Query parameters

- `filter` string

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required: True when the request succeeded.
  - `data` object, required
    - `id` string, required
    - `layers` object[], required
      - `id` string, required
      - `name` string, nullable, required
      - `position` number, required
      - `productionProcess` object, nullable, required
        - `id` string, required
        - `name` string, required
        - `position` number, nullable, required
        - `color` string, nullable, required
        - `iconColor` string, nullable, required
        - `description` string, nullable, required
      - `nodes` object[], required
        - `id` string, required
        - `networkCompanyGraphId` string, required
        - `companyId` string, required
        - `productionProcessId` string, nullable, required
        - `position` object, nullable, required
        - `company` object, required
          - `id` string, required
          - `name` string, nullable, required
          - `featuredImageFileUrl` string, nullable, required
          - `city` string, nullable, required
          - `country` string, nullable, required
          - `imageList` object[], required
        - `facilityProcesses` object[], required
          - `id` string, required
          - `name` string, required
          - `productionProcessId` string, nullable, required
    - `links` object[], required
      - `id` string, required
      - `networkCompanyGraphId` string, required
      - `originNodeId` string, required
      - `destinationNodeId` string, required

## Other responses

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

## Changes

> 108 revisions in range; 2 not diffed.

- **2026-10-28** `46325ef4934d`: 1 info
  - for the `query` request parameter `filter`, the maxLength was increased from `512` to `2048`
- **2026-10-18** `4a6f524fc97b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/retraced/apis/api-reference/changes/api/network-companies/graph/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)
