---
title: "Read"
method: GET
path: "/api/cp/setup/component/{id}"
tags: ["Setup Component"]
---

# Read

`GET /api/cp/setup/component/{id}`

Retrieve a single Setup Component record by ID.

## Path parameters

- `id` integer, required

## Response `200`

Successful response

- SetupComponent
  - `id` integer — Id
  - `account_id` integer — Account Id
  - `name` string — Name
  - `path` string — Path
  - `section` string — Section
  - `title` string — Title
  - `subtitle` string — Subtitle
  - `graph_type` 'line' | 'area' | 'bar' | 'pie' | 'radar' | 'sankey' | 'gauge' — Graph Type
  - `colspan` integer — Colspan
  - `height` integer — Height
  - `output` string[] — Output
  - `queries` string — Queries
  - `graph` object — Graph
  - `scriptforge_id` integer — Scriptforge Id
  - `analytic_id` integer — Analytic Id
  - `pre_processor_script` string — Pre Processor Script

## Other responses

- `400` — Bad Request - Invalid parameters or request body
- `401` — Authentication information is missing or invalid
- `403` — Access denied - insufficient permissions or dependency access failure
- `404` — Resource not found
- `500` — Internal server error

---

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