Get the date and time the first build for a project ran

If for some reason you want to know when a project was added to CircleCI, you can do the following.

With API auth configured (a token, or no token required via a logged in browser), curl, and jq, you can run the following:

curl "<org>/<repo>/1" | jq .steps[0].actions[0].start_time

# Replace <org> with your GitHub org and 
# replace <repo> with your project's repository name.

For example, for my person website Feliciano.Tech (which is open source) you can run:

curl "" | jq .steps[0].actions[0].start_time

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 20160  100 20160    0     0   146k      0 --:--:-- --:--:-- --:--:--  146k

My website’s first CircleCI build was December 18th, 2016 at 11:15pm UTC.

1 Like

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