Regrade a simulation
curl --request POST \
--url https://app.egma.ai/v1/simulations/{simulationId}/regrade \
--header 'Authorization: Bearer <token>'{
"simulationId": "sim_01M0E4J0BBE1FVDVTZ1BSS5C97",
"reopened": 1,
"alreadyWaiting": 0
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Simulations
Regrade a simulation
Grade a completed simulation again with its original grader selection and recorded evidence. Later grader settings do not apply. Send no body, then follow gradingState with Get a simulation.
POST
/
v1
/
simulations
/
{simulationId}
/
regrade
Regrade a simulation
curl --request POST \
--url https://app.egma.ai/v1/simulations/{simulationId}/regrade \
--header 'Authorization: Bearer <token>'{
"simulationId": "sim_01M0E4J0BBE1FVDVTZ1BSS5C97",
"reopened": 1,
"alreadyWaiting": 0
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}{
"error": "<string>",
"message": "<string>",
"details": {}
}Authorizations
bearerAuthsessionCookie
An Egma API key.
Path Parameters
Simulation ID returned by List simulations in a run.
Minimum string length:
1Example:
"sim_01M0E4J0BBE1FVDVTZ1BSS5C97"
Query Parameters
Minimum string length:
1Response
The grading request was accepted. The response does not wait for new grades.
The simulation whose existing trace will be graded.
Minimum string length:
11 if an existing finished grading job was reopened; 0 otherwise. A newly created job can also return 0.
1 if grading was already pending or claimed, so no duplicate job was created; 0 otherwise.