Get Run
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/simulation/runs/{run_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/simulation/runs/{run_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/simulation/runs/{run_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"status": "<string>",
"object": "simulation_run",
"dataset_id": "<string>",
"dataset_name": "<string>",
"agent_id": "<string>",
"agent_name": "<string>",
"total_tests": 0,
"passed_tests": 0,
"failed_tests": 0,
"success_rate": 123,
"error_message": "<string>",
"started_at": "<string>",
"completed_at": "<string>"
}Simulation
Get Run
Get a simulation run by ID.
GET
/
api
/
v1
/
simulation
/
runs
/
{run_id}
Get Run
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/simulation/runs/{run_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/simulation/runs/{run_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/simulation/runs/{run_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"status": "<string>",
"object": "simulation_run",
"dataset_id": "<string>",
"dataset_name": "<string>",
"agent_id": "<string>",
"agent_name": "<string>",
"total_tests": 0,
"passed_tests": 0,
"failed_tests": 0,
"success_rate": 123,
"error_message": "<string>",
"started_at": "<string>",
"completed_at": "<string>"
}Authorizations
Path Parameters
Response
200 - application/json
OK
Response schema for simulation runs.
