---
title: "Get Component"
method: GET
path: "/deploy/components/{component_id}"
tags: ["Deploy"]
---

# Get Component

`GET /deploy/components/{component_id}`

Get the details of a component by ID.

## Path parameters

- `component_id` string, required

## Response `200`

Successful response.

- Component
  - `id` string, uuid — The component ID
  - `name` string — The component name
  - `project_id` string, uuid — The project ID of the component
  - `labels` Label[] — The labels associated with the component
    - `key` string — The key of the label
    - `value` string — The value of the label
  - `release_count` integer — The number of releases for this component
  - `created_at` string, date-time — The time when the component was created
  - `updated_at` string, date-time — The time when the component was updated

## Other responses

- `400` — Unexpected request body provided.
- `404` — Entity not found.
- `500` — Internal server error.

---

[API](https://skmtc.net/circleci/apis/api-v2.md) · [All operations](https://skmtc.net/circleci/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/circleci/api-v2/revisions/b9c0e0c24058/schema)
