cURL
curl --request GET \ --url https://app.kosli.com/api/v2/artifacts/{org}/{flow_name}/{fingerprint}/latest_commit \ --header 'Authorization: Bearer <token>'
{ "latest_commit": "c8f476a48dee6f98e0aac8a6e418e2207900827f" }
Get the latest git commit of the artifact.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
^[a-zA-Z0-9][a-zA-Z0-9\.\-_~]*$
^[a-f0-9]{64}$
The branch to get the commit from
Successful Response
Was this page helpful?