List baselines
curl --request GET \
--url http://127.0.0.1:4100/api/projects/{id}/baselines \
--header 'x-alibi-api-key: <api-key>'import requests
url = "http://127.0.0.1:4100/api/projects/{id}/baselines"
headers = {"x-alibi-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-alibi-api-key': '<api-key>'}};
fetch('http://127.0.0.1:4100/api/projects/{id}/baselines', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": "<string>",
"projectId": "<string>",
"version": 123,
"label": "<string>",
"schemaFingerprint": "<string>",
"storageRefs": {
"sql": "<string>",
"redis": "<string>",
"object": "<string>"
},
"checksums": {},
"env": "<string>",
"rebasedFromId": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
]Baselines
List baselines
Baselines newest-first by version.
GET
/
projects
/
{id}
/
baselines
List baselines
curl --request GET \
--url http://127.0.0.1:4100/api/projects/{id}/baselines \
--header 'x-alibi-api-key: <api-key>'import requests
url = "http://127.0.0.1:4100/api/projects/{id}/baselines"
headers = {"x-alibi-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-alibi-api-key': '<api-key>'}};
fetch('http://127.0.0.1:4100/api/projects/{id}/baselines', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": "<string>",
"projectId": "<string>",
"version": 123,
"label": "<string>",
"schemaFingerprint": "<string>",
"storageRefs": {
"sql": "<string>",
"redis": "<string>",
"object": "<string>"
},
"checksums": {},
"env": "<string>",
"rebasedFromId": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
]Authorizations
ApiKeyAuthBearerAuth