# How can I get the job number just with the slug of the project?

**URL:** <https://discuss.circleci.com/t/how-can-i-get-the-job-number-just-with-the-slug-of-the-project/46741>\
**Category:** API\
**Created:** [January 16, 2023, 5:25pm UTC](https://discuss.circleci.com/t/how-can-i-get-the-job-number-just-with-the-slug-of-the-project/46741 "2023-01-16T17:25:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamesespichan](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/jamesespichan/32/32109_2.png) [@jamesespichan](https://discuss.circleci.com/u/jamesespichan)\
**Post date:** [January 16, 2023, 5:25pm UTC](https://discuss.circleci.com/t/how-can-i-get-the-job-number-just-with-the-slug-of-the-project/46741/1 "2023-01-16T17:25:10Z")

</div>

Hey guys,  
I want to get the job number(17195 of the image) from an specific project just with the slug of the project.  
I’m using the api v2 of circle ci but I didn’t find the correct endpoint.

Do you have any idea?

 ![image](https://global.discourse-cdn.com/circleci/original/3X/0/5/05ad37a7146b81155550d7e42df028af5279afb9.png)

---

<div class="post-metadata">

**Author:** ![jerdog](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/jerdog/32/32130_2.png) [@jerdog](https://discuss.circleci.com/u/jerdog)\
**Post date:** [January 17, 2023, 10:18pm UTC](https://discuss.circleci.com/t/how-can-i-get-the-job-number-just-with-the-slug-of-the-project/46741/2 "2023-01-17T22:18:06Z")

</div>

Hey @jamesespichan thanks for reaching out. Can you provide a bit more information on what you’re trying to achieve? Every job ran in a project workflow gets incremented, so using the API documentation for [Get Workflow Jobs](https://circleci.com/docs/api/v2/index.html#operation/listWorkflowJobs) will provide you a paginated list of all the jobs for a workflow.
