---
title: "List pipeline definitions"
method: GET
path: "/projects/{project_id}/pipeline-definitions"
tags: ["Pipeline Definition"]
---

# List pipeline definitions

`GET /projects/{project_id}/pipeline-definitions`

## Request

- Base URL: `https://circleci.com/api/v2`
- URL: `https://circleci.com/api/v2/projects/{project_id}/pipeline-definitions`
- Auth: one of:
  - API key in header `Circle-Token`
  - HTTP bearer
  - HTTP basic
  - API key in query parameter `circle-token`

List all pipeline definitions for a given project. [Share feedback](https://circleci.canny.io/cloud-feature-requests/p/project-administration-apis) about our Project Administration APIs.

## Path parameters

- `project_id` string, required

## Response `200`

Successful response.

- PipelineDefinitionList
  - `items` PipelineDefinition[]
    - `id` string, uuid: The unique ID of the pipeline definition.
    - `name` string: The name of the pipeline definition.
    - `description` string: The description of the pipeline definition.
    - `created_at` string, date-time: The date and time the pipeline definition was created.
    - `config_source` object: The resource that stores the CircleCI config YAML used for this pipeline definition.
      - `provider` string: The integration provider for this resource.
      - `repo` PipelineDefinitionRepo
        - `full_name` string: The fully-qualified name of the repository.
        - `external_id` string: External identifier for the repository, as defined by the respective version control provider.
      - `file_path` string: Path to CircleCI config YAML file to use for this pipeline definition.
    - `checkout_source` object: The resource to be used when running the `checkout` command.
      - `provider` string: The integration provider for this resource.
      - `repo` PipelineDefinitionRepo
        - `full_name` string: The fully-qualified name of the repository.
        - `external_id` string: External identifier for the repository, as defined by the respective version control provider.

## Other responses

- `400`: Unexpected request body provided.
- `401`: Credentials provided are invalid.
- `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)
