List Runs
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/simulation/datasets/{dataset_id}/runs \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/simulation/datasets/{dataset_id}/runs"
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/datasets/{dataset_id}/runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"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>"
}
],
"has_more": true,
"total": 123,
"object": "list"
}Simulation
List Runs
List all runs for a dataset.
GET
/
api
/
v1
/
simulation
/
datasets
/
{dataset_id}
/
runs
List Runs
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/simulation/datasets/{dataset_id}/runs \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/simulation/datasets/{dataset_id}/runs"
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/datasets/{dataset_id}/runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"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>"
}
],
"has_more": true,
"total": 123,
"object": "list"
}