1>>> import requests
2>>> response = requests.get('https://website.com/id', headers={'Authorization': 'access_token myToken'})
3or
4>>> response = requests.get('https://api.buildkite.com/v2/organizations/orgName/pipelines/pipelineName/builds/1230', headers={ 'Authorization': 'Bearer <your_token>' })
5