Get a connection probe on a demo (browser session)
import requests
url = "https://api.platform.ankra.app/org/stack-profiles/{profile_id}/demos/{workspace_id}/connection-probes/{probe_id}"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/org/stack-profiles/{profile_id}/demos/{workspace_id}/connection-probes/{probe_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.platform.ankra.app/org/stack-profiles/{profile_id}/demos/{workspace_id}/connection-probes/{probe_id} \
--cookie ankra_session={
"probe_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "queued",
"verdict": "passed",
"cause": "<string>",
"reason": "<string>",
"requested_at": "2023-11-07T05:31:56Z",
"probed_at": "2023-11-07T05:31:56Z"
}Stack Profiles
Get a connection probe on a demo (browser session)
Reads back a connection probe requested on one demo of a stack profile. verdict is passed (a pod in the demo’s namespace connected), failed (the canary ran and did not connect; reason says how) or unknown (nothing was learned yet or at all; reason says why). status is queued, probed or expired; a probe not run within ten minutes expires, and an expired probe says nothing about the connection.
GET
/
org
/
stack-profiles
/
{profile_id}
/
demos
/
{workspace_id}
/
connection-probes
/
{probe_id}
Get a connection probe on a demo (browser session)
import requests
url = "https://api.platform.ankra.app/org/stack-profiles/{profile_id}/demos/{workspace_id}/connection-probes/{probe_id}"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/org/stack-profiles/{profile_id}/demos/{workspace_id}/connection-probes/{probe_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.platform.ankra.app/org/stack-profiles/{profile_id}/demos/{workspace_id}/connection-probes/{probe_id} \
--cookie ankra_session={
"probe_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "queued",
"verdict": "passed",
"cause": "<string>",
"reason": "<string>",
"requested_at": "2023-11-07T05:31:56Z",
"probed_at": "2023-11-07T05:31:56Z"
}Authorizations
Path Parameters
Response
The probe and its verdict
A connection probe requested on a stack-profile demo, and what it found.