curl --request GET \
--url https://app.egma.ai/v1/runs/{runId} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"projectId": "<string>",
"suiteId": "<string>",
"suiteName": "<string>",
"suiteDeleted": true,
"name": "<string>",
"status": "pending",
"agentId": "<string>",
"connectionId": "<string>",
"connectionName": "<string>",
"agentPlatform": "<string>",
"connectionType": "<string>",
"accessVariant": "<string>",
"modality": "voice",
"productLabel": "<string>",
"environment": "<string>",
"agentVersion": 123,
"expectedSimulationCount": 123,
"completedCount": 123,
"failedCount": 123,
"canceledCount": 123,
"simulationCounts": {
"queued": 123,
"claimed": 123,
"running": 123,
"completed": 123,
"failed": 123,
"canceled": 123
},
"finishedCount": 123,
"gradableCount": 123,
"gradedCount": 123,
"resultsUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"eventThrough": 123,
"workBlock": {
"error": "allowance_spent",
"message": "<string>"
},
"tempMockAgentVersion": 123,
"tempMockAgentVersionCleanup": true,
"mockMetadata": {
"engine": {
"type": "<string>",
"engineId": "<string>",
"version": 123
}
},
"connectionSnapshot": {
"agentPlatform": "<string>",
"connectionType": "<string>",
"accessVariant": "<string>",
"modality": "voice",
"topology": "<string>",
"environment": "<string>",
"config": "<unknown>"
},
"agent": {
"id": "<string>",
"name": "<string>",
"archived": true
},
"connection": {
"id": "<string>",
"name": "<string>",
"archived": true,
"productLabel": "<string>"
}
}{
"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": {}
}Get a run
curl --request GET \
--url https://app.egma.ai/v1/runs/{runId} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"projectId": "<string>",
"suiteId": "<string>",
"suiteName": "<string>",
"suiteDeleted": true,
"name": "<string>",
"status": "pending",
"agentId": "<string>",
"connectionId": "<string>",
"connectionName": "<string>",
"agentPlatform": "<string>",
"connectionType": "<string>",
"accessVariant": "<string>",
"modality": "voice",
"productLabel": "<string>",
"environment": "<string>",
"agentVersion": 123,
"expectedSimulationCount": 123,
"completedCount": 123,
"failedCount": 123,
"canceledCount": 123,
"simulationCounts": {
"queued": 123,
"claimed": 123,
"running": 123,
"completed": 123,
"failed": 123,
"canceled": 123
},
"finishedCount": 123,
"gradableCount": 123,
"gradedCount": 123,
"resultsUrl": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z",
"eventThrough": 123,
"workBlock": {
"error": "allowance_spent",
"message": "<string>"
},
"tempMockAgentVersion": 123,
"tempMockAgentVersionCleanup": true,
"mockMetadata": {
"engine": {
"type": "<string>",
"engineId": "<string>",
"version": 123
}
},
"connectionSnapshot": {
"agentPlatform": "<string>",
"connectionType": "<string>",
"accessVariant": "<string>",
"modality": "voice",
"topology": "<string>",
"environment": "<string>",
"config": "<unknown>"
},
"agent": {
"id": "<string>",
"name": "<string>",
"archived": true
},
"connection": {
"id": "<string>",
"name": "<string>",
"archived": true,
"productLabel": "<string>"
}
}{
"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.
1Response
The bounded run header and target context.
111Simulation execution status. A completed run can contain failed simulations, and grading may still be in progress.
pending, running, completed, canceled 11voice, chat Number of test-and-persona combinations captured when the run started.
Show child attributes
Show child attributes
Simulations whose execution completed, failed, or was canceled.
Simulations eligible for grading under the run's frozen grader selection.
Gradable simulations whose grading is complete or errored. This is not a count of passed simulations.
Open this URL in a browser to follow the run and inspect its results.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes