The single-job endpoint in CircleCI’s API has contained an undocumented field “has-artifacts
”. This field has been hard coded to true
for 3+ years. A recent change has caused this field to return a hard coded null
instead of true
. Rather than re-introduce the misleading hard coded true
, this field will be removed entirely on Feb 24, 2023.
The recommended way to check if a job stored any artifacts is to call the artifacts API endpoint - this will return 200
if the job exists and has correct authentication. It returns an array of artifacts if any are present or an empty array if no artifacts were stored for the job.
Comment below if you have any questions or concerns.