---
title: "Get the drawing's From-To and connected-items tables"
method: GET
path: "/api/v0/components/{component_id}/schematic/connections"
tags: ["Components"]
---

# Get the drawing's From-To and connected-items tables

`GET /api/v0/components/{component_id}/schematic/connections`

## Request

- Base URL: `https://api.outerport.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outerport.com/api/v0/components/{component_id}/schematic/connections`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/outerport/apis/outerport-api/docs/api/v0/components/:component_id/schematic/connections/get.ts> (a function with typed inputs; its response is checked against the schema)

`streams` holds one row per line number end to end (the From-To sheet of the Excel export); `connections` one row per pair of symbols a drawn line joins, signal lines included (the Connected Items sheet). Every row carries the segment ids it covers and the element ids of its two ends.

## Path parameters

- `component_id` string, required

## Query parameters

- `vc_id` string, required: Public ID of the target visual component

## Response `200`

Successful Response

- SchematicConnectionsResponse: The saved drawing's connectivity, in the rows of the export's ``From-To`` and ``Connected Items`` sheets, each with the segment ids it covers.
  - `streams` FromToEntry[], required
    - `line_number` string, nullable, required
    - `source` string, required
    - `target` string, required
    - `source_type` string, required
    - `target_type` string, required
    - `source_drawing` string, nullable, required
    - `target_drawing` string, nullable, required
    - `directed` boolean, required
    - `segment_ids` string[], required
    - `source_node` string, required
    - `target_node` string, required
  - `connections` ConnectedItemEntry[], required
    - `line_number` string, nullable, required
    - `source` string, required
    - `target` string, required
    - `source_type` string, required
    - `target_type` string, required
    - `line_type` string, required
    - `directed` boolean, required
    - `segment_ids` string[], required
    - `source_node` string, required
    - `target_node` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-23** `a982f74233e9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/outerport/apis/outerport-api/changes/api/v0/components/:component_id/schematic/connections/get.md)

---

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