---
title: "List Components"
method: GET
path: "/deploy/components"
tags: ["Deploy"]
---

# List Components

`GET /deploy/components`

## Request

- Base URL: `https://circleci.com/api/v2`
- URL: `https://circleci.com/api/v2/deploy/components`
- Auth: one of:
  - API key in header `Circle-Token`
  - HTTP bearer
  - HTTP basic
  - API key in query parameter `circle-token`

Allows for listing of components for a given organization ID.

## Query parameters

- `org-id` string, uuid, required
- `project-id` string, uuid
- `page-size` integer, required
- `page-token` string

## Response `200`

Paginated components list

- PaginatedComponentList
  - `items` 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
  - `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.dev/circleci/apis/circleci-api.md) - [All operations](https://skmtc.dev/circleci/apis/circleci-api/llms.txt) - [OpenAPI document](https://skmtc.dev/circleci/apis/circleci-api/revisions/b9c0e0c24058?raw)
