curl --request GET \
--url https://app.egma.ai/v1/runs/{runId}/events \
--header 'Authorization: Bearer <token>'{
"events": [],
"next": 12,
"caughtUp": true,
"done": false
}{
"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": {}
}List run events
Read run events in sequence order. Pass each response’s next value as after. Continue until done is true, then inspect the simulation grades for pass or fail results.
curl --request GET \
--url https://app.egma.ai/v1/runs/{runId}/events \
--header 'Authorization: Bearer <token>'{
"events": [],
"next": 12,
"caughtUp": true,
"done": false
}{
"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
An Egma API key.
Path Parameters
Run ID returned by Create a run or List runs.
1"run_01M0E4J0BBE1FVDVTZ1BSS5C97"
Query Parameters
Project to act in. A project-scoped API key already identifies its project.
1Return events with a sequence greater than this value. Use zero or omit it for the first page; use the previous response's next value to continue.
0
Response
The run events after the requested sequence.
- Option 1
- Option 2
Show child attributes
Show child attributes
Cursor to send as after on the next request. An empty page returns the same cursor.
This page includes all execution events available when it was read. More events or grades may arrive later.
Execution finished, no execution events remain in the backlog, and every gradable simulation has complete or errored grading. Inspect individual grades to decide whether the run meets your requirements.