Simulation Runs
Simulation Run Items

Get Simulation Run Item

get/eval/simulation/run/{id}/item/{itemId}

Path parameters

idstring required
itemIdstring required

Response

idstring uuid required

This is the unique identifier for the simulation run item.

orgIdstring uuid required

This is the unique identifier for the organization.

simulationIdstring uuid required

This is the ID of the simulation this run belongs to.

status'queued' | 'running' | 'evaluating' | 'passed' | 'failed' | 'canceled' required

This is the current status of the run.

queuedAtstring date-time required

This is the ISO 8601 date-time string of when the run was queued.

startedAtstring date-time

This is the ISO 8601 date-time string of when the run started.

completedAtstring date-time

This is the ISO 8601 date-time string of when the run completed.

failedAtstring date-time

This is the ISO 8601 date-time string of when the run failed.

canceledAtstring date-time

This is the ISO 8601 date-time string of when the run was canceled.

failureReasonstring

This is the reason for failure.

callIdstring uuid

This is the ID of the target Vapi call (the assistant being tested).

createdAtstring date-time required

This is the ISO 8601 date-time string of when the run item was created.

updatedAtstring date-time required

This is the ISO 8601 date-time string of when the run item was last updated.

runIdstring uuid

This is the ID of the parent run (batch/group).

iterationNumbernumber

This is the iteration number (1-indexed) when run with iterations > 1.

sessionIdstring uuid

This is the session ID for chat-based simulations (webchat transport).

scenarioIdstring uuid

This is the scenario ID at run creation time.

personalityIdstring uuid

This is the personality ID at run creation time.

Example response

{
  "hooks": [
    {
      "do": [
        {
          "server": {
            "timeoutSeconds": 20,
            "credentialId": "550e8400-e29b-41d4-a716-446655440000",
            "backoffPlan": {
              "baseDelaySeconds": 1,
              "excludedStatusCodes": [
                400,
                401,
                403,
                404
              ]
            }
          }
        }
      ]
    }
  ]
}

Changes