Finish run
curl --request POST \
--url http://127.0.0.1:4100/api/runs/{id}/finish \
--header 'Content-Type: application/json' \
--header 'x-alibi-api-key: <api-key>' \
--data '{}'import requests
url = "http://127.0.0.1:4100/api/runs/{id}/finish"
payload = {}
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({})
};
fetch('http://127.0.0.1:4100/api/runs/{id}/finish', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"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"
}{
"error": "<string>"
}Runs
Finish run
POST
/
runs
/
{id}
/
finish
Finish run
curl --request POST \
--url http://127.0.0.1:4100/api/runs/{id}/finish \
--header 'Content-Type: application/json' \
--header 'x-alibi-api-key: <api-key>' \
--data '{}'import requests
url = "http://127.0.0.1:4100/api/runs/{id}/finish"
payload = {}
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({})
};
fetch('http://127.0.0.1:4100/api/runs/{id}/finish', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"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"
}{
"error": "<string>"
}Authorizations
ApiKeyAuthBearerAuth