Start a simulation
curl --request POST \
--url https://judged.systems/api/simulations \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"datasetId": "<string>",
"packId": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({datasetId: '<string>', packId: '<string>'})
};
fetch('https://judged.systems/api/simulations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://judged.systems/api/simulations"
payload = {
"datasetId": "<string>",
"packId": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "<string>"
}{
"error": "<string>",
"issues": [
{}
]
}Simulations
Start a simulation
Requires simulations:run. Judges the dataset with the pack’s published version. Returns before the run finishes.
POST
/
api
/
simulations
Start a simulation
curl --request POST \
--url https://judged.systems/api/simulations \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"datasetId": "<string>",
"packId": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({datasetId: '<string>', packId: '<string>'})
};
fetch('https://judged.systems/api/simulations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://judged.systems/api/simulations"
payload = {
"datasetId": "<string>",
"packId": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "<string>"
}{
"error": "<string>",
"issues": [
{}
]
}