# Get all projects within an organization

**URL:** <https://discuss.circleci.com/t/get-all-projects-within-an-organization/44414>\
**Category:** Documentation\
**Tags:** 2.0\
**Created:** [June 13, 2022, 10:25am UTC](https://discuss.circleci.com/t/get-all-projects-within-an-organization/44414 "2022-06-13T10:25:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![md\_nasim](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@md\_nasim](https://discuss.circleci.com/u/md_nasim)\
**Post date:** [June 13, 2022, 10:25am UTC](https://discuss.circleci.com/t/get-all-projects-within-an-organization/44414/1 "2022-06-13T10:25:30Z")

</div>

How to get all projects within an organization in version 2?

---

<div class="post-metadata">

**Author:** ![rit1010](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/rit1010/32/34738_2.png) [@rit1010](https://discuss.circleci.com/u/rit1010)\
**Post date:** [June 13, 2022, 12:28pm UTC](https://discuss.circleci.com/t/get-all-projects-within-an-organization/44414/2 "2022-06-13T12:28:58Z")

</div>

It will depend on what you mean by project - in the circleci GUI the project list seems to be a dynamic list of all the repos available at the configured repo platform, based on the rights of the account used to connect to the repo platform. When the ‘Set Up Project’ button is used this seems to create a Pipeline entry that is tied to the repo.

So from the published API it seems that you can scan all the defined Pipelines (max 250), which will provide the names of the repos/projects that have pipelines defined against them.

---

<div class="post-metadata">

**Author:** ![md\_nasim](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@md\_nasim](https://discuss.circleci.com/u/md_nasim)\
**Post date:** [June 13, 2022, 1:28pm UTC](https://discuss.circleci.com/t/get-all-projects-within-an-organization/44414/3 "2022-06-13T13:28:35Z")

</div>

There is an endpoint in **V1.1** to get all project with all the other details:  
[https://circleci.com/api/v1.1/projects](https://circleci.com/api/v1.1/projects)

Same like that, do we have any endpoint using which we can get all the project details?

---

<div class="post-metadata">

**Author:** ![rit1010](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/rit1010/32/34738_2.png) [@rit1010](https://discuss.circleci.com/u/rit1010)\
**Post date:** [June 13, 2022, 1:51pm UTC](https://discuss.circleci.com/t/get-all-projects-within-an-organization/44414/4 "2022-06-13T13:51:12Z")

</div>

I’ve never used the V1.1 api, but as the description of v1.1/projects seems to be

```auto
Returns an array of all projects you are currently following on CircleCI, with build information organized by branch.

```

That would seem to match the V2.0 API call of Pipeline - get a list of pipelines, which returns a list of all the projects being tracked by CircleCI. The build info by branch is a little more complicated as you would then have to use the Insights API.
