---
title: "Get a component by ID"
method: GET
path: "/api/v0/components/{component_id}"
tags: ["Components"]
---

# Get a component by ID

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

Retrieves a component by its ID.

## Path parameters

- `component_id` string, required

## Response `200`

Successful Response

- OpCoreApiEndpointsComponentsCrudComponentGetResponse
  - `id` string, uuid, required — The ID of the component
  - `type` 'flowchart' | 'diagram' | 'mindmap' | 'chart' | 'table' | 'schematic', required — The type of the component
  - `label` string, required — The label of the component
  - `description` string, nullable — A description of the component
  - `content` string, nullable — The generated component content
  - `render_svg` string, nullable — SVG rendering of the chart (for matplotlib charts only)
  - `grounding` object, nullable — Grounding metadata (bounding boxes, detections)
  - `metadata` object, nullable — Component metadata (includes processed_image_url for charts)
  - `confidence` number, nullable — Global confidence score (0.0-1.0) for flowchart generation quality

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/outerport/apis/outerport-api.md) · [All operations](https://skmtc.dev/outerport/apis/outerport-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/outerport/outerport-api/revisions/f565b46daaea/schema)
