cURL
curl -s -X POST http://127.0.0.1:4100/api/projects/demo-coffee/verify-live \
-H 'content-type: application/json' -H 'x-alibi-api-key: laddu-key-demo' \
-d '{"caseId":"CASE_ID","targetBaseUrl":"http://127.0.0.1:4200"}'import requests
url = "http://127.0.0.1:4100/api/projects/{id}/verify-live"
payload = {
"caseId": "<string>",
"targetBaseUrl": "http://127.0.0.1:4200"
}
headers = {
"x-alibi-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-alibi-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({caseId: '<string>', targetBaseUrl: 'http://127.0.0.1:4200'})
};
fetch('http://127.0.0.1:4100/api/projects/{id}/verify-live', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"run": {
"id": "<string>",
"projectId": "<string>",
"caseId": "<string>",
"suiteId": "<string>",
"mode": "record",
"status": "pending",
"baselineVersion": 123,
"stepResults": [
{}
],
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z"
},
"replay": [
{
"stepOrder": 123,
"path": "<string>",
"status": 123,
"error": "<string>",
"sandboxId": "<string>"
}
],
"sandbox": {
"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>"
}{
"error": "<string>"
}Verify
Verify-live orchestration
Orchestrates verify-live against a target app URL. Checks out a sandbox (default warm_pool), replays case steps with x-alibi-mode: verify and sandbox headers, then finishes the run. The SDK restores baseline and diffs mutations on the target.
POST
/
projects
/
{id}
/
verify-live
cURL
curl -s -X POST http://127.0.0.1:4100/api/projects/demo-coffee/verify-live \
-H 'content-type: application/json' -H 'x-alibi-api-key: laddu-key-demo' \
-d '{"caseId":"CASE_ID","targetBaseUrl":"http://127.0.0.1:4200"}'import requests
url = "http://127.0.0.1:4100/api/projects/{id}/verify-live"
payload = {
"caseId": "<string>",
"targetBaseUrl": "http://127.0.0.1:4200"
}
headers = {
"x-alibi-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-alibi-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({caseId: '<string>', targetBaseUrl: 'http://127.0.0.1:4200'})
};
fetch('http://127.0.0.1:4100/api/projects/{id}/verify-live', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"run": {
"id": "<string>",
"projectId": "<string>",
"caseId": "<string>",
"suiteId": "<string>",
"mode": "record",
"status": "pending",
"baselineVersion": 123,
"stepResults": [
{}
],
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z"
},
"replay": [
{
"stepOrder": 123,
"path": "<string>",
"status": 123,
"error": "<string>",
"sandboxId": "<string>"
}
],
"sandbox": {
"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>"
}{
"error": "<string>"
}Authorizations
ApiKeyAuthBearerAuth
Body
application/json