currents api
Learn how to get data from Currents API using currents api CLI command
currents api
is a CLI command for fetching data from Currents API the data is returned in JSON format.
Usage
Obtain run data using the CI Build ID by running the following command:
npx currents api get-run --ci-build-id <ci-build-id> --output path/to/save/run.json
Obtain the last completed run details, filtered by --branch
and/or --tag
npx currents api get-run --branch <branch> --tag <tag-1,tag-2,...tag-n>
Last updated
Was this helpful?