How to get Job details with the CircleCI API V2

You can use the CircleCI V2 API to get job details.


Using a curl GET request as shown below you will need to replace the project-slug which is your VCS information in the example below this is CircleCI-Public/api-preview-docs and the job number. You will also need to include a form of authorization which can be an api_key_header basic_auth or an api_key_query. A guide can be found under additional resources for utilizing basic authorization.

curl --request GET \
  --url \
  --header 'authorization: Basic REPLACE_BASIC_AUTH'


You will retrieve the data for the job.

Additional Resources

A link to the API can be found here:

A link to utilizing authorization can be found here:

Was this article helpful?
0 out of 7 found this helpful



Article is closed for comments.