import Roark from '@roarkanalytics/sdk';
const client = new Roark({
bearerToken: process.env['ROARK_API_BEARER_TOKEN'], // This is the default and can be omitted
});
const response = await client.simulationRunPlanJob.getResults('jobId');
console.log(response.data);
import os
from roark_analytics import Roark
client = Roark(
bearer_token=os.environ.get("ROARK_API_BEARER_TOKEN"), # This is the default and can be omitted
)
response = client.simulation_run_plan_job.get_results(
job_id="jobId",
)
print(response.data)
{
"type": "internal",
"code": "internal_error",
"message": "Internal server error"
}
Simulation Run Plan Job
Get simulation run results
Everything the run report shows, in one request: the summary and score, the pass/fail verdict,
per-metric aggregates, every simulation with its check results, breakdowns by agent and persona,
the comparison against the previous run (or compareToJobId), the sweep attribution, and the
written debrief with its executive summary, failure themes and recommendations.
Safe to call while the run is in progress: counts reflect what has landed so far. verdict and
sweepAttribution stay null until the run ends. The debrief is generated automatically a few
minutes after a run with graded calls settles; poll until debrief.status is READY, or request
one with POST /v1/simulation/plan/job//debrief.
GET
/
v1
/
simulation
/
plan
/
job
/
{jobId}
/
results
JavaScript
import Roark from '@roarkanalytics/sdk';
const client = new Roark({
bearerToken: process.env['ROARK_API_BEARER_TOKEN'], // This is the default and can be omitted
});
const response = await client.simulationRunPlanJob.getResults('jobId');
console.log(response.data);
import os
from roark_analytics import Roark
client = Roark(
bearer_token=os.environ.get("ROARK_API_BEARER_TOKEN"), # This is the default and can be omitted
)
response = client.simulation_run_plan_job.get_results(
job_id="jobId",
)
print(response.data)
{
"type": "internal",
"code": "internal_error",
"message": "Internal server error"
}
Authorizations
Authorization
string
header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
jobId
string
required
Query Parameters
compareToJobId
string<uuid>
Simulation run plan job to compare this run against, e.g. the last run on your main branch. Defaults to the plan's previous settled run. Any run in the project works, including another plan's: checks are matched by metric, and a check only one run graded reads null on the other side.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Roark Docs","description":"Roark is the quality platform for voice and chat AI. Simulate every scenario before launch, monitor every production call, and score them with audio-native metrics.","colors":{"primary":"#006838","light":"#4faf62","dark":"#005530"},"logo":{"light":"https://mintcdn.com/roark/roh5qorg6REL9dkn/images/logo/light.svg?fit=max\u0026auto=format\u0026n=roh5qorg6REL9dkn\u0026q=85\u0026s=040c5cac74f0bd94ad25a3ccfdb45dbc","dark":"https://mintcdn.com/roark/85D-0i58gn7fPi1w/images/logo/dark.svg?fit=max\u0026auto=format\u0026n=85D-0i58gn7fPi1w\u0026q=85\u0026s=d666f2dc1f3dc1b8320c0bef62dca06b","href":"https://roark.ai"},"favicon":"https://mintcdn.com/roark/roh5qorg6REL9dkn/favicon.svg?fit=max\u0026auto=format\u0026n=roh5qorg6REL9dkn\u0026q=85\u0026s=95d524da66f21b9f4532ec4f6162efc5","appearance":{"default":"system"},"background":{"color":{"light":"#f0eeeb","dark":"#0e0d0c"}},"navbar":{"primary":{"type":"button","label":"Get Started","href":"https://roark.ai/signup"}},"footer":{"socials":{"x":"https://x.com/roarkhq","github":"https://github.com/roarkhq","linkedin":"https://www.linkedin.com/company/roark-innovations"}},"fonts":{"heading":{"family":"Bricolage Grotesque","weight":600},"body":{"family":"Hanken Grotesk"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"section","codeblocks":{"theme":{"light":"everforest-light","dark":"everforest-dark"}},"latex":false},"contextual":{"options":["copy","view","chatgpt","claude","cursor","mcp"],"display":"header"},"navigation":{"global":{},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"roark","hasAudioNarration":false,"actualSubdomain":"roark","customDomains":["docs.roark.ai"],"gitSource":{"type":"github","owner":"roarkhq","repo":"docs-roark-analytics","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af7a79e2a41bad7a42e7513","clientVersion":"0.0.4142","searchFilterCounts":[{"language":"default","tag":"API Reference","count":252},{"language":"default","tag":"CLI Reference","count":217},{"language":"default","tag":"Guides","count":82},{"language":"default","tag":"simulation","count":44},{"language":"default","tag":"Simulations","count":34},{"language":"default","tag":"agent","count":27},{"language":"default","tag":"Agent","count":24},{"language":"default","tag":"integrations","count":20},{"language":"default","tag":"job","count":19},{"language":"default","tag":"metric","count":19}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--roark-accent: #006838;--roark-accent-hover: #005530;--roark-accent-subtle: rgba(0, 104, 56, 0.08);--roark-shell: #f0eeeb;--roark-panel: #ffffff;--roark-border: #e4e0dc;--roark-radius-card: 14px;--roark-ease: cubic-bezier(0.25, 0.1, 0.25, 1)}.dark{--roark-accent: #4faf62;--roark-accent-hover: #5ec070;--roark-accent-subtle: rgba(79, 175, 98, 0.1);--roark-shell: #0e0d0c;--roark-panel: #1a1918;--roark-border: #2e2c2a}code,kbd,samp,pre,pre *{font-family:'Geist Mono', ui-monospace, 'SF Mono', SFMono-Regular, Menlo, monospace}h1,h2,h3,h4{font-feature-settings:'ss01' on;letter-spacing:-0.02em}#content-area h1{font-size:clamp(2.1rem, 3.4vw, 2.6rem);line-height:1.12}body{font-feature-settings:'ss01' on, 'cv01' on;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}::selection{background:#006838;color:#f0eeeb}.dark ::selection{background:#4faf62;color:#0e0d0c}#content-area a.link{color:var(--roark-accent);text-decoration-color:var(--roark-accent-subtle);text-underline-offset:3px;transition:color 0.15s var(--roark-ease)}#content-area a.link:hover{color:var(--roark-accent-hover);text-decoration-color:currentColor}[class*=\"eyebrow\"]{font-family:'Geist Mono', ui-monospace, monospace;font-size:0.75rem;font-weight:500;text-transform:uppercase;letter-spacing:0.08em}.sidebar-group-header{font-family:'Geist Mono', ui-monospace, monospace;font-size:0.6875rem;font-weight:500;text-transform:uppercase;letter-spacing:0.08em;color:#716f6c}.dark .sidebar-group-header{color:#8a8785}.card{border-radius:var(--roark-radius-card)}.dark .card{background-color:#1a1918;border-color:rgba(255, 255, 255, 0.07)}.card [data-component-part=\"card-icon\"]{width:2.75rem;height:2.75rem;display:flex;align-items:center;justify-content:center;background:var(--roark-accent-subtle);border-radius:12px}[data-component-part=\"step-number\"]>div{font-family:'Geist Mono', ui-monospace, monospace;background:var(--roark-accent-subtle);color:var(--roark-accent)}#content-area hr{margin-top:2.5rem;margin-bottom:2.5rem;border-color:var(--roark-border)}.prose h2{margin-top:2.75rem}#sidebar{border-right:1px solid var(--roark-border)}img.nav-logo{height:1.75rem}#content-area img,#content-area video,#content-area iframe{border-radius:var(--roark-radius-card)}#content-area img{border:1px solid rgba(0, 0, 0, 0.06);box-shadow:0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.03)}.dark #content-area img{border-color:rgba(255, 255, 255, 0.06);box-shadow:0 1px 3px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2)}#content-area img.nav-logo{border:none;box-shadow:none;border-radius:0}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#d6d2cc;border-radius:5px;border:2px solid transparent;background-clip:content-box}.dark ::-webkit-scrollbar-thumb{background:#3a3835;border-radius:5px;border:2px solid transparent;background-clip:content-box}::-webkit-scrollbar-track{background:transparent}a,button{transition-timing-function:var(--roark-ease)}"}],"page":{"pagePath":"api-reference/simulation-run-plan-job/get-simulation-run-results","slug":"/api-reference/simulation-run-plan-job/get-simulation-run-results","pageMetadata":{"title":"Get simulation run results","description":"Everything the run report shows, in one request: the summary and score, the pass/fail verdict,\nper-metric aggregates, every simulation with its check results, breakdowns by agent and persona,\nthe comparison against the previous run (or `compareToJobId`), the sweep attribution, and the\nwritten debrief with its executive summary, failure themes and recommendations.\n\nSafe to call while the run is in progress: counts reflect what has landed so far. `verdict` and\n`sweepAttribution` stay null until the run ends. The debrief is generated automatically a few\nminutes after a run with graded calls settles; poll until `debrief.status` is READY, or request\none with POST /v1/simulation/plan/job/{jobId}/debrief.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/plan/job/{jobId}/results","href":"/api-reference/simulation-run-plan-job/get-simulation-run-results","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Everything the run report shows, in one request: the summary and score, the pass/fail verdict,\\nper-metric aggregates, every simulation with its check results, breakdowns by agent and persona,\\nthe comparison against the previous run (or \", _jsx(_components.code, {\n children: \"compareToJobId\"\n }), \"), the sweep attribution, and the\\nwritten debrief with its executive summary, failure themes and recommendations.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Safe to call while the run is in progress: counts reflect what has landed so far. \", _jsx(_components.code, {\n children: \"verdict\"\n }), \" and\\n\", _jsx(_components.code, {\n children: \"sweepAttribution\"\n }), \" stay null until the run ends. The debrief is generated automatically a few\\nminutes after a run with graded calls settles; poll until \", _jsx(_components.code, {\n children: \"debrief.status\"\n }), \" is READY, or request\\none with POST /v1/simulation/plan/job/\", \"/debrief.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"everforest-light","dark":"everforest-dark"}},"config":{},"pageMetadata":{"title":"Get simulation run results","description":"Everything the run report shows, in one request: the summary and score, the pass/fail verdict,\nper-metric aggregates, every simulation with its check results, breakdowns by agent and persona,\nthe comparison against the previous run (or `compareToJobId`), the sweep attribution, and the\nwritten debrief with its executive summary, failure themes and recommendations.\n\nSafe to call while the run is in progress: counts reflect what has landed so far. `verdict` and\n`sweepAttribution` stay null until the run ends. The debrief is generated automatically a few\nminutes after a run with graded calls settles; poll until `debrief.status` is READY, or request\none with POST /v1/simulation/plan/job/{jobId}/debrief.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/plan/job/{jobId}/results","href":"/api-reference/simulation-run-plan-job/get-simulation-run-results","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"responses":{"200":"34689dbb-b7e8-4db6-8f3f-323fbca9179f","400":"66f6c047-efee-49d7-b8eb-23de7d5b6e28","401":"e0aa0f30-2572-4a86-b068-bbc91b350ffa","403":"9f7bb3e2-59fe-451f-808d-adacc5f2632e","404":"4dc3933e-9216-473f-85c1-cb26f57e8c78","429":"e07b2043-8054-49c4-a563-141eee240d57","500":"10206901-7fb3-433d-af74-fe79bb975d45"},"operationId":"getV1SimulationPlanJobByJobIdResults","tags":["Simulation Run Plan Job"],"summary":"Get simulation run results","description":"Everything the run report shows, in one request: the summary and score, the pass/fail verdict,\nper-metric aggregates, every simulation with its check results, breakdowns by agent and persona,\nthe comparison against the previous run (or `compareToJobId`), the sweep attribution, and the\nwritten debrief with its executive summary, failure themes and recommendations.\n\nSafe to call while the run is in progress: counts reflect what has landed so far. `verdict` and\n`sweepAttribution` stay null until the run ends. The debrief is generated automatically a few\nminutes after a run with graded calls settles; poll until `debrief.status` is READY, or request\none with POST /v1/simulation/plan/job/{jobId}/debrief.","parameters":["4d8c6239-2ab3-43b7-82ef-5238b92ebef0","4fd512d4-0e98-4c81-8e40-db8436650fac"],"x-codeSamples":[{"lang":"JavaScript","source":"import Roark from '@roarkanalytics/sdk';\n\nconst client = new Roark({\n bearerToken: process.env['ROARK_API_BEARER_TOKEN'], // This is the default and can be omitted\n});\n\nconst response = await client.simulationRunPlanJob.getResults('jobId');\n\nconsole.log(response.data);"},{"lang":"Python","source":"import os\nfrom roark_analytics import Roark\n\nclient = Roark(\n bearer_token=os.environ.get(\"ROARK_API_BEARER_TOKEN\"), # This is the default and can be omitted\n)\nresponse = client.simulation_run_plan_job.get_results(\n job_id=\"jobId\",\n)\nprint(response.data)"}],"method":"get","type":"path","servers":["0d573df3-733f-4465-92ab-5f74fd09cb36"],"security":["c75f6f9a-f967-4b4f-9628-6bad02120177"],"path":"/v1/simulation/plan/job/{jobId}/results","baseUrlOptions":["https://api.roark.ai"],"title":"Get simulation run results","codeSamples":[{"lang":"JavaScript","source":"import Roark from '@roarkanalytics/sdk';\n\nconst client = new Roark({\n bearerToken: process.env['ROARK_API_BEARER_TOKEN'], // This is the default and can be omitted\n});\n\nconst response = await client.simulationRunPlanJob.getResults('jobId');\n\nconsole.log(response.data);"},{"lang":"Python","source":"import os\nfrom roark_analytics import Roark\n\nclient = Roark(\n bearer_token=os.environ.get(\"ROARK_API_BEARER_TOKEN\"), # This is the default and can be omitted\n)\nresponse = client.simulation_run_plan_job.get_results(\n job_id=\"jobId\",\n)\nprint(response.data)"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"4d8c6239-2ab3-43b7-82ef-5238b92ebef0":{"in":"query","name":"compareToJobId","schema":{"type":"string","format":"uuid","description":"Simulation run plan job to compare this run against, e.g. the last run on your main branch. Defaults to the plan's previous settled run. Any run in the project works, including another plan's: checks are matched by metric, and a check only one run graded reads null on the other side.","example":"9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d","uniqueKey":"","typeLabel":"string\u003cuuid>"}},"4fd512d4-0e98-4c81-8e40-db8436650fac":{"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"},"in":"path","name":"jobId","required":true}},"responses":{"34689dbb-b7e8-4db6-8f3f-323fbca9179f":{"description":"The run’s results","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"run":{"type":"object","properties":{"simulationRunPlanJobId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.run.simulationRunPlanJobId","typeLabel":"string\u003cuuid>"},"simulationRunPlanId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.run.simulationRunPlanId","typeLabel":"string\u003cuuid>"},"simulationRunPlanName":{"oneOf":[{"type":"string","description":"The run plan’s name. Null when the plan has since been deleted.","isRequired":true,"uniqueKey":"data.run.simulationRunPlanName.oneOf.0","typeLabel":"string"},{"type":"null","description":"The run plan’s name. Null when the plan has since been deleted.","isRequired":true,"uniqueKey":"data.run.simulationRunPlanName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.run.simulationRunPlanName","typeLabel":"string | null"},"runNumber":{"oneOf":[{"type":"integer","description":"Per-project run number, shown as SR-42 in the app.","isRequired":true,"uniqueKey":"data.run.runNumber.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Per-project run number, shown as SR-42 in the app.","isRequired":true,"uniqueKey":"data.run.runNumber.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.run.runNumber","typeLabel":"integer | null"},"status":{"type":"string","enum":["PENDING","QUEUED","CREATING_SNAPSHOTS","CREATING_SIMULATIONS","PREPARING_CAPACITY","RUNNING_SIMULATIONS","COMPLETED","FAILED","TIMED_OUT","CANCELLED","CANCELLING","ENDING_SIMULATIONS"],"isRequired":true,"uniqueKey":"data.run.status","typeLabel":"enum\u003cstring>"},"triggeredBy":{"type":"string","enum":["SCHEDULED","USER_TRIGGERED_FROM_UI","RE_RUN","TRIGGERED_FROM_API","SYSTEM"],"isRequired":true,"uniqueKey":"data.run.triggeredBy","typeLabel":"enum\u003cstring>"},"createdAt":{"type":"string","isRequired":true,"uniqueKey":"data.run.createdAt","typeLabel":"string"},"startedAt":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.run.startedAt.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.run.startedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.run.startedAt","typeLabel":"string | null"},"endedAt":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.run.endedAt.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.run.endedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.run.endedAt","typeLabel":"string | null"},"durationMs":{"oneOf":[{"type":"integer","description":"Wall-clock run time. Null until the run ends.","isRequired":true,"uniqueKey":"data.run.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Wall-clock run time. Null until the run ends.","isRequired":true,"uniqueKey":"data.run.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.run.durationMs","typeLabel":"integer | null"}},"required":["simulationRunPlanJobId","simulationRunPlanId","simulationRunPlanName","runNumber","status","triggeredBy","createdAt","startedAt","endedAt","durationMs"],"isRequired":true,"uniqueKey":"data.run","typeLabel":"object"},"summary":{"type":"object","properties":{"totalCalls":{"type":"integer","description":"Every simulation of the run, retries included.","isRequired":true,"uniqueKey":"data.summary.totalCalls","typeLabel":"integer"},"countedCalls":{"type":"integer","description":"Simulations whose results count: all but the invalidated ones.","isRequired":true,"uniqueKey":"data.summary.countedCalls","typeLabel":"integer"},"completedCalls":{"type":"integer","description":"Counted simulations that connected and produced a conversation.","isRequired":true,"uniqueKey":"data.summary.completedCalls","typeLabel":"integer"},"evaluatedCalls":{"type":"integer","description":"Counted simulations at least one check graded.","isRequired":true,"uniqueKey":"data.summary.evaluatedCalls","typeLabel":"integer"},"passedCalls":{"type":"integer","description":"Evaluated simulations that passed every check.","isRequired":true,"uniqueKey":"data.summary.passedCalls","typeLabel":"integer"},"failedCalls":{"type":"integer","description":"Evaluated simulations that failed at least one check.","isRequired":true,"uniqueKey":"data.summary.failedCalls","typeLabel":"integer"},"callPassRate":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"passedCalls / evaluatedCalls, 0-100. Null when nothing was evaluated.","isRequired":true,"uniqueKey":"data.summary.callPassRate.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"description":"passedCalls / evaluatedCalls, 0-100. Null when nothing was evaluated.","isRequired":true,"uniqueKey":"data.summary.callPassRate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.summary.callPassRate","typeLabel":"number | null"},"score":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"The run’s score: the mean of each check’s pass rate, the same number as `verdict.score`. 0-100. Null when nothing was evaluated.","isRequired":true,"uniqueKey":"data.summary.score.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"description":"The run’s score: the mean of each check’s pass rate, the same number as `verdict.score`. 0-100. Null when nothing was evaluated.","isRequired":true,"uniqueKey":"data.summary.score.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.summary.score","typeLabel":"number | null"},"checkPassRate":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"Every (check, simulation) verdict pooled. 0-100. Null when nothing was evaluated.","isRequired":true,"uniqueKey":"data.summary.checkPassRate.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"description":"Every (check, simulation) verdict pooled. 0-100. Null when nothing was evaluated.","isRequired":true,"uniqueKey":"data.summary.checkPassRate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.summary.checkPassRate","typeLabel":"number | null"}},"required":["totalCalls","countedCalls","completedCalls","evaluatedCalls","passedCalls","failedCalls","callPassRate","score","checkPassRate"],"isRequired":true,"uniqueKey":"data.summary","typeLabel":"object"},"verdict":{"oneOf":[{"type":"object","description":"Null until the run ends, and for a run with no check to judge.","required":["passed","score","checks","failures"],"example":{"passed":false,"score":85,"checks":[{"metricDefinitionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","metricName":"silence duration \u003c 500ms","passRate":100,"minPassRate":40,"inherited":false,"passedSims":10,"evaluatedSims":10,"passed":true},{"metricDefinitionId":"bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb","metricName":"word count \u003c 1000","passRate":70,"minPassRate":80,"inherited":false,"passedSims":7,"evaluatedSims":10,"passed":false}],"failures":[{"type":"METRIC_BELOW_MIN_PASS_RATE","metricDefinitionId":"bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb","metricName":"word count \u003c 1000","passRate":70,"minPassRate":80,"inherited":false}]},"properties":{"passed":{"type":"boolean","description":"Whether every check cleared its own `minPassRate` (and the run completed with full coverage).\nUse this as the CI exit status.\n\nNever derived from `score`: a run can score 95 and still fail, or score 40 and still pass.","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.passed","typeLabel":"boolean"},"score":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"The run's headline quality number, 0-100: the mean of each check's own pass rate.\n\nEvery check weighs the same, however many simulations it evaluated, which is the same way\n`passed` treats them. It is the number the Roark dashboard shows for this run.\n\nREPORTING ONLY, for dashboards and trend lines. Nothing is judged against it. Null when\nnothing was evaluated.","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.score.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"description":"The run's headline quality number, 0-100: the mean of each check's own pass rate.\n\nEvery check weighs the same, however many simulations it evaluated, which is the same way\n`passed` treats them. It is the number the Roark dashboard shows for this run.\n\nREPORTING ONLY, for dashboards and trend lines. Nothing is judged against it. Null when\nnothing was evaluated.","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.score.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.verdict.oneOf.0.score","typeLabel":"number | null"},"checks":{"type":"array","items":{"type":"object","properties":{"metricDefinitionId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.checks.items.[INDEX].metricDefinitionId","typeLabel":"string\u003cuuid>"},"passRate":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"This check's own pass rate, 0-100: the share of sims it evaluated that passed it. Null when it evaluated nothing.","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.checks.items.[INDEX].passRate.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"description":"This check's own pass rate, 0-100: the share of sims it evaluated that passed it. Null when it evaluated nothing.","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.checks.items.[INDEX].passRate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.verdict.oneOf.0.checks.items.[INDEX].passRate","typeLabel":"number | null"},"minPassRate":{"type":"number","minimum":0,"maximum":100,"description":"THE BAR it was judged against: the share of the run's simulations it had to pass.","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.checks.items.[INDEX].minPassRate","typeLabel":"number"},"inherited":{"type":"boolean","description":"Whether `minPassRate` is the 80% default (`true`) or a minimum this metric set for itself.","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.checks.items.[INDEX].inherited","typeLabel":"boolean"},"passedSims":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"data.verdict.oneOf.0.checks.items.[INDEX].passedSims","typeLabel":"integer"},"evaluatedSims":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"data.verdict.oneOf.0.checks.items.[INDEX].evaluatedSims","typeLabel":"integer"},"passed":{"type":"boolean","description":"`passRate >= minPassRate`.","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.checks.items.[INDEX].passed","typeLabel":"boolean"},"metricName":{"oneOf":[{"type":"string","uniqueKey":"data.verdict.oneOf.0.checks.items.[INDEX].metricName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.verdict.oneOf.0.checks.items.[INDEX].metricName.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.verdict.oneOf.0.checks.items.[INDEX].metricName","typeLabel":"string | null"}},"required":["metricDefinitionId","passRate","minPassRate","inherited","passedSims","evaluatedSims","passed"],"description":"How one check did. Present for every check the run was judged on, passing or not.\n\nA check is a metric that yields a pass/fail: a threshold (`Silence Duration \u003c= 2s`) or a\nyes/no metric you authored. Provider readings such as `Comprehension Failure` are\nobservations, not checks: their `true` is whatever the underlying field happens to mean, so\nthey carry no passing side and never appear here. Put a threshold on one to judge it.","uniqueKey":"data.verdict.oneOf.0.checks.items.[INDEX]","typeLabel":"object"},"description":"Every check the run was judged on, with its rate and the minimum it had to reach.\n\nThresholds and authored yes/no metrics only. See `SimulationRunPlanJobCheck` for why a\nprovider reading is not one.","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.checks","typeLabel":"object[]"},"failures":{"type":"array","items":{"oneOf":[{"type":"object","description":"One reason the run failed. Every reason is a hard fail: the run passes only when this list is empty.","required":["type","status"],"properties":{"type":{"type":"string","const":"RUN_NOT_COMPLETED","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.0.type","typeLabel":"string"},"status":{"type":"string","enum":["PENDING","QUEUED","CREATING_SNAPSHOTS","CREATING_SIMULATIONS","PREPARING_CAPACITY","RUNNING_SIMULATIONS","COMPLETED","FAILED","TIMED_OUT","CANCELLED","CANCELLING","ENDING_SIMULATIONS"],"description":"The status the run actually ended in.","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.0.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One reason the run failed. Every reason is a hard fail: the run passes only when this list is empty.","required":["type","evaluatedCalls","expectedCalls"],"properties":{"type":{"type":"string","const":"INCOMPLETE_COVERAGE","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.1.type","typeLabel":"string"},"evaluatedCalls":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.1.evaluatedCalls","typeLabel":"integer"},"expectedCalls":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.1.expectedCalls","typeLabel":"integer"}},"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"One reason the run failed. Every reason is a hard fail: the run passes only when this list is empty.","required":["type","neverSpokeCalls","totalCalls","maxShare"],"properties":{"type":{"type":"string","const":"AGENT_NEVER_SPOKE","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.2.type","typeLabel":"string"},"neverSpokeCalls":{"type":"integer","minimum":0,"description":"Test cases your agent never spoke on, judged on each test case’s last attempt: a silent simulation a retry later reached your agent on does not count here.","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.2.neverSpokeCalls","typeLabel":"integer"},"totalCalls":{"type":"integer","minimum":0,"description":"Every test case of the run whose last attempt reached your agent.","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.2.totalCalls","typeLabel":"integer"},"maxShare":{"type":"number","minimum":0,"maximum":100,"description":"The largest share of simulations, 0-100, your agent may never speak on while the run can pass.","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.2.maxShare","typeLabel":"number"},"agentName":{"oneOf":[{"type":"string","description":"The agent as the run tested it. Null when the simulations tested more than one agent.","uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.2.agentName.oneOf.0","typeLabel":"string"},{"type":"null","description":"The agent as the run tested it. Null when the simulations tested more than one agent.","uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.2.agentName.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.2.agentName","typeLabel":"string | null"},"silentAttempts":{"type":"integer","minimum":0,"description":"Every simulation your agent never spoke on, including the ones a retry replaced. Above `neverSpokeCalls` only when the plan retries silent simulations (`maxNoResponseRetries`).","uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.2.silentAttempts","typeLabel":"integer"}},"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"One reason the run failed. Every reason is a hard fail: the run passes only when this list is empty.","required":["type","metricDefinitionId"],"properties":{"type":{"type":"string","const":"METRIC_NOT_EVALUATED","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.3.type","typeLabel":"string"},"metricDefinitionId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.3.metricDefinitionId","typeLabel":"string\u003cuuid>"},"metricName":{"oneOf":[{"type":"string","description":"The check’s name, for rendering the failure.","uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.3.metricName.oneOf.0","typeLabel":"string"},{"type":"null","description":"The check’s name, for rendering the failure.","uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.3.metricName.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.3.metricName","typeLabel":"string | null"}},"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","description":"One reason the run failed. Every reason is a hard fail: the run passes only when this list is empty.","required":["type","metricDefinitionId","passRate","minPassRate","inherited"],"properties":{"type":{"type":"string","const":"METRIC_BELOW_MIN_PASS_RATE","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.4.type","typeLabel":"string"},"metricDefinitionId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.4.metricDefinitionId","typeLabel":"string\u003cuuid>"},"passRate":{"type":"number","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.4.passRate","typeLabel":"number"},"minPassRate":{"type":"number","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.4.minPassRate","typeLabel":"number"},"inherited":{"type":"boolean","description":"Whether the missed minimum was the 80% default (`true`) or this metric's own.","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.4.inherited","typeLabel":"boolean"},"metricName":{"oneOf":[{"type":"string","description":"The check’s name, for rendering the failure.","uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.4.metricName.oneOf.0","typeLabel":"string"},{"type":"null","description":"The check’s name, for rendering the failure.","uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.4.metricName.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.4.metricName","typeLabel":"string | null"}},"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"data.verdict.oneOf.0.failures.items.[INDEX]","typeLabel":"object"},"description":"Every criterion the run missed. Empty when it passed.","isRequired":true,"uniqueKey":"data.verdict.oneOf.0.failures","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"data.verdict.oneOf.0","typeLabel":"object"},{"type":"null","description":"Null until the run ends, and for a run with no check to judge.","isRequired":true,"uniqueKey":"data.verdict.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.verdict","typeLabel":"object | null"},"attemptSummary":{"type":"object","properties":{"testCaseCount":{"type":"integer","minimum":0,"description":"Test cases in the run. Each one has a single final attempt that its result is read from.","isRequired":true,"uniqueKey":"data.attemptSummary.testCaseCount","typeLabel":"integer"},"attemptCount":{"type":"integer","minimum":0,"description":"Every simulation placed, retries included. Each is a separate, billed call.","isRequired":true,"uniqueKey":"data.attemptSummary.attemptCount","typeLabel":"integer"},"silentAttemptCount":{"type":"integer","minimum":0,"description":"Simulations your agent never spoke on, including the ones a retry replaced.","isRequired":true,"uniqueKey":"data.attemptSummary.silentAttemptCount","typeLabel":"integer"},"retryCount":{"type":"integer","minimum":0,"description":"Simulations placed as a retry of one your agent never spoke on.","isRequired":true,"uniqueKey":"data.attemptSummary.retryCount","typeLabel":"integer"},"stillSilentTestCaseCount":{"type":"integer","minimum":0,"description":"Test cases whose final attempt your agent still never spoke on. This is what the `AGENT_NEVER_SPOKE` verdict failure counts.","isRequired":true,"uniqueKey":"data.attemptSummary.stillSilentTestCaseCount","typeLabel":"integer"}},"required":["testCaseCount","attemptCount","silentAttemptCount","retryCount","stillSilentTestCaseCount"],"description":"The run’s simulations against its test cases. Differs from a plain job count only when the plan retries simulations your agent never spoke on.","isRequired":true,"uniqueKey":"data.attemptSummary","typeLabel":"object"},"metrics":{"type":"array","items":{"type":"object","properties":{"metricDefinitionId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].metricDefinitionId","typeLabel":"string\u003cuuid>"},"metricId":{"type":"string","description":"The metric’s slug.","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].metricId","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].name","typeLabel":"string"},"outputType":{"type":"string","enum":["COUNT","NUMERIC","BOOLEAN","SCALE","TEXT","CLASSIFICATION","OFFSET"],"isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].outputType","typeLabel":"enum\u003cstring>"},"isCheck":{"type":"boolean","description":"A threshold: one of the checks the run is judged on.","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].isCheck","typeLabel":"boolean"},"unitSymbol":{"oneOf":[{"type":"string","description":"Unit of `numeric`, e.g. `ms`.","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].unitSymbol.oneOf.0","typeLabel":"string"},{"type":"null","description":"Unit of `numeric`, e.g. `ms`.","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].unitSymbol.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].unitSymbol","typeLabel":"string | null"},"evaluatedCalls":{"type":"integer","description":"Counted simulations with at least one value.","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].evaluatedCalls","typeLabel":"integer"},"sampleSize":{"type":"integer","description":"Values across those simulations. A per-turn metric has several per call.","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].sampleSize","typeLabel":"integer"},"check":{"oneOf":[{"type":"object","properties":{"passedCalls":{"type":"integer","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].check.oneOf.0.passedCalls","typeLabel":"integer"},"failedCalls":{"type":"integer","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].check.oneOf.0.failedCalls","typeLabel":"integer"},"evaluatedCalls":{"type":"integer","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].check.oneOf.0.evaluatedCalls","typeLabel":"integer"},"passRate":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"0-100. Null when nothing was evaluated.","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].check.oneOf.0.passRate.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"description":"0-100. Null when nothing was evaluated.","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].check.oneOf.0.passRate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].check.oneOf.0.passRate","typeLabel":"number | null"}},"required":["passedCalls","failedCalls","evaluatedCalls","passRate"],"description":"The check’s tally. Null for a metric that is not a check.","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].check.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"passedCalls":{"type":"integer"},"failedCalls":{"type":"integer"},"evaluatedCalls":{"type":"integer"},"passRate":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"0-100. Null when nothing was evaluated."},{"type":"null","minimum":0,"maximum":100,"description":"0-100. Null when nothing was evaluated."}]}},"required":["passedCalls","failedCalls","evaluatedCalls","passRate"],"description":"The check’s tally. Null for a metric that is not a check.","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].check.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].check","typeLabel":"object | null"},"numeric":{"oneOf":[{"type":"object","properties":{"average":{"type":"number","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].numeric.oneOf.0.average","typeLabel":"number"},"median":{"type":"number","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].numeric.oneOf.0.median","typeLabel":"number"},"p95":{"type":"number","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].numeric.oneOf.0.p95","typeLabel":"number"},"min":{"type":"number","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].numeric.oneOf.0.min","typeLabel":"number"},"max":{"type":"number","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].numeric.oneOf.0.max","typeLabel":"number"}},"required":["average","median","p95","min","max"],"description":"For NUMERIC, SCALE, COUNT and OFFSET metrics. Null when nothing was captured, or without the `metric:read` permission.","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].numeric.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"average":{"type":"number"},"median":{"type":"number"},"p95":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}},"required":["average","median","p95","min","max"],"description":"For NUMERIC, SCALE, COUNT and OFFSET metrics. Null when nothing was captured, or without the `metric:read` permission.","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].numeric.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].numeric","typeLabel":"object | null"},"distribution":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].distribution.oneOf.0.items.[INDEX].value","typeLabel":"string"},"count":{"type":"integer","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].distribution.oneOf.0.items.[INDEX].count","typeLabel":"integer"}},"required":["value","count"],"uniqueKey":"data.metrics.items.[INDEX].distribution.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"How many values took each reading, for BOOLEAN, SCALE and CLASSIFICATION metrics. Null without the `metric:read` permission.","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].distribution.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"value":{"type":"string"},"count":{"type":"integer"}},"required":["value","count"]},"description":"How many values took each reading, for BOOLEAN, SCALE and CLASSIFICATION metrics. Null without the `metric:read` permission.","isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].distribution.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.metrics.items.[INDEX].distribution","typeLabel":"object[] | null"}},"required":["metricDefinitionId","metricId","name","outputType","isCheck","unitSymbol","evaluatedCalls","sampleSize","check","numeric","distribution"],"uniqueKey":"data.metrics.items.[INDEX]","typeLabel":"object"},"description":"Checks first, then other metrics.","isRequired":true,"uniqueKey":"data.metrics","typeLabel":"object[]"},"calls":{"type":"array","items":{"type":"object","properties":{"simulationJobId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].simulationJobId","typeLabel":"string\u003cuuid>"},"callId":{"oneOf":[{"type":"string","format":"uuid","description":"Use with GET /v1/call/{callId} for the transcript, recording and every metric value.","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].callId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Use with GET /v1/call/{callId} for the transcript, recording and every metric value.","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].callId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.calls.items.[INDEX].callId","typeLabel":"string\u003cuuid> | null"},"status":{"type":"string","enum":["QUEUED","CONNECTING","IN_CALL","PROCESSING","COMPLETED","ERROR","TIMED_OUT","CANCELLED","INVALIDATED","NOT_RUN"],"description":"QUEUED, CONNECTING, IN_CALL and PROCESSING while the simulation runs. Once settled: COMPLETED, TIMED_OUT (ran to the maximum duration, still graded), ERROR (failed on the agent’s side), NOT_RUN (failed on Roark’s side), CANCELLED, or INVALIDATED (ran, but does not count).","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"counted":{"type":"boolean","description":"False for an invalidated simulation: listed, never scored.","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].counted","typeLabel":"boolean"},"attemptNumber":{"type":"integer","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].attemptNumber","typeLabel":"integer"},"retryOfSimulationJobId":{"oneOf":[{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].retryOfSimulationJobId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].retryOfSimulationJobId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.calls.items.[INDEX].retryOfSimulationJobId","typeLabel":"string\u003cuuid> | null"},"personaName":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].personaName.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].personaName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.calls.items.[INDEX].personaName","typeLabel":"string | null"},"agentName":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].agentName.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].agentName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.calls.items.[INDEX].agentName","typeLabel":"string | null"},"durationMs":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.calls.items.[INDEX].durationMs","typeLabel":"integer | null"},"passed":{"oneOf":[{"type":"boolean","description":"Passed every check that graded it. Null when no check graded it, or it does not count.","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].passed.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Passed every check that graded it. Null when no check graded it, or it does not count.","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].passed.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.calls.items.[INDEX].passed","typeLabel":"boolean | null"},"checks":{"type":"array","items":{"type":"object","properties":{"metricDefinitionId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].checks.items.[INDEX].metricDefinitionId","typeLabel":"string\u003cuuid>"},"metricName":{"type":"string","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].checks.items.[INDEX].metricName","typeLabel":"string"},"passed":{"type":"boolean","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].checks.items.[INDEX].passed","typeLabel":"boolean"}},"required":["metricDefinitionId","metricName","passed"],"uniqueKey":"data.calls.items.[INDEX].checks.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.calls.items.[INDEX].checks","typeLabel":"object[]"},"values":{"type":"array","items":{"type":"object","properties":{"metricDefinitionId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].values.items.[INDEX].metricDefinitionId","typeLabel":"string\u003cuuid>"},"metricName":{"type":"string","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].values.items.[INDEX].metricName","typeLabel":"string"},"outputType":{"type":"string","enum":["COUNT","NUMERIC","BOOLEAN","SCALE","TEXT","CLASSIFICATION","OFFSET"],"isRequired":true,"uniqueKey":"data.calls.items.[INDEX].values.items.[INDEX].outputType","typeLabel":"enum\u003cstring>"},"participantRole":{"oneOf":[{"type":"string","enum":["AGENT","CUSTOMER","SIMULATED_CUSTOMER","BACKGROUND_SPEAKER"],"isRequired":true,"uniqueKey":"data.calls.items.[INDEX].values.items.[INDEX].participantRole.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["AGENT","CUSTOMER","SIMULATED_CUSTOMER","BACKGROUND_SPEAKER"],"isRequired":true,"uniqueKey":"data.calls.items.[INDEX].values.items.[INDEX].participantRole.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.calls.items.[INDEX].values.items.[INDEX].participantRole","typeLabel":"enum\u003cstring> | null"},"value":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].values.items.[INDEX].value.oneOf.0","typeLabel":"number"},{"type":"boolean","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].values.items.[INDEX].value.oneOf.1","typeLabel":"boolean"},{"type":"string","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].values.items.[INDEX].value.oneOf.2","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].values.items.[INDEX].value.oneOf.3","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.calls.items.[INDEX].values.items.[INDEX].value","typeLabel":"number | boolean | string | null"},"reasoning":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].values.items.[INDEX].reasoning.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].values.items.[INDEX].reasoning.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.calls.items.[INDEX].values.items.[INDEX].reasoning","typeLabel":"string | null"}},"required":["metricDefinitionId","metricName","outputType","participantRole","value","reasoning"],"uniqueKey":"data.calls.items.[INDEX].values.items.[INDEX]","typeLabel":"object"},"description":"Call-level values of the run’s other metrics. Empty without the `metric:read` permission. Per-turn values are on GET /v1/call/{callId}/metrics.","isRequired":true,"uniqueKey":"data.calls.items.[INDEX].values","typeLabel":"object[]"}},"required":["simulationJobId","callId","status","counted","attemptNumber","retryOfSimulationJobId","personaName","agentName","durationMs","passed","checks","values"],"uniqueKey":"data.calls.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.calls","typeLabel":"object[]"},"breakdowns":{"type":"object","properties":{"byAgent":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"The agent or persona ID.","isRequired":true,"uniqueKey":"data.breakdowns.byAgent.items.[INDEX].key","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"data.breakdowns.byAgent.items.[INDEX].label","typeLabel":"string"},"calls":{"type":"integer","description":"Counted simulations in the group.","isRequired":true,"uniqueKey":"data.breakdowns.byAgent.items.[INDEX].calls","typeLabel":"integer"},"evaluatedCalls":{"type":"integer","isRequired":true,"uniqueKey":"data.breakdowns.byAgent.items.[INDEX].evaluatedCalls","typeLabel":"integer"},"passedCalls":{"type":"integer","isRequired":true,"uniqueKey":"data.breakdowns.byAgent.items.[INDEX].passedCalls","typeLabel":"integer"},"callPassRate":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"0-100. Null when nothing was evaluated.","isRequired":true,"uniqueKey":"data.breakdowns.byAgent.items.[INDEX].callPassRate.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"description":"0-100. Null when nothing was evaluated.","isRequired":true,"uniqueKey":"data.breakdowns.byAgent.items.[INDEX].callPassRate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.breakdowns.byAgent.items.[INDEX].callPassRate","typeLabel":"number | null"},"score":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"The group’s own score. 0-100. Null when nothing was evaluated.","isRequired":true,"uniqueKey":"data.breakdowns.byAgent.items.[INDEX].score.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"description":"The group’s own score. 0-100. Null when nothing was evaluated.","isRequired":true,"uniqueKey":"data.breakdowns.byAgent.items.[INDEX].score.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.breakdowns.byAgent.items.[INDEX].score","typeLabel":"number | null"}},"required":["key","label","calls","evaluatedCalls","passedCalls","callPassRate","score"],"uniqueKey":"data.breakdowns.byAgent.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.breakdowns.byAgent","typeLabel":"object[]"},"byPersona":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"The agent or persona ID.","isRequired":true,"uniqueKey":"data.breakdowns.byPersona.items.[INDEX].key","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"data.breakdowns.byPersona.items.[INDEX].label","typeLabel":"string"},"calls":{"type":"integer","description":"Counted simulations in the group.","isRequired":true,"uniqueKey":"data.breakdowns.byPersona.items.[INDEX].calls","typeLabel":"integer"},"evaluatedCalls":{"type":"integer","isRequired":true,"uniqueKey":"data.breakdowns.byPersona.items.[INDEX].evaluatedCalls","typeLabel":"integer"},"passedCalls":{"type":"integer","isRequired":true,"uniqueKey":"data.breakdowns.byPersona.items.[INDEX].passedCalls","typeLabel":"integer"},"callPassRate":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"0-100. Null when nothing was evaluated.","isRequired":true,"uniqueKey":"data.breakdowns.byPersona.items.[INDEX].callPassRate.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"description":"0-100. Null when nothing was evaluated.","isRequired":true,"uniqueKey":"data.breakdowns.byPersona.items.[INDEX].callPassRate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.breakdowns.byPersona.items.[INDEX].callPassRate","typeLabel":"number | null"},"score":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"The group’s own score. 0-100. Null when nothing was evaluated.","isRequired":true,"uniqueKey":"data.breakdowns.byPersona.items.[INDEX].score.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"description":"The group’s own score. 0-100. Null when nothing was evaluated.","isRequired":true,"uniqueKey":"data.breakdowns.byPersona.items.[INDEX].score.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.breakdowns.byPersona.items.[INDEX].score","typeLabel":"number | null"}},"required":["key","label","calls","evaluatedCalls","passedCalls","callPassRate","score"],"uniqueKey":"data.breakdowns.byPersona.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.breakdowns.byPersona","typeLabel":"object[]"}},"required":["byAgent","byPersona"],"isRequired":true,"uniqueKey":"data.breakdowns","typeLabel":"object"},"comparison":{"oneOf":[{"type":"object","description":"Null when there is no earlier run of the plan to compare against.","required":["baselineRun","baselineSource","currentScore","baselineScore","scoreDelta","currentCallPassRate","baselineCallPassRate","callPassRateDelta","checks"],"properties":{"baselineRun":{"type":"object","properties":{"simulationRunPlanJobId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.comparison.oneOf.0.baselineRun.simulationRunPlanJobId","typeLabel":"string\u003cuuid>"},"runNumber":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"data.comparison.oneOf.0.baselineRun.runNumber.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"data.comparison.oneOf.0.baselineRun.runNumber.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.baselineRun.runNumber","typeLabel":"integer | null"},"status":{"type":"string","enum":["PENDING","QUEUED","CREATING_SNAPSHOTS","CREATING_SIMULATIONS","PREPARING_CAPACITY","RUNNING_SIMULATIONS","COMPLETED","FAILED","TIMED_OUT","CANCELLED","CANCELLING","ENDING_SIMULATIONS"],"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.baselineRun.status","typeLabel":"enum\u003cstring>"},"endedAt":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.comparison.oneOf.0.baselineRun.endedAt.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.comparison.oneOf.0.baselineRun.endedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.baselineRun.endedAt","typeLabel":"string | null"}},"required":["simulationRunPlanJobId","runNumber","status","endedAt"],"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.baselineRun","typeLabel":"object"},"baselineSource":{"type":"string","enum":["PREVIOUS_RUN","REQUESTED"],"description":"REQUESTED when `compareToJobId` picked the baseline, PREVIOUS_RUN otherwise.","isRequired":true,"uniqueKey":"data.comparison.oneOf.0.baselineSource","typeLabel":"enum\u003cstring>"},"currentScore":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.currentScore.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.currentScore.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.currentScore","typeLabel":"number | null"},"baselineScore":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.baselineScore.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.baselineScore.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.baselineScore","typeLabel":"number | null"},"scoreDelta":{"oneOf":[{"type":"number","description":"Current minus baseline, in points.","isRequired":true,"uniqueKey":"data.comparison.oneOf.0.scoreDelta.oneOf.0","typeLabel":"number"},{"type":"null","description":"Current minus baseline, in points.","isRequired":true,"uniqueKey":"data.comparison.oneOf.0.scoreDelta.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.scoreDelta","typeLabel":"number | null"},"currentCallPassRate":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.currentCallPassRate.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.currentCallPassRate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.currentCallPassRate","typeLabel":"number | null"},"baselineCallPassRate":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.baselineCallPassRate.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.baselineCallPassRate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.baselineCallPassRate","typeLabel":"number | null"},"callPassRateDelta":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"data.comparison.oneOf.0.callPassRateDelta.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"data.comparison.oneOf.0.callPassRateDelta.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.callPassRateDelta","typeLabel":"number | null"},"checks":{"type":"array","items":{"type":"object","properties":{"metricDefinitionId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.comparison.oneOf.0.checks.items.[INDEX].metricDefinitionId","typeLabel":"string\u003cuuid>"},"metricName":{"type":"string","isRequired":true,"uniqueKey":"data.comparison.oneOf.0.checks.items.[INDEX].metricName","typeLabel":"string"},"currentPassRate":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.checks.items.[INDEX].currentPassRate.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.checks.items.[INDEX].currentPassRate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.checks.items.[INDEX].currentPassRate","typeLabel":"number | null"},"baselinePassRate":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.checks.items.[INDEX].baselinePassRate.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.checks.items.[INDEX].baselinePassRate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.checks.items.[INDEX].baselinePassRate","typeLabel":"number | null"},"delta":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"data.comparison.oneOf.0.checks.items.[INDEX].delta.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"data.comparison.oneOf.0.checks.items.[INDEX].delta.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.comparison.oneOf.0.checks.items.[INDEX].delta","typeLabel":"number | null"}},"required":["metricDefinitionId","metricName","currentPassRate","baselinePassRate","delta"],"uniqueKey":"data.comparison.oneOf.0.checks.items.[INDEX]","typeLabel":"object"},"description":"Every check either run was graded on. A side that did not grade it reads null.","isRequired":true,"uniqueKey":"data.comparison.oneOf.0.checks","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"data.comparison.oneOf.0","typeLabel":"object"},{"type":"null","description":"Null when there is no earlier run of the plan to compare against.","isRequired":true,"uniqueKey":"data.comparison.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.comparison","typeLabel":"object | null"},"sweepAttribution":{"oneOf":[{"type":"object","description":"For a run that swept a property: which values the failures concentrate on. Null otherwise.","required":["values","checks","testableValueCount","testedComparisonCount","minimumDetectableGap","caveats","neverSpokeValues","minArmCalls","falseDiscoveryRate","foundUnattributedFailureRate"],"example":{"values":[{"key":"ACCENT=US","value":"US","label":"American","isBaseline":true,"attempted":3,"counted":2,"silentAttempts":0,"retries":0,"testable":false,"score":50},{"key":"ACCENT=IN","value":"IN","label":"Indian","isBaseline":false,"attempted":8,"counted":8,"silentAttempts":0,"retries":0,"testable":true,"score":62.5},{"key":"ACCENT=GB","value":"GB","label":"British","isBaseline":false,"attempted":8,"counted":8,"silentAttempts":0,"retries":0,"testable":true,"score":68.8}],"checks":[{"metricDefinitionId":"aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa","metricName":"Voice consistency","attribution":"FOUND_UNATTRIBUTED","failed":7,"evaluated":18,"failureRate":38.9,"worseValues":[]}],"testableValueCount":2,"testedComparisonCount":8,"minimumDetectableGap":45,"caveats":["American had fewer than 5 counted calls, so it is shown but not compared.","With about 8 calls per value, only large differences can be detected: a value would need to fail roughly 45 points more often than the rest to be reliably flagged. Smaller effects may exist and go unseen."],"neverSpokeValues":[],"minArmCalls":5,"falseDiscoveryRate":0.1,"foundUnattributedFailureRate":20},"properties":{"values":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"The arm's identity: the override signature its calls ran with, e.g. `BACKGROUND_NOISE=DRIVING;BACKGROUND_NOISE_VOLUME=0.7`. Join on this rather than on `value`: a sweep can run one value as several arms (Driving at 70% and at 100%), and those share a value.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.values.items.[INDEX].key","typeLabel":"string"},"value":{"type":"string","description":"The stored value of the swept property, e.g. `US`.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.values.items.[INDEX].value","typeLabel":"string"},"label":{"type":"string","description":"The value in words, with what else the arm pinned, e.g. `American` or `Driving (70% noise)`.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.values.items.[INDEX].label","typeLabel":"string"},"isBaseline":{"type":"boolean","description":"Whether this is the baseline the plan named.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.values.items.[INDEX].isBaseline","typeLabel":"boolean"},"attempted":{"type":"integer","minimum":0,"description":"Simulations run at this value. Simulations that failed on the Roark platform are left out, since they say nothing about your agent.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.values.items.[INDEX].attempted","typeLabel":"integer"},"counted":{"type":"integer","minimum":0,"description":"Simulations that actually tested the property: not invalidated, and graded by at least one check. Only these are used in the comparison.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.values.items.[INDEX].counted","typeLabel":"integer"},"silentAttempts":{"type":"integer","minimum":0,"description":"Of `attempted`, the simulations your agent never spoke on, whether or not a retry followed. They are invalidated, so they are never in `counted`.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.values.items.[INDEX].silentAttempts","typeLabel":"integer"},"retries":{"type":"integer","minimum":0,"description":"Of `attempted`, the retries of simulations your agent never spoke on. Zero unless the plan retries silent simulations.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.values.items.[INDEX].retries","typeLabel":"integer"},"testable":{"type":"boolean","description":"Whether this value had at least `minArmCalls` counted simulations. A value below that is \"insufficient data\": it is reported with its numbers but never compared or ranked, because a rate from one or two calls cannot be told apart from luck.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.values.items.[INDEX].testable","typeLabel":"boolean"},"score":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"The mean of each check's pass rate at this value, 0-100, the same rule as the run's `score`. Descriptive only: a lower score alone never makes a value worse. Null when nothing counted.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.values.items.[INDEX].score.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"description":"The mean of each check's pass rate at this value, 0-100, the same rule as the run's `score`. Descriptive only: a lower score alone never makes a value worse. Null when nothing counted.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.values.items.[INDEX].score.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.values.items.[INDEX].score","typeLabel":"number | null"}},"required":["key","value","label","isBaseline","attempted","counted","silentAttempts","retries","testable","score"],"description":"One value of the swept property.","uniqueKey":"data.sweepAttribution.oneOf.0.values.items.[INDEX]","typeLabel":"object"},"description":"Every value of the swept property, baseline first.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.values","typeLabel":"object[]"},"checks":{"type":"array","items":{"type":"object","properties":{"metricDefinitionId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].metricDefinitionId","typeLabel":"string\u003cuuid>"},"metricName":{"type":"string","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].metricName","typeLabel":"string"},"attribution":{"type":"string","enum":["PROPERTY_ATTRIBUTABLE","FOUND_UNATTRIBUTED","WITHIN_NOISE"],"description":"How this check relates to the swept property:\n\n- `PROPERTY_ATTRIBUTABLE`: at least one value failed it significantly more often than every other value combined. `worseValues` names them. This is the only case in which a value is called worse.\n- `FOUND_UNATTRIBUTED`: no value stands out, but the check failed on at least `foundUnattributedFailureRate`% of counted simulations overall. A real issue with the agent on which no value stood out, so the run cannot tie it to the property. It does not show the property had no effect: a small run may be unable to see one.\n- `WITHIN_NOISE`: neither. Any differences between values are within what chance produces.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].attribution","typeLabel":"enum\u003cstring>"},"failed":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].failed","typeLabel":"integer"},"evaluated":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].evaluated","typeLabel":"integer"},"failureRate":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"Share of counted simulations across every value that failed the check, 0-100.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].failureRate.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"description":"Share of counted simulations across every value that failed the check, 0-100.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].failureRate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].failureRate","typeLabel":"number | null"},"worseValues":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"The arm's identity: the override signature its calls ran with, e.g. `BACKGROUND_NOISE=DRIVING;BACKGROUND_NOISE_VOLUME=0.7`. Join on this rather than on `value`: a sweep can run one value as several arms (Driving at 70% and at 100%), and those share a value.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].worseValues.items.[INDEX].key","typeLabel":"string"},"value":{"type":"string","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].worseValues.items.[INDEX].value","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].worseValues.items.[INDEX].label","typeLabel":"string"},"failed":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].worseValues.items.[INDEX].failed","typeLabel":"integer"},"evaluated":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].worseValues.items.[INDEX].evaluated","typeLabel":"integer"},"failureRate":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"Share of the counted simulations at this value that failed the check, 0-100.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].worseValues.items.[INDEX].failureRate.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"description":"Share of the counted simulations at this value that failed the check, 0-100.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].worseValues.items.[INDEX].failureRate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].worseValues.items.[INDEX].failureRate","typeLabel":"number | null"},"restFailureRate":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"The same share across every other value combined, 0-100. This is what the value is compared with.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].worseValues.items.[INDEX].restFailureRate.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"description":"The same share across every other value combined, 0-100. This is what the value is compared with.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].worseValues.items.[INDEX].restFailureRate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].worseValues.items.[INDEX].restFailureRate","typeLabel":"number | null"},"adjustedPValue":{"type":"number","minimum":0,"maximum":1,"description":"How likely a difference at least this large would be by chance alone, after correcting for every comparison in the run (Benjamini-Hochberg). The value is called worse only when this is at most `falseDiscoveryRate`.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].worseValues.items.[INDEX].adjustedPValue","typeLabel":"number"}},"required":["key","value","label","failed","evaluated","failureRate","restFailureRate","adjustedPValue"],"description":"A value that failed a check significantly more often than the rest of the run.","uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].worseValues.items.[INDEX]","typeLabel":"object"},"description":"The values significantly worse than the rest, most significant first. Empty unless `attribution` is `PROPERTY_ATTRIBUTABLE`.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX].worseValues","typeLabel":"object[]"}},"required":["metricDefinitionId","metricName","attribution","failed","evaluated","failureRate","worseValues"],"description":"How one check's failures relate to the swept property.","uniqueKey":"data.sweepAttribution.oneOf.0.checks.items.[INDEX]","typeLabel":"object"},"description":"Every check the run was graded on: `PROPERTY_ATTRIBUTABLE` first, then `FOUND_UNATTRIBUTED`, then `WITHIN_NOISE`.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.checks","typeLabel":"object[]"},"testableValueCount":{"type":"integer","minimum":0,"description":"How many values had enough counted simulations to be compared.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.testableValueCount","typeLabel":"integer"},"testedComparisonCount":{"type":"integer","minimum":0,"description":"How many value and check pairs were actually tested. A value can have enough simulations and still go untested (no other value graded that check, or too few verdicts on it). When this is 0 no comparison ran, so an empty `worseValues` everywhere means nothing was tested, not that no value did worse.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.testedComparisonCount","typeLabel":"integer"},"minimumDetectableGap":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"description":"Roughly how many percentage points more often a value would need to fail than the rest of the run to be flagged at this sample size. Optimistic: it uses simulation counts rather than the verdicts on each check and ignores the correction, so checks graded on fewer simulations need larger gaps. Large when few simulations ran per value: finding no significant difference then means the run could not see one, not that none exists.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.minimumDetectableGap.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"description":"Roughly how many percentage points more often a value would need to fail than the rest of the run to be flagged at this sample size. Optimistic: it uses simulation counts rather than the verdicts on each check and ignores the correction, so checks graded on fewer simulations need larger gaps. Large when few simulations ran per value: finding no significant difference then means the run could not see one, not that none exists.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.minimumDetectableGap.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.minimumDetectableGap","typeLabel":"number | null"},"caveats":{"type":"array","items":{"type":"string","uniqueKey":"data.sweepAttribution.oneOf.0.caveats.items.[INDEX]","typeLabel":"string"},"description":"Plain sentences on what this run could not see, ready to show to a reader.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.caveats","typeLabel":"string[]"},"neverSpokeValues":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"The arm's identity: the override signature its calls ran with, e.g. `BACKGROUND_NOISE=DRIVING;BACKGROUND_NOISE_VOLUME=0.7`. Join on this rather than on `value`: a sweep can run one value as several arms (Driving at 70% and at 100%), and those share a value.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.neverSpokeValues.items.[INDEX].key","typeLabel":"string"},"value":{"type":"string","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.neverSpokeValues.items.[INDEX].value","typeLabel":"string"},"label":{"type":"string","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.neverSpokeValues.items.[INDEX].label","typeLabel":"string"},"silentAttempts":{"type":"integer","minimum":0,"description":"Simulations at this value your agent never spoke on, retried or not.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.neverSpokeValues.items.[INDEX].silentAttempts","typeLabel":"integer"},"attempted":{"type":"integer","minimum":0,"description":"Simulations run at this value.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.neverSpokeValues.items.[INDEX].attempted","typeLabel":"integer"},"retries":{"type":"integer","minimum":0,"description":"Retries placed at this value because your agent never spoke.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.neverSpokeValues.items.[INDEX].retries","typeLabel":"integer"},"restSilentAttempts":{"type":"integer","minimum":0,"description":"Simulations your agent never spoke on across every other value combined.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.neverSpokeValues.items.[INDEX].restSilentAttempts","typeLabel":"integer"},"restAttempted":{"type":"integer","minimum":0,"description":"Simulations run across every other value combined.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.neverSpokeValues.items.[INDEX].restAttempted","typeLabel":"integer"},"adjustedPValue":{"type":"number","minimum":0,"maximum":1,"description":"How likely a difference at least this large would be by chance alone, after correcting across the values (Benjamini-Hochberg).","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.neverSpokeValues.items.[INDEX].adjustedPValue","typeLabel":"number"}},"required":["key","value","label","silentAttempts","attempted","retries","restSilentAttempts","restAttempted","adjustedPValue"],"description":"A value your agent never spoke on significantly more often than the rest of the run.","uniqueKey":"data.sweepAttribution.oneOf.0.neverSpokeValues.items.[INDEX]","typeLabel":"object"},"description":"The values your agent never spoke on significantly more often than the rest of the run, most significant first, tested the same way as `worseValues`. Empty on a run with no silent simulations.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.neverSpokeValues","typeLabel":"object[]"},"minArmCalls":{"type":"integer","exclusiveMinimum":0,"description":"Counted simulations a value needs before it is compared.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.minArmCalls","typeLabel":"integer"},"falseDiscoveryRate":{"type":"number","minimum":0,"maximum":1,"description":"The Benjamini-Hochberg false discovery rate the comparisons are held to.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.falseDiscoveryRate","typeLabel":"number"},"foundUnattributedFailureRate":{"type":"number","minimum":0,"maximum":100,"description":"The overall failure rate, 0-100, at which a check with no standout value is reported as `FOUND_UNATTRIBUTED`.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0.foundUnattributedFailureRate","typeLabel":"number"}},"isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.0","typeLabel":"object"},{"type":"null","description":"For a run that swept a property: which values the failures concentrate on. Null otherwise.","isRequired":true,"uniqueKey":"data.sweepAttribution.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.sweepAttribution","typeLabel":"object | null"},"debrief":{"oneOf":[{"type":"object","description":"The latest debrief. Null when none was generated, e.g. a run with no graded calls.","required":["debriefId","status","errorMessage","createdAt","completedAt","report"],"example":{"debriefId":"3c2b1a09-8f7e-4d6c-9b5a-4e3d2c1b0a9f","status":"GENERATING","errorMessage":null,"createdAt":"2026-10-11T14:05:12.000Z","completedAt":null,"report":null},"properties":{"debriefId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.debriefId","typeLabel":"string\u003cuuid>"},"status":{"type":"string","enum":["PENDING","GENERATING","READY","FAILED"],"description":"PENDING and GENERATING while it is written (usually a few minutes), then READY or FAILED.","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.status","typeLabel":"enum\u003cstring>"},"errorMessage":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.errorMessage.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.errorMessage","typeLabel":"string | null"},"createdAt":{"type":"string","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.createdAt","typeLabel":"string"},"completedAt":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.completedAt.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.completedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.completedAt","typeLabel":"string | null"},"report":{"oneOf":[{"type":"object","description":"Present once READY.","required":["generatedAt","verdict","verdictSummary","executiveSummary","keyFindings","wentWell","themes","recommendations","trend"],"properties":{"generatedAt":{"type":"string","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.generatedAt","typeLabel":"string"},"verdict":{"type":"string","enum":["PASSED","THRESHOLD_FAILED"],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.verdict","typeLabel":"enum\u003cstring>"},"verdictSummary":{"type":"string","description":"One-paragraph verdict, e.g. \"Not ready to promote. ...\"","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.verdictSummary","typeLabel":"string"},"executiveSummary":{"type":"object","properties":{"paragraphs":{"type":"array","items":{"type":"string","uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.executiveSummary.paragraphs.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.executiveSummary.paragraphs","typeLabel":"string[]"},"sections":{"type":"array","items":{"type":"object","properties":{"heading":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.executiveSummary.sections.items.[INDEX].heading.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.executiveSummary.sections.items.[INDEX].heading.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.executiveSummary.sections.items.[INDEX].heading","typeLabel":"string | null"},"body":{"type":"string","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.executiveSummary.sections.items.[INDEX].body","typeLabel":"string"}},"required":["heading","body"],"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.executiveSummary.sections.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.executiveSummary.sections","typeLabel":"object[]"}},"required":["paragraphs","sections"],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.executiveSummary","typeLabel":"object"},"keyFindings":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.keyFindings.items.[INDEX].title","typeLabel":"string"},"body":{"type":"string","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.keyFindings.items.[INDEX].body","typeLabel":"string"},"callIds":{"type":"array","items":{"type":"string","uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.keyFindings.items.[INDEX].callIds.items.[INDEX]","typeLabel":"string"},"description":"The calls the finding is about.","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.keyFindings.items.[INDEX].callIds","typeLabel":"string[]"}},"required":["title","body","callIds"],"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.keyFindings.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.keyFindings","typeLabel":"object[]"},"wentWell":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.wentWell.items.[INDEX].title","typeLabel":"string"},"body":{"type":"string","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.wentWell.items.[INDEX].body","typeLabel":"string"},"callIds":{"type":"array","items":{"type":"string","uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.wentWell.items.[INDEX].callIds.items.[INDEX]","typeLabel":"string"},"description":"The calls the finding is about.","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.wentWell.items.[INDEX].callIds","typeLabel":"string[]"}},"required":["title","body","callIds"],"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.wentWell.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.wentWell","typeLabel":"object[]"},"themes":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].slug","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].title","typeLabel":"string"},"severity":{"type":"string","enum":["HIGH","MEDIUM","LOW"],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"impact":{"oneOf":[{"type":"string","enum":["CRITICAL","HIGH","MEDIUM","LOW"],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].impact.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["CRITICAL","HIGH","MEDIUM","LOW"],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].impact.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].impact","typeLabel":"enum\u003cstring> | null"},"prevalence":{"oneOf":[{"type":"string","enum":["WIDESPREAD","RECURRING","ISOLATED"],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].prevalence.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["WIDESPREAD","RECURRING","ISOLATED"],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].prevalence.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].prevalence","typeLabel":"enum\u003cstring> | null"},"lifecycle":{"oneOf":[{"type":"string","enum":["NEW","PERSISTENT","IMPROVING","FIXED"],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].lifecycle.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["NEW","PERSISTENT","IMPROVING","FIXED"],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].lifecycle.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].lifecycle","typeLabel":"enum\u003cstring> | null"},"affectedCallCount":{"type":"integer","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].affectedCallCount","typeLabel":"integer"},"totalCallCount":{"type":"integer","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].totalCallCount","typeLabel":"integer"},"checkNames":{"type":"array","items":{"type":"string","uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].checkNames.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].checkNames","typeLabel":"string[]"},"rootCauseChannel":{"oneOf":[{"type":"string","enum":["PROMPT","VOICE_CONFIG","STT","SPEECH_MODEL","LLM_MODEL","INFRA","EXTERNAL"],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].rootCauseChannel.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["PROMPT","VOICE_CONFIG","STT","SPEECH_MODEL","LLM_MODEL","INFRA","EXTERNAL"],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].rootCauseChannel.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].rootCauseChannel","typeLabel":"enum\u003cstring> | null"},"analysis":{"type":"string","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].analysis","typeLabel":"string"},"callIds":{"type":"array","items":{"type":"string","uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].callIds.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX].callIds","typeLabel":"string[]"}},"required":["slug","title","severity","impact","prevalence","lifecycle","affectedCallCount","totalCallCount","checkNames","rootCauseChannel","analysis","callIds"],"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes.items.[INDEX]","typeLabel":"object"},"description":"Failure themes, clustered across the run’s failing calls.","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.themes","typeLabel":"object[]"},"recommendations":{"type":"array","items":{"type":"object","properties":{"order":{"type":"integer","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations.items.[INDEX].order","typeLabel":"integer"},"title":{"type":"string","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations.items.[INDEX].title","typeLabel":"string"},"body":{"type":"string","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations.items.[INDEX].body","typeLabel":"string"},"severity":{"oneOf":[{"type":"string","enum":["HIGH","MEDIUM","LOW"],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations.items.[INDEX].severity.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["HIGH","MEDIUM","LOW"],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations.items.[INDEX].severity.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations.items.[INDEX].severity","typeLabel":"enum\u003cstring> | null"},"channel":{"oneOf":[{"type":"string","enum":["PROMPT","VOICE_CONFIG","STT","SPEECH_MODEL","LLM_MODEL","INFRA","EXTERNAL"],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations.items.[INDEX].channel.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["PROMPT","VOICE_CONFIG","STT","SPEECH_MODEL","LLM_MODEL","INFRA","EXTERNAL"],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations.items.[INDEX].channel.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations.items.[INDEX].channel","typeLabel":"enum\u003cstring> | null"},"currentText":{"oneOf":[{"type":"string","description":"For a prompt fix: the text to replace.","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations.items.[INDEX].currentText.oneOf.0","typeLabel":"string"},{"type":"null","description":"For a prompt fix: the text to replace.","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations.items.[INDEX].currentText.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations.items.[INDEX].currentText","typeLabel":"string | null"},"suggestedText":{"oneOf":[{"type":"string","description":"For a prompt fix: the replacement.","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations.items.[INDEX].suggestedText.oneOf.0","typeLabel":"string"},{"type":"null","description":"For a prompt fix: the replacement.","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations.items.[INDEX].suggestedText.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations.items.[INDEX].suggestedText","typeLabel":"string | null"},"themeSlugs":{"type":"array","items":{"type":"string","uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations.items.[INDEX].themeSlugs.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations.items.[INDEX].themeSlugs","typeLabel":"string[]"}},"required":["order","title","body","severity","channel","currentText","suggestedText","themeSlugs"],"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.recommendations","typeLabel":"object[]"},"trend":{"oneOf":[{"type":"object","properties":{"baselineRunPlanJobId":{"type":"string","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend.oneOf.0.baselineRunPlanJobId","typeLabel":"string"},"baselineRunNumber":{"oneOf":[{"type":"integer","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend.oneOf.0.baselineRunNumber.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend.oneOf.0.baselineRunNumber.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend.oneOf.0.baselineRunNumber","typeLabel":"integer | null"},"rows":{"type":"array","items":{"type":"object","properties":{"checkName":{"type":"string","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend.oneOf.0.rows.items.[INDEX].checkName","typeLabel":"string"},"previousPassRate":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend.oneOf.0.rows.items.[INDEX].previousPassRate.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend.oneOf.0.rows.items.[INDEX].previousPassRate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend.oneOf.0.rows.items.[INDEX].previousPassRate","typeLabel":"number | null"},"currentPassRate":{"oneOf":[{"type":"number","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend.oneOf.0.rows.items.[INDEX].currentPassRate.oneOf.0","typeLabel":"number"},{"type":"null","minimum":0,"maximum":100,"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend.oneOf.0.rows.items.[INDEX].currentPassRate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend.oneOf.0.rows.items.[INDEX].currentPassRate","typeLabel":"number | null"},"lifecycle":{"oneOf":[{"type":"string","enum":["NEW","PERSISTENT","IMPROVING","FIXED"],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend.oneOf.0.rows.items.[INDEX].lifecycle.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["NEW","PERSISTENT","IMPROVING","FIXED"],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend.oneOf.0.rows.items.[INDEX].lifecycle.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend.oneOf.0.rows.items.[INDEX].lifecycle","typeLabel":"enum\u003cstring> | null"}},"required":["checkName","previousPassRate","currentPassRate","lifecycle"],"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend.oneOf.0.rows.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend.oneOf.0.rows","typeLabel":"object[]"}},"required":["baselineRunPlanJobId","baselineRunNumber","rows"],"description":"The checks against the previous run, as of generation.","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"baselineRunPlanJobId":{"type":"string"},"baselineRunNumber":{"oneOf":[{"type":"integer"},{"type":"null"}]},"rows":{"type":"array","items":{"type":"object","properties":{"checkName":{"type":"string"},"previousPassRate":{"oneOf":[{"type":"number","minimum":0,"maximum":100},{"type":"null","minimum":0,"maximum":100}]},"currentPassRate":{"oneOf":[{"type":"number","minimum":0,"maximum":100},{"type":"null","minimum":0,"maximum":100}]},"lifecycle":{"oneOf":[{"type":"string","enum":["NEW","PERSISTENT","IMPROVING","FIXED"]},{"type":"null","enum":["NEW","PERSISTENT","IMPROVING","FIXED"]}]}},"required":["checkName","previousPassRate","currentPassRate","lifecycle"]}}},"required":["baselineRunPlanJobId","baselineRunNumber","rows"],"description":"The checks against the previous run, as of generation.","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0.trend","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.0","typeLabel":"object"},{"type":"null","description":"Present once READY.","isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.debrief.oneOf.0.report","typeLabel":"object | null"}},"isRequired":true,"uniqueKey":"data.debrief.oneOf.0","typeLabel":"object"},{"type":"null","description":"The latest debrief. Null when none was generated, e.g. a run with no graded calls.","isRequired":true,"uniqueKey":"data.debrief.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.debrief","typeLabel":"object | null"}},"required":["run","summary","verdict","attemptSummary","metrics","calls","breakdowns","comparison","sweepAttribution","debrief"],"description":"Everything the run report shows, in one response.","example":{"run":{"simulationRunPlanJobId":"7f3e4d2c-8a91-4b5c-9e6f-1a2b3c4d5e6f","simulationRunPlanId":"550e8400-e29b-41d4-a716-446655440000","simulationRunPlanName":"Appointment booking regression","runNumber":42,"status":"COMPLETED","triggeredBy":"TRIGGERED_FROM_API","createdAt":"2026-10-11T14:00:00.000Z","startedAt":"2026-10-11T14:00:03.000Z","endedAt":"2026-10-11T14:04:41.000Z","durationMs":278000},"summary":{"totalCalls":10,"countedCalls":10,"completedCalls":10,"evaluatedCalls":10,"passedCalls":7,"failedCalls":3,"callPassRate":70,"score":85,"checkPassRate":85},"verdict":null,"attemptSummary":{"testCaseCount":10,"attemptCount":10,"silentAttemptCount":0,"retryCount":0,"stillSilentTestCaseCount":0},"metrics":[{"metricDefinitionId":"bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb","metricId":"booked_appointment_check","name":"Booked appointment","outputType":"BOOLEAN","isCheck":true,"unitSymbol":null,"evaluatedCalls":10,"sampleSize":10,"check":{"passedCalls":7,"failedCalls":3,"evaluatedCalls":10,"passRate":70},"numeric":null,"distribution":[{"value":"true","count":7},{"value":"false","count":3}]}],"calls":[{"simulationJobId":"1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d","callId":"6e7f8a9b-0c1d-4e2f-9a3b-4c5d6e7f8a9b","status":"COMPLETED","counted":true,"attemptNumber":1,"retryOfSimulationJobId":null,"personaName":"Ana","agentName":"Front desk","durationMs":94000,"passed":false,"checks":[{"metricDefinitionId":"bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb","metricName":"Booked appointment","passed":false}],"values":[]}],"breakdowns":{"byAgent":[],"byPersona":[]},"comparison":null,"sweepAttribution":null,"debrief":null},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"run":{"simulationRunPlanJobId":"7f3e4d2c-8a91-4b5c-9e6f-1a2b3c4d5e6f","simulationRunPlanId":"550e8400-e29b-41d4-a716-446655440000","simulationRunPlanName":"Appointment booking regression","runNumber":42,"status":"COMPLETED","triggeredBy":"TRIGGERED_FROM_API","createdAt":"2026-10-11T14:00:00.000Z","startedAt":"2026-10-11T14:00:03.000Z","endedAt":"2026-10-11T14:04:41.000Z","durationMs":278000},"summary":{"totalCalls":10,"countedCalls":10,"completedCalls":10,"evaluatedCalls":10,"passedCalls":7,"failedCalls":3,"callPassRate":70,"score":85,"checkPassRate":85},"verdict":null,"attemptSummary":{"testCaseCount":10,"attemptCount":10,"silentAttemptCount":0,"retryCount":0,"stillSilentTestCaseCount":0},"metrics":[{"metricDefinitionId":"bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb","metricId":"booked_appointment_check","name":"Booked appointment","outputType":"BOOLEAN","isCheck":true,"unitSymbol":null,"evaluatedCalls":10,"sampleSize":10,"check":{"passedCalls":7,"failedCalls":3,"evaluatedCalls":10,"passRate":70},"numeric":null,"distribution":[{"value":"true","count":7},{"value":"false","count":3}]}],"calls":[{"simulationJobId":"1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d","callId":"6e7f8a9b-0c1d-4e2f-9a3b-4c5d6e7f8a9b","status":"COMPLETED","counted":true,"attemptNumber":1,"retryOfSimulationJobId":null,"personaName":"Ana","agentName":"Front desk","durationMs":94000,"passed":false,"checks":[{"metricDefinitionId":"bbbbbbbb-bbbb-4bbb-8bbb-bbbbbbbbbbbb","metricName":"Booked appointment","passed":false}],"values":[]}],"breakdowns":{"byAgent":[],"byPersona":[]},"comparison":null,"sweepAttribution":null,"debrief":null}}}},"exampleType":"generated"}},"exampleType":"generated"},"66f6c047-efee-49d7-b8eb-23de7d5b6e28":{"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["validation","authentication","forbidden","not_found","conflict","payment_required","rate_limit","internal"],"description":"The error type category","examples":["validation","authentication"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Machine-readable error code identifier","examples":["invalid_parameter","missing_required_field","unauthorized"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","examples":["The request was invalid","Authentication required"],"isRequired":true,"uniqueKey":"message","typeLabel":"string"},"param":{"type":"string","description":"The parameter that caused the error (if applicable)","examples":["email","user_id"],"uniqueKey":"param","typeLabel":"string"},"details":{"description":"Additional error context information","uniqueKey":"details","typeLabel":"any"}},"required":["type","code","message"],"description":"Validation error","uniqueKey":"","typeLabel":"object"},"example":{"type":"validation","code":"invalid_parameter","message":"The request was invalid","param":"email"},"examples":{"Example":{"title":"Example","value":{"type":"validation","code":"invalid_parameter","message":"The request was invalid","param":"email"}}},"exampleType":"examples"}},"description":"Bad Request","exampleType":"examples"},"e0aa0f30-2572-4a86-b068-bbc91b350ffa":{"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["validation","authentication","forbidden","not_found","conflict","payment_required","rate_limit","internal"],"description":"The error type category","examples":["validation","authentication"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Machine-readable error code identifier","examples":["invalid_parameter","missing_required_field","unauthorized"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","examples":["The request was invalid","Authentication required"],"isRequired":true,"uniqueKey":"message","typeLabel":"string"},"param":{"type":"string","description":"The parameter that caused the error (if applicable)","examples":["email","user_id"],"uniqueKey":"param","typeLabel":"string"},"details":{"description":"Additional error context information","uniqueKey":"details","typeLabel":"any"}},"required":["type","code","message"],"description":"Authentication error","uniqueKey":"","typeLabel":"object"},"example":{"type":"authentication","code":"unauthorized","message":"Authentication required"},"examples":{"Example":{"title":"Example","value":{"type":"authentication","code":"unauthorized","message":"Authentication required"}}},"exampleType":"examples"}},"description":"Unauthorized","exampleType":"examples"},"9f7bb3e2-59fe-451f-808d-adacc5f2632e":{"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["validation","authentication","forbidden","not_found","conflict","payment_required","rate_limit","internal"],"description":"The error type category","examples":["validation","authentication"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Machine-readable error code identifier","examples":["invalid_parameter","missing_required_field","unauthorized"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","examples":["The request was invalid","Authentication required"],"isRequired":true,"uniqueKey":"message","typeLabel":"string"},"param":{"type":"string","description":"The parameter that caused the error (if applicable)","examples":["email","user_id"],"uniqueKey":"param","typeLabel":"string"},"details":{"description":"Additional error context information","uniqueKey":"details","typeLabel":"any"}},"required":["type","code","message"],"description":"Permission error","uniqueKey":"","typeLabel":"object"},"example":{"type":"forbidden","code":"permission_denied","message":"You do not have permission to access this resource"},"examples":{"Example":{"title":"Example","value":{"type":"forbidden","code":"permission_denied","message":"You do not have permission to access this resource"}}},"exampleType":"examples"}},"description":"Forbidden","exampleType":"examples"},"4dc3933e-9216-473f-85c1-cb26f57e8c78":{"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["validation","authentication","forbidden","not_found","conflict","payment_required","rate_limit","internal"],"description":"The error type category","examples":["validation","authentication"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Machine-readable error code identifier","examples":["invalid_parameter","missing_required_field","unauthorized"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","examples":["The request was invalid","Authentication required"],"isRequired":true,"uniqueKey":"message","typeLabel":"string"},"param":{"type":"string","description":"The parameter that caused the error (if applicable)","examples":["email","user_id"],"uniqueKey":"param","typeLabel":"string"},"details":{"description":"Additional error context information","uniqueKey":"details","typeLabel":"any"}},"required":["type","code","message"],"description":"Not found error","uniqueKey":"","typeLabel":"object"},"example":{"type":"not_found","code":"resource_not_found","message":"The requested resource could not be found"},"examples":{"Example":{"title":"Example","value":{"type":"not_found","code":"resource_not_found","message":"The requested resource could not be found"}}},"exampleType":"examples"}},"description":"Simulation run, or the `compareToJobId` run, not found","exampleType":"examples"},"e07b2043-8054-49c4-a563-141eee240d57":{"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["validation","authentication","forbidden","not_found","conflict","payment_required","rate_limit","internal"],"description":"The error type category","examples":["validation","authentication"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Machine-readable error code identifier","examples":["invalid_parameter","missing_required_field","unauthorized"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","examples":["The request was invalid","Authentication required"],"isRequired":true,"uniqueKey":"message","typeLabel":"string"},"param":{"type":"string","description":"The parameter that caused the error (if applicable)","examples":["email","user_id"],"uniqueKey":"param","typeLabel":"string"},"details":{"description":"Additional error context information","uniqueKey":"details","typeLabel":"any"}},"required":["type","code","message"],"description":"Rate limit error","uniqueKey":"","typeLabel":"object"},"example":{"type":"rate_limit","code":"too_many_requests","message":"Rate limit exceeded"},"examples":{"Example":{"title":"Example","value":{"type":"rate_limit","code":"too_many_requests","message":"Rate limit exceeded"}}},"exampleType":"examples"}},"description":"Too Many Requests","exampleType":"examples"},"10206901-7fb3-433d-af74-fe79bb975d45":{"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["validation","authentication","forbidden","not_found","conflict","payment_required","rate_limit","internal"],"description":"The error type category","examples":["validation","authentication"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Machine-readable error code identifier","examples":["invalid_parameter","missing_required_field","unauthorized"],"isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","examples":["The request was invalid","Authentication required"],"isRequired":true,"uniqueKey":"message","typeLabel":"string"},"param":{"type":"string","description":"The parameter that caused the error (if applicable)","examples":["email","user_id"],"uniqueKey":"param","typeLabel":"string"},"details":{"description":"Additional error context information","uniqueKey":"details","typeLabel":"any"}},"required":["type","code","message"],"description":"Server error","uniqueKey":"","typeLabel":"object"},"example":{"type":"internal","code":"internal_error","message":"Internal server error"},"examples":{"Example":{"title":"Example","value":{"type":"internal","code":"internal_error","message":"Internal server error"}}},"exampleType":"examples"}},"description":"Internal Server Error","exampleType":"examples"}},"security":{"c75f6f9a-f967-4b4f-9628-6bad02120177":{"Bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"Bearer"}}},"servers":{"0d573df3-733f-4465-92ab-5f74fd09cb36":{"description":"Production","url":"https://api.roark.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"Bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Bearer","name":"Authorization"}],"title":"Bearer"}]},"originalFileLocation":"api-reference/openapi.documented.json"},"subdomain":"roark","siteName":"Roark Docs","title":"Get simulation run results - Roark Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-14T00:13:30.048Z","originalFileLocation":"api-reference/simulation-run-plan-job/get-simulation-run-results.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Everything the run report shows, in one request: the summary and score, the pass/fail verdict, per-metric aggregates, every simulation with its check results, breakdowns by agent and persona, the comparison against the previous run (or compareToJobId), the sweep attribution, and the written debrief with its executive summary, failure themes and recommendations. Safe to call while the run is in progress: counts reflect what has landed so far. verdict and sweepAttribution stay null until the run ends. The debrief is generated automatically a few minutes after a run with graded calls settles; poll until debrief.status is READY, or request one with POST /v1/simulation/plan/job/{jobId}/debrief.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Roark Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/roark/E3SiV_DMp7O0imMO/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/roark/E3SiV_DMp7O0imMO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/roark/E3SiV_DMp7O0imMO/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/roark/E3SiV_DMp7O0imMO/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/roark/E3SiV_DMp7O0imMO/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/roark/E3SiV_DMp7O0imMO/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/roark/E3SiV_DMp7O0imMO/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/roark/E3SiV_DMp7O0imMO/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/roark/E3SiV_DMp7O0imMO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get simulation run results - Roark Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Everything the run report shows, in one request: the summary and score, the pass/fail verdict, per-metric aggregates, every simulation with its check results, breakdowns by agent and persona, the comparison against the previous run (or compareToJobId), the sweep attribution, and the written debrief with its executive summary, failure themes and recommendations. Safe to call while the run is in progress: counts reflect what has landed so far. verdict and sweepAttribution stay null until the run ends. The debrief is generated automatically a few minutes after a run with graded calls settles; poll until debrief.status is READY, or request one with POST /v1/simulation/plan/job/{jobId}/debrief.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Roark Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.roark.ai/api-reference/simulation-run-plan-job/get-simulation-run-results\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://roark.mintlify.site/_mintlify/api/og/v2?division=Simulation+Run+Plan+Job\u0026amp;title=Get+simulation+run+results\u0026amp;description=Everything+the+run+report+shows%2C+in+one+request%3A+the+summary+and+score%2C+the+pass%2Ffail+verdict%2C%0Aper-metric+aggregates%2C+every+simulation+with+its+check+results%2C+b\u0026amp;theme=0f3fa282babd51a23ab3534f\u0026amp;signature=155745373c388ccb5c05d3677a95b1a675ced8f66cbb29e413fb384fd56d7d16\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get simulation run results - Roark Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Everything the run report shows, in one request: the summary and score, the pass/fail verdict, per-metric aggregates, every simulation with its check results, breakdowns by agent and persona, the comparison against the previous run (or compareToJobId), the sweep attribution, and the written debrief with its executive summary, failure themes and recommendations. Safe to call while the run is in progress: counts reflect what has landed so far. verdict and sweepAttribution stay null until the run ends. The debrief is generated automatically a few minutes after a run with graded calls settles; poll until debrief.status is READY, or request one with POST /v1/simulation/plan/job/{jobId}/debrief.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://roark.mintlify.site/_mintlify/api/og/v2?division=Simulation+Run+Plan+Job\u0026amp;title=Get+simulation+run+results\u0026amp;description=Everything+the+run+report+shows%2C+in+one+request%3A+the+summary+and+score%2C+the+pass%2Ffail+verdict%2C%0Aper-metric+aggregates%2C+every+simulation+with+its+check+results%2C+b\u0026amp;theme=0f3fa282babd51a23ab3534f\u0026amp;signature=155745373c388ccb5c05d3677a95b1a675ced8f66cbb29e413fb384fd56d7d16\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/roark/E3SiV_DMp7O0imMO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Roark Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#006838\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.roark.ai/api-reference/simulation-run-plan-job/get-simulation-run-results\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/simulation-run-plan-job/get-simulation-run-results.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.roark.ai/#organization\",\"name\":\"Roark Docs\",\"url\":\"https://docs.roark.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/roark/roh5qorg6REL9dkn/images/logo/light.svg?fit=max\u0026auto=format\u0026n=roh5qorg6REL9dkn\u0026q=85\u0026s=040c5cac74f0bd94ad25a3ccfdb45dbc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.roark.ai#website\",\"name\":\"Roark Docs\",\"url\":\"https://docs.roark.ai\",\"publisher\":{\"@id\":\"https://docs.roark.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.roark.ai/api-reference/simulation-run-plan-job/get-simulation-run-results#webpage\",\"url\":\"https://docs.roark.ai/api-reference/simulation-run-plan-job/get-simulation-run-results\",\"name\":\"Get simulation run results\",\"description\":\"Everything the run report shows, in one request: the summary and score, the pass/fail verdict, per-metric aggregates, every simulation with its check results, breakdowns by agent and persona, the comparison against the previous run (or compareToJobId), the sweep attribution, and the written debrief with its executive summary, failure themes and recommendations. Safe to call while the run is in progress: counts reflect what has landed so far. verdict and sweepAttribution stay null until the run ends. The debrief is generated automatically a few minutes after a run with graded calls settles; poll until debrief.status is READY, or request one with POST /v1/simulation/plan/job/{jobId}/debrief.\",\"dateModified\":\"2026-11-14T00:13:30.048Z\",\"isPartOf\":{\"@id\":\"https://docs.roark.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.roark.ai/api-reference/simulation-run-plan-job/get-simulation-run-results#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.roark.ai/api-reference/simulation-run-plan-job/get-simulation-run-results#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Simulation Run Plan Job\",\"item\":\"https://docs.roark.ai/api-reference/simulation-run-plan-job/list-simulation-plan-jobs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get simulation run results\",\"item\":\"https://docs.roark.ai/api-reference/simulation-run-plan-job/get-simulation-run-results\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.roark.ai/api-reference/simulation-run-plan-job/get-simulation-run-results#apireference\",\"headline\":\"Get simulation run results\",\"name\":\"Get simulation run results\",\"description\":\"Everything the run report shows, in one request: the summary and score, the pass/fail verdict, per-metric aggregates, every simulation with its check results, breakdowns by agent and persona, the comparison against the previous run (or compareToJobId), the sweep attribution, and the written debrief with its executive summary, failure themes and recommendations. Safe to call while the run is in progress: counts reflect what has landed so far. verdict and sweepAttribution stay null until the run ends. The debrief is generated automatically a few minutes after a run with graded calls settles; poll until debrief.status is READY, or request one with POST /v1/simulation/plan/job/{jobId}/debrief.\",\"url\":\"https://docs.roark.ai/api-reference/simulation-run-plan-job/get-simulation-run-results\",\"mainEntityOfPage\":{\"@id\":\"https://docs.roark.ai/api-reference/simulation-run-plan-job/get-simulation-run-results#webpage\"},\"dateModified\":\"2026-11-14T00:13:30.048Z\",\"publisher\":{\"@id\":\"https://docs.roark.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.roark.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Roark Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Roark Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/simulation-run-plan-job/get-simulation-run-results.md","siteName":"Roark Docs","nav":{"global":{},"tabs":[{"tab":"Guides","icon":"book","pages":[{"title":"Guides","href":"/documentation/getting-started/introduction"}]},{"tab":"Config as Code","icon":"file-code","pages":[{"title":"Config as Code","href":"/documentation/config-as-code/overview"}]},{"tab":"SDKs \u0026 CLI","icon":"code","pages":[{"title":"SDKs \u0026 CLI","href":"/documentation/sdks/node-sdk"}]},{"tab":"API Reference","icon":"terminal","groups":[{"group":"API Reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Authorization","href":"/api-reference/authorization"}]},{"group":"Health","pages":[{"title":"Get API health status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /health","href":"/api-reference/health/get-api-health-status"}]},{"group":"CLI Auth","pages":[{"title":"Exchange a CLI authorization code for an API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/cli/auth/token","href":"/api-reference/cli-auth/exchange-a-cli-authorization-code-for-an-api-key"}]},{"group":"Campaign Credit","pages":[{"title":"Claim a campaign credit","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/public/campaign-credit/{campaignKey}/claim","href":"/api-reference/campaign-credit/claim-a-campaign-credit"},{"title":"Verify a campaign credit claim","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/public/campaign-credit/verify","href":"/api-reference/campaign-credit/verify-a-campaign-credit-claim"}]},{"group":"Me","pages":[{"title":"Describe the current credential","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/me","href":"/api-reference/me/describe-the-current-credential"},{"title":"List your personal credentials","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/me/api-keys","href":"/api-reference/me/list-your-personal-credentials"},{"title":"Create a personal credential","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/me/api-keys","href":"/api-reference/me/create-a-personal-credential"},{"title":"Revoke one of your personal credentials","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/me/api-keys/{id}","href":"/api-reference/me/revoke-one-of-your-personal-credentials"}]},{"group":"Project","pages":[{"title":"List projects available to this credential","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/projects","href":"/api-reference/project/list-projects-available-to-this-credential"}]},{"group":"Agent Endpoint","pages":[{"title":"List agent endpoints","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/agent/endpoint","href":"/api-reference/agent-endpoint/list-agent-endpoints"},{"title":"Create a new agent endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/agent/endpoint","href":"/api-reference/agent-endpoint/create-a-new-agent-endpoint"},{"title":"Get agent endpoint by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/agent/endpoint/{endpointId}","href":"/api-reference/agent-endpoint/get-agent-endpoint-by-id"},{"title":"Update an agent endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/agent/endpoint/{endpointId}","href":"/api-reference/agent-endpoint/update-an-agent-endpoint"}]},{"group":"Agent","pages":[{"title":"List an agent's prompts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/agent/{agentId}/prompts","href":"/api-reference/agent/list-an-agents-prompts"},{"title":"Set an agent's prompt","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/agent/{agentId}/prompts","href":"/api-reference/agent/set-an-agents-prompt"},{"title":"List a prompt's versions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/agent/{agentId}/prompts/{promptId}/versions","href":"/api-reference/agent/list-a-prompts-versions"},{"title":"Get an agent's setup","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/agent/{agentId}/setup","href":"/api-reference/agent/get-an-agents-setup"},{"title":"Set up an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/agent/{agentId}/setup","href":"/api-reference/agent/set-up-an-agent"},{"title":"Get a setup by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/agent/{agentId}/setup/{setupId}","href":"/api-reference/agent/get-a-setup-by-id"},{"title":"Guide a running setup","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/agent/{agentId}/setup/{setupId}/guidance","href":"/api-reference/agent/guide-a-running-setup"},{"title":"Answer a setup's question","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/agent/{agentId}/setup/{setupId}/answer","href":"/api-reference/agent/answer-a-setups-question"},{"title":"Cancel a running setup","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/agent/{agentId}/setup/{setupId}/cancel","href":"/api-reference/agent/cancel-a-running-setup"},{"title":"List an agent's versions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/agent/{agentId}/versions","href":"/api-reference/agent/list-an-agents-versions"},{"title":"Get an agent version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/agent/{agentId}/versions/{versionId}","href":"/api-reference/agent/get-an-agent-version"},{"title":"Roll an agent back to a version","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/agent/{agentId}/versions/{versionId}/rollback","href":"/api-reference/agent/roll-an-agent-back-to-a-version"},{"title":"Start a conversation with an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/agent/{agentId}/conversations","href":"/api-reference/agent/start-a-conversation-with-an-agent"},{"title":"Get an agent's draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/agent/{agentId}/draft","href":"/api-reference/agent/get-an-agents-draft"},{"title":"Edit the draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/agent/{agentId}/draft","href":"/api-reference/agent/edit-the-draft"},{"title":"Start a draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/agent/{agentId}/draft","href":"/api-reference/agent/start-a-draft"},{"title":"Discard the draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/agent/{agentId}/draft","href":"/api-reference/agent/discard-the-draft"},{"title":"Publish the draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/agent/{agentId}/draft/publish","href":"/api-reference/agent/publish-the-draft"},{"title":"List agents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/agent","href":"/api-reference/agent/list-agents"},{"title":"Create a new agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/agent","href":"/api-reference/agent/create-a-new-agent"},{"title":"Get agent by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/agent/{agentId}","href":"/api-reference/agent/get-agent-by-id"},{"title":"Update an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/agent/{agentId}","href":"/api-reference/agent/update-an-agent"},{"title":"Delete an agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/agent/{agentId}","href":"/api-reference/agent/delete-an-agent"},{"title":"Build a Roark-hosted agent","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/agent/build","href":"/api-reference/agent/build-a-roark-hosted-agent"}]},{"group":"Tool","pages":[{"title":"List tools","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/tool","href":"/api-reference/tool/list-tools"},{"title":"Create a tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/tool","href":"/api-reference/tool/create-a-tool"},{"title":"Get a tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/tool/{toolId}","href":"/api-reference/tool/get-a-tool"},{"title":"Update a tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/tool/{toolId}","href":"/api-reference/tool/update-a-tool"},{"title":"Delete a tool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/tool/{toolId}","href":"/api-reference/tool/delete-a-tool"}]},{"group":"Phone Number","pages":[{"title":"List phone numbers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/phone-number","href":"/api-reference/phone-number/list-phone-numbers"},{"title":"Buy a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/phone-number","href":"/api-reference/phone-number/buy-a-phone-number"},{"title":"Search available phone numbers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/phone-number/available","href":"/api-reference/phone-number/search-available-phone-numbers"},{"title":"Get the phone number allowance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/phone-number/allowance","href":"/api-reference/phone-number/get-the-phone-number-allowance"},{"title":"Update a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/phone-number/{phoneNumberId}","href":"/api-reference/phone-number/update-a-phone-number"},{"title":"Release a phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/phone-number/{phoneNumberId}","href":"/api-reference/phone-number/release-a-phone-number"}]},{"group":"Call","pages":[{"title":"List calls","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/call","href":"/api-reference/call/list-calls"},{"title":"Create a call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/call","href":"/api-reference/call/create-a-call"},{"title":"Get a call by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/call/{callId}","href":"/api-reference/call/get-a-call-by-id"},{"title":"Delete a call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/call/{callId}","href":"/api-reference/call/delete-a-call"},{"title":"Delete calls in batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/call/batch-delete","href":"/api-reference/call/delete-calls-in-batch"},{"title":"List call sentiment runs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/call/{callId}/sentiment-run","href":"/api-reference/call/list-call-sentiment-runs"},{"title":"List call metrics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/call/{callId}/metrics","href":"/api-reference/call/list-call-metrics"},{"title":"Get call transcript","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/call/{callId}/transcript","href":"/api-reference/call/get-call-transcript"},{"title":"Append tool invocations to a call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/call/{callId}/tool-invocations","href":"/api-reference/call/append-tool-invocations-to-a-call"},{"title":"Update the properties of a call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json patch /v1/call/{callId}/properties","href":"/api-reference/call/update-the-properties-of-a-call"},{"title":"Get call cost","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/call/{callId}/cost","href":"/api-reference/call/get-call-cost"}]},{"group":"Conversation","pages":[{"title":"Get a conversation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/conversation/{conversationId}","href":"/api-reference/conversation/get-a-conversation"},{"title":"List conversations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/conversation","href":"/api-reference/conversation/list-conversations"}]},{"group":"Chat","pages":[{"title":"List chats","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/chat","href":"/api-reference/chat/list-chats"},{"title":"Create a chat","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/chat","href":"/api-reference/chat/create-a-chat"},{"title":"Get a chat by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/chat/{id}","href":"/api-reference/chat/get-a-chat-by-id"},{"title":"Get chat transcript","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/chat/{id}/transcript","href":"/api-reference/chat/get-chat-transcript"},{"title":"List chat metrics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/chat/{id}/metrics","href":"/api-reference/chat/list-chat-metrics"}]},{"group":"Metric","pages":[{"title":"List metric definitions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/metric/definitions","href":"/api-reference/metric/list-metric-definitions"},{"title":"Create custom metric definition","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/metric/definitions","href":"/api-reference/metric/create-custom-metric-definition"},{"title":"Get a metric definition","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/metric/definitions/{idOrSlug}","href":"/api-reference/metric/get-a-metric-definition"},{"title":"Update a metric definition","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/metric/definitions/{idOrSlug}","href":"/api-reference/metric/update-a-metric-definition"},{"title":"Delete a metric definition","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/metric/definitions/{idOrSlug}","href":"/api-reference/metric/delete-a-metric-definition"},{"title":"Create a threshold on a metric","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/metric/definitions/{idOrSlug}/thresholds","href":"/api-reference/metric/create-a-threshold-on-a-metric"},{"title":"List a metric’s variants","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/metric/definitions/{idOrSlug}/variants","href":"/api-reference/metric/list-a-metric’s-variants"},{"title":"Create a metric variant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/metric/definitions/{idOrSlug}/variants","href":"/api-reference/metric/create-a-metric-variant"},{"title":"Get a metric variant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/metric/definitions/{idOrSlug}/variants/{variantId}","href":"/api-reference/metric/get-a-metric-variant"},{"title":"Update a metric variant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/metric/definitions/{idOrSlug}/variants/{variantId}","href":"/api-reference/metric/update-a-metric-variant"},{"title":"Delete a metric variant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/metric/definitions/{idOrSlug}/variants/{variantId}","href":"/api-reference/metric/delete-a-metric-variant"},{"title":"Http request metric","version":null,"deprecated":null,"openapi":"/api-reference/openapi.documented.json webhook HttpRequestMetric","href":"/api-reference/metric/http-request-metric"}]},{"group":"Metric Policy","pages":[{"title":"List metric policies","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/metric/policies","href":"/api-reference/metric-policy/list-metric-policies"},{"title":"Create a metric policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/metric/policies","href":"/api-reference/metric-policy/create-a-metric-policy"},{"title":"Get metric policy by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/metric/policies/{policyId}","href":"/api-reference/metric-policy/get-metric-policy-by-id"},{"title":"Update a metric policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/metric/policies/{policyId}","href":"/api-reference/metric-policy/update-a-metric-policy"},{"title":"Delete a metric policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/metric/policies/{policyId}","href":"/api-reference/metric-policy/delete-a-metric-policy"}]},{"group":"Metric Collection Job","pages":[{"title":"List metric collection jobs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/metric/collection-jobs","href":"/api-reference/metric-collection-job/list-metric-collection-jobs"},{"title":"Create and run a metric collection job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/metric/collection-jobs","href":"/api-reference/metric-collection-job/create-and-run-a-metric-collection-job"},{"title":"Get metric collection job by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/metric/collection-jobs/{jobId}","href":"/api-reference/metric-collection-job/get-metric-collection-job-by-id"},{"title":"Retry a metric collection job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/metric/collection-jobs/{jobId}/retry","href":"/api-reference/metric-collection-job/retry-a-metric-collection-job"},{"title":"Cancel a metric collection job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/metric/collection-jobs/{jobId}/cancel","href":"/api-reference/metric-collection-job/cancel-a-metric-collection-job"},{"title":"Get metric values produced by a metric collection job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/metric/collection-jobs/{jobId}/metric-values","href":"/api-reference/metric-collection-job/get-metric-values-produced-by-a-metric-collection-job"}]},{"group":"Simulation Persona","pages":[{"title":"List personas","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/persona","href":"/api-reference/simulation-persona/list-personas"},{"title":"Create a new persona","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/persona","href":"/api-reference/simulation-persona/create-a-new-persona"},{"title":"Get persona by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/persona/{personaId}","href":"/api-reference/simulation-persona/get-persona-by-id"},{"title":"Update a persona","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/persona/{personaId}","href":"/api-reference/simulation-persona/update-a-persona"},{"title":"Delete a persona","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/persona/{personaId}","href":"/api-reference/simulation-persona/delete-a-persona"}]},{"group":"Customer","pages":[{"title":"List customers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/customer","href":"/api-reference/customer/list-customers"},{"title":"List customer fields","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/customer/fields","href":"/api-reference/customer/list-customer-fields"},{"title":"Create a customer field","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/customer/fields","href":"/api-reference/customer/create-a-customer-field"},{"title":"Delete a customer field","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/customer/fields/{key}","href":"/api-reference/customer/delete-a-customer-field"},{"title":"Update a customer field","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json patch /v1/customer/fields/{key}","href":"/api-reference/customer/update-a-customer-field"},{"title":"Get a customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/customer/{customerProfileId}","href":"/api-reference/customer/get-a-customer"},{"title":"Erase a customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/customer/{customerProfileId}","href":"/api-reference/customer/erase-a-customer"},{"title":"List a customer's conversations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/customer/{customerProfileId}/conversations","href":"/api-reference/customer/list-a-customers-conversations"},{"title":"Set a field on a customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/customer/{customerProfileId}/attributes/{key}","href":"/api-reference/customer/set-a-field-on-a-customer"},{"title":"Clear a field on a customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/customer/{customerProfileId}/attributes/{key}","href":"/api-reference/customer/clear-a-field-on-a-customer"},{"title":"Unlock a field on a customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/customer/{customerProfileId}/attributes/{key}/unlock","href":"/api-reference/customer/unlock-a-field-on-a-customer"},{"title":"Update the notes on a customer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/customer/{customerProfileId}/notes","href":"/api-reference/customer/update-the-notes-on-a-customer"}]},{"group":"Simulation","pages":[{"title":"Run a simulation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/simulation/run","href":"/api-reference/simulation/run-a-simulation"},{"title":"List run groups","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/run-group","href":"/api-reference/simulation/list-run-groups"},{"title":"Create a run group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/simulation/run-group","href":"/api-reference/simulation/create-a-run-group"},{"title":"Get a run group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/run-group/{groupId}","href":"/api-reference/simulation/get-a-run-group"},{"title":"Delete a run group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/simulation/run-group/{groupId}","href":"/api-reference/simulation/delete-a-run-group"},{"title":"Regenerate a run group report","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/simulation/run-group/{groupId}/report","href":"/api-reference/simulation/regenerate-a-run-group-report"},{"title":"List simulation groups","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/group","href":"/api-reference/simulation/list-simulation-groups"},{"title":"Create a simulation group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/simulation/group","href":"/api-reference/simulation/create-a-simulation-group"},{"title":"Get a simulation group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/group/{groupId}","href":"/api-reference/simulation/get-a-simulation-group"},{"title":"Update a simulation group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/simulation/group/{groupId}","href":"/api-reference/simulation/update-a-simulation-group"},{"title":"Delete a simulation group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/simulation/group/{groupId}","href":"/api-reference/simulation/delete-a-simulation-group"},{"title":"Run a simulation group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/simulation/group/{groupId}/run","href":"/api-reference/simulation/run-a-simulation-group"},{"title":"Mock a tool call during a test call","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/simulation/tool-mock","href":"/api-reference/simulation/mock-a-tool-call-during-a-test-call"},{"title":"List tool fixtures","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/tool-fixture","href":"/api-reference/simulation/list-tool-fixtures"},{"title":"Set a tool fixture","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/simulation/tool-fixture","href":"/api-reference/simulation/set-a-tool-fixture"},{"title":"Update a tool fixture","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/simulation/tool-fixture/{fixtureId}","href":"/api-reference/simulation/update-a-tool-fixture"},{"title":"Delete a tool fixture","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/simulation/tool-fixture/{fixtureId}","href":"/api-reference/simulation/delete-a-tool-fixture"}]},{"group":"Simulation Environment","pages":[{"title":"List environments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/environment","href":"/api-reference/simulation-environment/list-environments"},{"title":"Create an environment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/simulation/environment","href":"/api-reference/simulation-environment/create-an-environment"},{"title":"Get environment by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/environment/{environmentId}","href":"/api-reference/simulation-environment/get-environment-by-id"},{"title":"Update an environment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/simulation/environment/{environmentId}","href":"/api-reference/simulation-environment/update-an-environment"},{"title":"Delete an environment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/simulation/environment/{environmentId}","href":"/api-reference/simulation-environment/delete-an-environment"}]},{"group":"Simulation Run Plan","pages":[{"title":"List run plans","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/plan","href":"/api-reference/simulation-run-plan/list-run-plans"},{"title":"Create a run plan","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/simulation/plan","href":"/api-reference/simulation-run-plan/create-a-run-plan"},{"title":"Get run plan by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/plan/{planId}","href":"/api-reference/simulation-run-plan/get-run-plan-by-id"},{"title":"Update a run plan","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/simulation/plan/{planId}","href":"/api-reference/simulation-run-plan/update-a-run-plan"},{"title":"Delete a run plan","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/simulation/plan/{planId}","href":"/api-reference/simulation-run-plan/delete-a-run-plan"}]},{"group":"Simulation Run Plan Job","pages":[{"title":"List simulation plan jobs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/plan/jobs","href":"/api-reference/simulation-run-plan-job/list-simulation-plan-jobs"},{"title":"Get simulation plan job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/plan/job/{jobId}","href":"/api-reference/simulation-run-plan-job/get-simulation-plan-job"},{"title":"Delete a simulation plan job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/simulation/plan/job/{jobId}","href":"/api-reference/simulation-run-plan-job/delete-a-simulation-plan-job"},{"title":"Cancel a simulation plan job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/simulation/plan/job/{jobId}/cancel","href":"/api-reference/simulation-run-plan-job/cancel-a-simulation-plan-job"},{"title":"Run a simulation plan","description":"Deprecated: use POST /v1/simulation/run, which does the same thing and can also take the\nplan configuration inline, so a one-off run does not have to create a plan first.\n\nCreates and executes a job for an existing simulation run plan. Optionally provide runtime\nvariables to override plan-defined variables.","deprecated":true,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/simulation/plan/{planId}/job","href":"/api-reference/simulation-run-plan-job/run-a-simulation-plan"},{"title":"Get simulation run results","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/plan/job/{jobId}/results","href":"/api-reference/simulation-run-plan-job/get-simulation-run-results"},{"title":"Generate simulation run debrief","description":"Request the written debrief for a settled run: executive summary, failure themes and recommendations.\nRuns with graded calls get one automatically, so this is for regenerating one (`regenerate: true`)\nor retrying one that failed.\n\nReturns immediately. Generation takes a few minutes: poll GET\n/v1/simulation/plan/job/{jobId}/results until `debrief.status` is READY or FAILED.\nWithout `regenerate`, a debrief that is ready or already being written is returned as-is.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/simulation/plan/job/{jobId}/debrief","href":"/api-reference/simulation-run-plan-job/generate-simulation-run-debrief"},{"title":"Get simulation run cost","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/plan/job/{jobId}/cost","href":"/api-reference/simulation-run-plan-job/get-simulation-run-cost"}]},{"group":"Simulation Template","pages":[{"title":"List simulation templates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/template","href":"/api-reference/simulation-template/list-simulation-templates"}]},{"group":"Simulation Audio Clip","pages":[{"title":"List audio clips","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/audio-clip","href":"/api-reference/simulation-audio-clip/list-audio-clips"}]},{"group":"Simulation Job","pages":[{"title":"Lookup by phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/job/lookup","href":"/api-reference/simulation-job/lookup-by-phone-number"},{"title":"Get simulation by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/job/{jobId}","href":"/api-reference/simulation-job/get-simulation-by-id"},{"title":"List mocked tool invocations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/simulation/job/{jobId}/tool-mock","href":"/api-reference/simulation-job/list-mocked-tool-invocations"}]},{"group":"Customer Flow","pages":[{"title":"List customer flows","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/customer-flow","href":"/api-reference/customer-flow/list-customer-flows"},{"title":"Create a customer flow","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/customer-flow","href":"/api-reference/customer-flow/create-a-customer-flow"},{"title":"Get customer flow by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/customer-flow/{flowId}","href":"/api-reference/customer-flow/get-customer-flow-by-id"},{"title":"Update a customer flow","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/customer-flow/{flowId}","href":"/api-reference/customer-flow/update-a-customer-flow"},{"title":"Delete a customer flow","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/customer-flow/{flowId}","href":"/api-reference/customer-flow/delete-a-customer-flow"},{"title":"Replace a scripted flow's steps","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/customer-flow/{flowId}/graph","href":"/api-reference/customer-flow/replace-a-scripted-flows-steps"},{"title":"Update a flow's happy path","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/customer-flow/{flowId}/happy-path","href":"/api-reference/customer-flow/update-a-flows-happy-path"},{"title":"Duplicate a customer flow","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/customer-flow/{flowId}/duplicate","href":"/api-reference/customer-flow/duplicate-a-customer-flow"}]},{"group":"Customer Flow Edge Case","pages":[{"title":"Add an edge case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/customer-flow/{flowId}/edge-case","href":"/api-reference/customer-flow-edge-case/add-an-edge-case"},{"title":"Update an edge case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/customer-flow/{flowId}/edge-case/{edgeCaseId}","href":"/api-reference/customer-flow-edge-case/update-an-edge-case"},{"title":"Remove an edge case","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/customer-flow/{flowId}/edge-case/{edgeCaseId}","href":"/api-reference/customer-flow-edge-case/remove-an-edge-case"},{"title":"Promote an edge case to the happy path","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/customer-flow/{flowId}/edge-case/{edgeCaseId}/promote","href":"/api-reference/customer-flow-edge-case/promote-an-edge-case-to-the-happy-path"}]},{"group":"HTTP Request Definition","pages":[{"title":"List HTTP request definitions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/http-request-definition","href":"/api-reference/http-request-definition/list-http-request-definitions"},{"title":"Create HTTP request definition","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/http-request-definition","href":"/api-reference/http-request-definition/create-http-request-definition"},{"title":"Get HTTP request definition by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/http-request-definition/{definitionId}","href":"/api-reference/http-request-definition/get-http-request-definition-by-id"},{"title":"Update HTTP request definition","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/http-request-definition/{definitionId}","href":"/api-reference/http-request-definition/update-http-request-definition"}]},{"group":"Webhook","pages":[{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/webhook","href":"/api-reference/webhook/list-webhooks"},{"title":"Create webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/webhook","href":"/api-reference/webhook/create-webhook"},{"title":"Get webhook by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/webhook/{webhookId}","href":"/api-reference/webhook/get-webhook-by-id"},{"title":"Delete webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/webhook/{webhookId}","href":"/api-reference/webhook/delete-webhook"},{"title":"Event","version":null,"deprecated":null,"openapi":"/api-reference/openapi.documented.json webhook Webhook","href":"/api-reference/webhook/event"}]},{"group":"Issue","pages":[{"title":"List issues","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/issue","href":"/api-reference/issue/list-issues"},{"title":"Create issue","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/issue","href":"/api-reference/issue/create-issue"},{"title":"Get issue by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/issue/{issueId}","href":"/api-reference/issue/get-issue-by-id"}]},{"group":"Autoimprove","pages":[{"title":"List Autoimprove jobs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/autoimprove/job","href":"/api-reference/autoimprove/list-autoimprove-jobs"},{"title":"Start an Autoimprove job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/autoimprove/job","href":"/api-reference/autoimprove/start-an-autoimprove-job"},{"title":"Get an Autoimprove job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/autoimprove/job/{jobId}","href":"/api-reference/autoimprove/get-an-autoimprove-job"},{"title":"Send guidance to a running job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/autoimprove/job/{jobId}/guidance","href":"/api-reference/autoimprove/send-guidance-to-a-running-job"},{"title":"Answer Roark's question","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/autoimprove/job/{jobId}/answer","href":"/api-reference/autoimprove/answer-roarks-question"},{"title":"Cancel a job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/autoimprove/job/{jobId}/cancel","href":"/api-reference/autoimprove/cancel-a-job"},{"title":"Promote a verified job to production","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/autoimprove/job/{jobId}/promote","href":"/api-reference/autoimprove/promote-a-verified-job-to-production"},{"title":"Dismiss a verified job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/autoimprove/job/{jobId}/dismiss","href":"/api-reference/autoimprove/dismiss-a-verified-job"}]},{"group":"Agent Config","pages":[{"title":"Resolve config for a session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/agent-config/{key}/resolve","href":"/api-reference/agent-config/resolve-config-for-a-session"},{"title":"List managed configs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/agent-config","href":"/api-reference/agent-config/list-managed-configs"},{"title":"Get a managed config","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/agent-config/{key}","href":"/api-reference/agent-config/get-a-managed-config"},{"title":"Write a config revision","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/agent-config/{key}","href":"/api-reference/agent-config/write-a-config-revision"},{"title":"Promote staging to production","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/agent-config/{key}/promote","href":"/api-reference/agent-config/promote-staging-to-production"},{"title":"Discard the staging revision","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/agent-config/{key}/staging","href":"/api-reference/agent-config/discard-the-staging-revision"}]},{"group":"Knowledge Base","pages":[{"title":"List knowledge bases","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/knowledge-base","href":"/api-reference/knowledge-base/list-knowledge-bases"},{"title":"Create a knowledge base","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/knowledge-base","href":"/api-reference/knowledge-base/create-a-knowledge-base"},{"title":"Get a knowledge base by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/knowledge-base/{id}","href":"/api-reference/knowledge-base/get-a-knowledge-base-by-id"}]},{"group":"Calendar Integration","pages":[{"title":"List calendar connections","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/integrations/calendar","href":"/api-reference/calendar-integration/list-calendar-connections"},{"title":"Connect a calendar account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/integrations/calendar","href":"/api-reference/calendar-integration/connect-a-calendar-account"},{"title":"Get a calendar connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/integrations/calendar/{connectionId}","href":"/api-reference/calendar-integration/get-a-calendar-connection"},{"title":"Delete a calendar connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/integrations/calendar/{connectionId}","href":"/api-reference/calendar-integration/delete-a-calendar-connection"},{"title":"Update a calendar connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json patch /v1/integrations/calendar/{connectionId}","href":"/api-reference/calendar-integration/update-a-calendar-connection"},{"title":"List what can be booked on a calendar","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/integrations/calendar/{connectionId}/targets","href":"/api-reference/calendar-integration/list-what-can-be-booked-on-a-calendar"},{"title":"Create a bookable target","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/integrations/calendar/{connectionId}/targets","href":"/api-reference/calendar-integration/create-a-bookable-target"},{"title":"Read one bookable target","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/integrations/calendar/{connectionId}/targets/{targetId}","href":"/api-reference/calendar-integration/read-one-bookable-target"},{"title":"Update a bookable target","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/integrations/calendar/{connectionId}/targets/{targetId}","href":"/api-reference/calendar-integration/update-a-bookable-target"},{"title":"Delete a bookable target","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/integrations/calendar/{connectionId}/targets/{targetId}","href":"/api-reference/calendar-integration/delete-a-bookable-target"},{"title":"List the calendars a bookable target can be created on","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/integrations/calendar/{connectionId}/calendars","href":"/api-reference/calendar-integration/list-the-calendars-a-bookable-target-can-be-created-on"},{"title":"Start connecting a Google Calendar","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/integrations/calendar/google/authorize-url","href":"/api-reference/calendar-integration/start-connecting-a-google-calendar"},{"title":"Check a calendar connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/integrations/calendar/{connectionId}/check","href":"/api-reference/calendar-integration/check-a-calendar-connection"}]},{"group":"MCP Server Integration","pages":[{"title":"List MCP servers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/integrations/mcp-server","href":"/api-reference/mcp-server-integration/list-mcp-servers"},{"title":"Connect an MCP server","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/integrations/mcp-server","href":"/api-reference/mcp-server-integration/connect-an-mcp-server"},{"title":"Discover an MCP server","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/integrations/mcp-server/discover","href":"/api-reference/mcp-server-integration/discover-an-mcp-server"},{"title":"Get an MCP server","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/integrations/mcp-server/{serverId}","href":"/api-reference/mcp-server-integration/get-an-mcp-server"},{"title":"Disconnect an MCP server","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/integrations/mcp-server/{serverId}","href":"/api-reference/mcp-server-integration/disconnect-an-mcp-server"},{"title":"Update an MCP server","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json patch /v1/integrations/mcp-server/{serverId}","href":"/api-reference/mcp-server-integration/update-an-mcp-server"},{"title":"Refresh an MCP server","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/integrations/mcp-server/{serverId}/refresh","href":"/api-reference/mcp-server-integration/refresh-an-mcp-server"}]},{"group":"Analytics","pages":[{"title":"Get the analytics schema","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/analytics/schema","href":"/api-reference/analytics/get-the-analytics-schema"},{"title":"Run an analytics query","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/analytics/query","href":"/api-reference/analytics/run-an-analytics-query"}]},{"group":"Dashboard","pages":[{"title":"List dashboards","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/dashboard","href":"/api-reference/dashboard/list-dashboards"},{"title":"Create a dashboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/dashboard","href":"/api-reference/dashboard/create-a-dashboard"},{"title":"Get a dashboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/dashboard/{dashboardId}","href":"/api-reference/dashboard/get-a-dashboard"},{"title":"Update a dashboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/dashboard/{dashboardId}","href":"/api-reference/dashboard/update-a-dashboard"},{"title":"Delete a dashboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/dashboard/{dashboardId}","href":"/api-reference/dashboard/delete-a-dashboard"},{"title":"Get dashboard data","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/dashboard/{dashboardId}/data","href":"/api-reference/dashboard/get-dashboard-data"},{"title":"Add a widget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/dashboard/{dashboardId}/widget","href":"/api-reference/dashboard/add-a-widget"},{"title":"Replace a widget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/dashboard/{dashboardId}/widget/{widgetId}","href":"/api-reference/dashboard/replace-a-widget"},{"title":"Remove a widget","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/dashboard/{dashboardId}/widget/{widgetId}","href":"/api-reference/dashboard/remove-a-widget"},{"title":"Get widget data","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/dashboard/{dashboardId}/widget/{widgetId}/data","href":"/api-reference/dashboard/get-widget-data"}]},{"group":"Live Report","pages":[{"title":"List live reports","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/live-report","href":"/api-reference/live-report/list-live-reports"},{"title":"Create a live report","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/live-report","href":"/api-reference/live-report/create-a-live-report"},{"title":"Get a live report","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/live-report/{reportId}","href":"/api-reference/live-report/get-a-live-report"},{"title":"Delete a live report","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/live-report/{reportId}","href":"/api-reference/live-report/delete-a-live-report"},{"title":"Update a live report","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json patch /v1/live-report/{reportId}","href":"/api-reference/live-report/update-a-live-report"},{"title":"Generate a live report document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/live-report/{reportId}/generate","href":"/api-reference/live-report/generate-a-live-report-document"},{"title":"List report documents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/live-report/{reportId}/document","href":"/api-reference/live-report/list-report-documents"},{"title":"Get a report document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/live-report/{reportId}/document/{documentId}","href":"/api-reference/live-report/get-a-report-document"}]},{"group":"Config","pages":[{"title":"Diff a config bundle","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/config/diff","href":"/api-reference/config/diff-a-config-bundle"},{"title":"Apply a config bundle","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/config/apply","href":"/api-reference/config/apply-a-config-bundle"}]},{"group":"Organization Project","pages":[{"title":"List projects","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/org/project","href":"/api-reference/organization-project/list-projects"},{"title":"Create a project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/org/project","href":"/api-reference/organization-project/create-a-project"},{"title":"Get a project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/org/project/{projectId}","href":"/api-reference/organization-project/get-a-project"},{"title":"Update a project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/org/project/{projectId}","href":"/api-reference/organization-project/update-a-project"},{"title":"Delete a project","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/org/project/{projectId}","href":"/api-reference/organization-project/delete-a-project"}]},{"group":"Organization Project Member","pages":[{"title":"List project members","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/org/project/{projectId}/member","href":"/api-reference/organization-project-member/list-project-members"},{"title":"Invite a member","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/org/project/{projectId}/member","href":"/api-reference/organization-project-member/invite-a-member"},{"title":"Update a member role","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json put /v1/org/project/{projectId}/member/{memberId}","href":"/api-reference/organization-project-member/update-a-member-role"},{"title":"Remove a member","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/org/project/{projectId}/member/{memberId}","href":"/api-reference/organization-project-member/remove-a-member"}]},{"group":"Organization Project API Key","pages":[{"title":"List project API keys","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/org/project/{projectId}/api-key","href":"/api-reference/organization-project-api-key/list-project-api-keys"},{"title":"Generate a project API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json post /v1/org/project/{projectId}/api-key","href":"/api-reference/organization-project-api-key/generate-a-project-api-key"},{"title":"Revoke a project API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json delete /v1/org/project/{projectId}/api-key/{keyId}","href":"/api-reference/organization-project-api-key/revoke-a-project-api-key"}]},{"group":"Usage","pages":[{"title":"Get usage \u0026 cost","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/usage","href":"/api-reference/usage/get-usage-\u0026-cost"}]},{"group":"Benchmark","pages":[{"title":"List benchmark suites","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/benchmark/suite","href":"/api-reference/benchmark/list-benchmark-suites"},{"title":"List benchmark metrics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/benchmark/metric","href":"/api-reference/benchmark/list-benchmark-metrics"},{"title":"Get the benchmark leaderboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/benchmark/leaderboard","href":"/api-reference/benchmark/get-the-benchmark-leaderboard"},{"title":"List score samples for a target","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/benchmark/target/{targetKey}/score-sample","href":"/api-reference/benchmark/list-score-samples-for-a-target"},{"title":"List a target’s published generations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/benchmark/target/{targetKey}/history","href":"/api-reference/benchmark/list-a-target’s-published-generations"},{"title":"Get a benchmark target","deprecated":null,"version":null,"openapi":"/api-reference/openapi.documented.json get /v1/benchmark/target/{targetKey}","href":"/api-reference/benchmark/get-a-benchmark-target"}]}]},{"tab":"CLI Reference","icon":"square-terminal","pages":[{"title":"CLI Reference","href":"/cli-reference/overview"}]},{"tab":"Changelog","icon":"history","href":"https://changelog.roark.ai"}]},"basePath":"","title":"Get simulation run results - Roark Docs","buildId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","deploymentId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-NXj-Rqjv.js","utils-m0thOP-_.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D13EKcfm.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema--XTdfsEb.js","snippetPresets-D3s4lmAH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-ChURybxL.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DL8CiXq2.js","shallow-DI2-YB2E.js","getApiPlaygroundDisplay-DxbW7b_y.js","CodeSnippet-CiNYS0pP.js","CodeSnippets-BT87bThu.js","Page-DSpdRuhM.js","getPastedJson-F_g_IrFQ.js","icon-CCIG5BAs.js","MethodPill-DY3E0jwx.js","DuplicateIcon-BN88xnEg.js","createIcon-VCCc5HO5.js","DynamicMarkdown-CaSwclgK.js","SectionHeading-DXV8nWhc.js","axios-vUo_bRtp.js","Markdown-CV32Re6G.js","clsx-5ydLOnhV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-pFDdfjRe.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BUGO5bPJ.js"]}