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

# List Component Versions

`GET /deploy/components/{component_id}/versions`

List the versions for a component.

## Path parameters

- `component_id` string, required

## Query parameters

- `environment-id` string, uuid

## Response `200`

Paginated component versions list

- PaginatedComponentVersionList
  - `items` Version[]
    - `name` string — The version name
    - `environment_id` string, uuid — The ID of the environment in which the version has been deployed
    - `namespace` string — The namespace in which the version was deployed
    - `is_live` boolean — Whether the version is live or not
    - `pipeline_id` string, uuid — The ID of the pipeline that deployed the version
    - `workflow_id` string, uuid — The ID of the CircleCI workflow that deployed the version
    - `job_id` string, uuid — The ID of the CircleCI job that deployed the version
    - `job_number` integer — The number of the CircleCI job that deployed the version
    - `last_deployed_at` string, date-time — The time at which the version was last deployed
  - `next_page_token` string, nullable — The pagination token to use when fetching the next page in this result set.

## 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)
