# Recent Builds For A Single Project endpoint returning "No Project Found"

**URL:** <https://discuss.circleci.com/t/recent-builds-for-a-single-project-endpoint-returning-no-project-found/32653>\
**Category:** Build Environment\
**Created:** [September 25, 2019, 6:12pm UTC](https://discuss.circleci.com/t/recent-builds-for-a-single-project-endpoint-returning-no-project-found/32653 "2019-09-25T18:12:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![peter-kinzelman](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/peter-kinzelman/32/23270_2.png) [@peter-kinzelman](https://discuss.circleci.com/u/peter-kinzelman)\
**Post date:** [September 25, 2019, 6:12pm UTC](https://discuss.circleci.com/t/recent-builds-for-a-single-project-endpoint-returning-no-project-found/32653/1 "2019-09-25T18:12:10Z")

</div>

[https://circleci.com/docs/api/#recent-builds-for-a-single-project](https://circleci.com/docs/api/#recent-builds-for-a-single-project)

Using the endpoint from the above docs:

```auto
curl https://circleci.com/api/v1.1/project/github/{github username}/{project in circle}?circle-token={project level token}&limit=20&offset=5&filter=completed

```

Returning:

```auto
{
  "message" : "Project not found"
}

```

PS: I’ve also tried to create a personal API token (Under user-settings in circle), to no avail.

---

<div class="post-metadata">

**Author:** ![peter-kinzelman](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/peter-kinzelman/32/23270_2.png) [@peter-kinzelman](https://discuss.circleci.com/u/peter-kinzelman)\
**Post date:** [September 25, 2019, 6:17pm UTC](https://discuss.circleci.com/t/recent-builds-for-a-single-project-endpoint-returning-no-project-found/32653/2 "2019-09-25T18:17:40Z")

</div>

> [@"Recent Builds For A Single Project" returns EDN instead of JSON?](https://discuss.circleci.com/t/recent-builds-for-a-single-project-returns-edn-instead-of-json/30691):
>
> I’m trying to receive project build summaries using an AWS Lambda. This is (part) of the code return new Promise(function(resolve, reject) { const options = { host: "circleci.com", port: 443, path: "/api/v1.1/project/github/:org/:repo?circle-token=:token&limit=1&shallow=true", }; var req = https.get(options, function(res) { let body = ''; res.on('data', chunk =\> { body += chunk; }); res.on('end', () =\> { console.log(body); …

Answered my own question with the endpoint from above answer:

```auto
curl -X GET "https://circleci.com/api/v1.1/project/github/:org/:repo?circle-token=:token&limit=1&shallow=true"

```

Documents say `/:vcs-type/:username/:repo`… this doesn’t work. Please update docs!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [October 5, 2019, 6:17pm UTC](https://discuss.circleci.com/t/recent-builds-for-a-single-project-endpoint-returning-no-project-found/32653/3 "2019-10-05T18:17:51Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
