List sandboxes + pool config
curl --request GET \
--url http://127.0.0.1:4100/api/projects/{id}/sandboxes \
--header 'x-alibi-api-key: <api-key>'import requests
url = "http://127.0.0.1:4100/api/projects/{id}/sandboxes"
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}/sandboxes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"config": {},
"sandboxes": [
{
"id": "<string>",
"projectId": "<string>",
"mode": "schema_prefix",
"dataPlane": "<string>",
"status": "warming",
"label": "<string>",
"sessionId": "<string>",
"recorder": "<string>",
"sql": {},
"redis": {},
"docker": {},
"k8s": {},
"branch": {},
"createdAt": "2023-11-07T05:31:56Z",
"checkedOutAt": "2023-11-07T05:31:56Z"
}
]
}{
"error": "<string>"
}Sandboxes
List sandboxes + pool config
GET
/
projects
/
{id}
/
sandboxes
List sandboxes + pool config
curl --request GET \
--url http://127.0.0.1:4100/api/projects/{id}/sandboxes \
--header 'x-alibi-api-key: <api-key>'import requests
url = "http://127.0.0.1:4100/api/projects/{id}/sandboxes"
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}/sandboxes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"config": {},
"sandboxes": [
{
"id": "<string>",
"projectId": "<string>",
"mode": "schema_prefix",
"dataPlane": "<string>",
"status": "warming",
"label": "<string>",
"sessionId": "<string>",
"recorder": "<string>",
"sql": {},
"redis": {},
"docker": {},
"k8s": {},
"branch": {},
"createdAt": "2023-11-07T05:31:56Z",
"checkedOutAt": "2023-11-07T05:31:56Z"
}
]
}{
"error": "<string>"
}