Skip to main content
POST
Regrade a simulation

Authorizations

Authorization
string
header
required

An Egma API key.

Path Parameters

simulationId
string
required

Simulation ID returned by List simulations in a run.

Minimum string length: 1
Example:

"sim_01M0E4J0BBE1FVDVTZ1BSS5C97"

Query Parameters

projectId
string
Minimum string length: 1

Response

The grading request was accepted. The response does not wait for new grades.

simulationId
string
required

The simulation whose existing trace will be graded.

Minimum string length: 1
reopened
integer
required

1 if an existing finished grading job was reopened; 0 otherwise. A newly created job can also return 0.

alreadyWaiting
integer
required

1 if grading was already pending or claimed, so no duplicate job was created; 0 otherwise.