Vapi · Schema

SimulationRunItem

Artificial IntelligenceVoiceAgentsReal-TimeCPaaS

Properties

Name Type Description
id string This is the unique identifier for the simulation run item.
orgId string This is the unique identifier for the organization.
simulationId string This is the ID of the simulation this run belongs to.
status string This is the current status of the run.
queuedAt string This is the ISO 8601 date-time string of when the run was queued.
startedAt string This is the ISO 8601 date-time string of when the run started.
completedAt string This is the ISO 8601 date-time string of when the run completed.
failedAt string This is the ISO 8601 date-time string of when the run failed.
canceledAt string This is the ISO 8601 date-time string of when the run was canceled.
failureReason string This is the reason for failure.
callId string This is the ID of the target Vapi call (the assistant being tested).
createdAt string This is the ISO 8601 date-time string of when the run item was created.
updatedAt string This is the ISO 8601 date-time string of when the run item was last updated.
runId string This is the ID of the parent run (batch/group).
hooks array Hooks configured for this simulation run item
iterationNumber number This is the iteration number (1-indexed) when run with iterations > 1.
sessionId string This is the session ID for chat-based simulations (webchat transport).
scenarioId string This is the scenario ID at run creation time.
personalityId string This is the personality ID at run creation time.
metadata object This is the metadata containing snapshots and call data.
results object This is the results of the simulation run.
improvementSuggestions object This is the AI-generated improvement suggestions for failed runs.
configurations object This is the configuration for how this simulation run executes.
View JSON Schema on GitHub

JSON Schema

vapi-simulationrunitem-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SimulationRunItem",
  "title": "SimulationRunItem",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "This is the unique identifier for the simulation run item.",
      "format": "uuid"
    },
    "orgId": {
      "type": "string",
      "description": "This is the unique identifier for the organization.",
      "format": "uuid"
    },
    "simulationId": {
      "type": "string",
      "description": "This is the ID of the simulation this run belongs to.",
      "format": "uuid"
    },
    "status": {
      "type": "string",
      "description": "This is the current status of the run.",
      "enum": [
        "queued",
        "running",
        "evaluating",
        "passed",
        "failed",
        "canceled"
      ]
    },
    "queuedAt": {
      "format": "date-time",
      "type": "string",
      "description": "This is the ISO 8601 date-time string of when the run was queued."
    },
    "startedAt": {
      "format": "date-time",
      "type": "string",
      "description": "This is the ISO 8601 date-time string of when the run started."
    },
    "completedAt": {
      "format": "date-time",
      "type": "string",
      "description": "This is the ISO 8601 date-time string of when the run completed."
    },
    "failedAt": {
      "format": "date-time",
      "type": "string",
      "description": "This is the ISO 8601 date-time string of when the run failed."
    },
    "canceledAt": {
      "format": "date-time",
      "type": "string",
      "description": "This is the ISO 8601 date-time string of when the run was canceled."
    },
    "failureReason": {
      "type": "string",
      "description": "This is the reason for failure.",
      "maxLength": 2000
    },
    "callId": {
      "type": "string",
      "description": "This is the ID of the target Vapi call (the assistant being tested).",
      "format": "uuid"
    },
    "createdAt": {
      "format": "date-time",
      "type": "string",
      "description": "This is the ISO 8601 date-time string of when the run item was created."
    },
    "updatedAt": {
      "format": "date-time",
      "type": "string",
      "description": "This is the ISO 8601 date-time string of when the run item was last updated."
    },
    "runId": {
      "type": "string",
      "description": "This is the ID of the parent run (batch/group).",
      "format": "uuid"
    },
    "hooks": {
      "type": "array",
      "description": "Hooks configured for this simulation run item",
      "items": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/SimulationHookCallStarted",
            "title": "SimulationHookCallStarted"
          },
          {
            "$ref": "#/components/schemas/SimulationHookCallEnded",
            "title": "SimulationHookCallEnded"
          }
        ]
      }
    },
    "iterationNumber": {
      "type": "number",
      "description": "This is the iteration number (1-indexed) when run with iterations > 1.",
      "default": 1
    },
    "sessionId": {
      "type": "string",
      "description": "This is the session ID for chat-based simulations (webchat transport).",
      "format": "uuid"
    },
    "scenarioId": {
      "type": "string",
      "description": "This is the scenario ID at run creation time.",
      "format": "uuid"
    },
    "personalityId": {
      "type": "string",
      "description": "This is the personality ID at run creation time.",
      "format": "uuid"
    },
    "metadata": {
      "description": "This is the metadata containing snapshots and call data.",
      "allOf": [
        {
          "$ref": "#/components/schemas/SimulationRunItemMetadata"
        }
      ]
    },
    "results": {
      "description": "This is the results of the simulation run.",
      "allOf": [
        {
          "$ref": "#/components/schemas/SimulationRunItemResults"
        }
      ]
    },
    "improvementSuggestions": {
      "description": "This is the AI-generated improvement suggestions for failed runs.",
      "allOf": [
        {
          "$ref": "#/components/schemas/SimulationRunItemImprovements"
        }
      ]
    },
    "configurations": {
      "description": "This is the configuration for how this simulation run executes.",
      "allOf": [
        {
          "$ref": "#/components/schemas/SimulationRunConfiguration"
        }
      ]
    }
  },
  "required": [
    "id",
    "orgId",
    "simulationId",
    "status",
    "queuedAt",
    "createdAt",
    "updatedAt"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/vapi-simulationrunitem"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.