Creates a simulation test on one of your agents: a scenario describing the simulated user, one or more success criteria judged independently, a maximum number of turns and the values of the agent variables. Use toolMocking to keep the agent’s tools and sub-agents from triggering real actions on your systems when the test runs.
Messages the conversation starts from, in chronological order. Empty starts from scratch. When the last message is from the assistant the simulated user answers it; when it is from the user the agent answers it first.
Which tools and sub-agents of the agent are mocked (not really executed) during a simulation. Every mock is opt-in: nothing is mocked unless asked for here, and mockAllTools implies neither mockAllSubAgents nor mockCallTransfer. The knowledge base retrieval always runs for real.
A test of an agent. Depending on kind, either the simulation fields (scenario, criteria, maxTurns, variables) or the classification fields (conversationContext, tagExpected) are set.
Which tools and sub-agents of the agent are mocked (not really executed) during a simulation. Every mock is opt-in: nothing is mocked unless asked for here, and mockAllTools implies neither mockAllSubAgents nor mockCallTransfer. The knowledge base retrieval always runs for real.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Starleads api docs","colors":{"primary":"#FF5B22","light":"#fe8c74","dark":"#FF5B22"},"favicon":"https://mintcdn.com/locuta/tZlUd6iyAfQwa0YL/logo/favicon.svg?fit=max\u0026auto=format\u0026n=tZlUd6iyAfQwa0YL\u0026q=85\u0026s=967e53c47421a4ed3c5adccac9a32e37","logo":{"light":"https://mintcdn.com/locuta/nbODknSPetkh4479/logo/logo-light.png?fit=max\u0026auto=format\u0026n=nbODknSPetkh4479\u0026q=85\u0026s=0c3dc57cc8eb4727a18bea5b413cfc61","dark":"https://mintcdn.com/locuta/nbODknSPetkh4479/logo/logo-dark.png?fit=max\u0026auto=format\u0026n=nbODknSPetkh4479\u0026q=85\u0026s=b9a5ae7998f0db400ea8722f90609ed5"},"api":{"openapi":"api-reference/openapi.json","mdx":{"server":"https://api.starleads.co","auth":{"method":"key","name":"X-Api-Key"}}},"navbar":{"primary":{"type":"button","label":"Log in","href":"https://app.starleads.co"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/starleads-co","website":"https://starleads.co"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"locuta","hasAudioNarration":false,"actualSubdomain":"locuta","customDomains":["docs.starleads.co"],"gitSource":{"type":"github","owner":"locuta","repo":"starleads-public-gateway","deployBranch":"mintifly","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ab11ae5ebb61b9bf7312a43","collectionId":"4cf50806-03bb-46b2-9027-a2d8bbba048f","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ab11ae5ebb61b9bf7312a43"},"entitlements":{},"buildId":"6ab11ae5ebb61b9bf7312a43","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"default","tag":"API Reference","count":71},{"language":"default","tag":"Agents","count":10},{"language":"default","tag":"Agent Tests","count":8},{"language":"default","tag":"Documentation","count":8},{"language":"default","tag":"Campaign Items","count":7},{"language":"default","tag":"Knowledge Base — Documents","count":7},{"language":"default","tag":"Agent Test Folders","count":5},{"language":"default","tag":"Knowledge Base — Datasets","count":5},{"language":"default","tag":"Knowledge Base — Chats","count":5},{"language":"default","tag":"Knowledge Base — Knowledge Graph","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"editor-v7-file-tree","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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/agenttest/create-a-simulation-test","slug":"/api-reference/agenttest/create-a-simulation-test","pageMetadata":{"title":"Create a simulation test","openapi":"POST /AgentTest/simulation","description":"Creates a simulation test on one of your agents: a scenario describing the simulated user, one or more success criteria judged independently, a maximum number of turns and the values of the agent variables. Use `toolMocking` to keep the agent's tools and sub-agents from triggering real actions on your systems when the test runs.","href":"/api-reference/agenttest/create-a-simulation-test"},"description":{"compiledSource":"\"use strict\";\nconst {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(_components.p, {\n children: [\"Creates a simulation test on one of your agents: a scenario describing the simulated user, one or more success criteria judged independently, a maximum number of turns and the values of the agent variables. Use \", _jsx(_components.code, {\n children: \"toolMocking\"\n }), \" to keep the agent’s tools and sub-agents from triggering real actions on your systems when the test runs.\"]\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":{"config":{},"pageMetadata":{"title":"Create a simulation test","openapi":"POST /AgentTest/simulation","description":"Creates a simulation test on one of your agents: a scenario describing the simulated user, one or more success criteria judged independently, a maximum number of turns and the values of the agent variables. Use `toolMocking` to keep the agent's tools and sub-agents from triggering real actions on your systems when the test runs.","href":"/api-reference/agenttest/create-a-simulation-test"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["AgentTest"],"summary":"Create a simulation test","description":"Creates a simulation test on one of your agents: a scenario describing the simulated user, one or more success criteria judged independently, a maximum number of turns and the values of the agent variables. Use `toolMocking` to keep the agent's tools and sub-agents from triggering real actions on your systems when the test runs.","operationId":"CreateSimulationTest","parameters":["c368a319-59d4-4eef-9dc0-2f4fc7bd444c"],"requestBody":"e525bdd4-2984-4b31-93c5-b4deaf2da675","responses":{"200":"04f24587-bc85-486a-882d-426a984cb922","401":"40cecc44-4a68-4022-a9a9-4fdb5680242c","404":"d96bc7a7-a471-4874-b06f-ff43a79f4755","422":"8140e2cb-1c67-48f8-806f-cc4f526e0994"},"method":"post","type":"path","servers":[],"security":[],"path":"/AgentTest/simulation","baseUrlOptions":["https://api.starleads.co"],"title":"Create a simulation test","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c368a319-59d4-4eef-9dc0-2f4fc7bd444c":{"name":"X-Api-Key","in":"header","description":"Api key to pass as a ```X-Api-Key``` request header.","required":true,"schema":{"type":"string","isRequired":true,"description":"Api key to pass as a ```X-Api-Key``` request header.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"required":["agentId","criteria","name","scenario"],"type":"object","properties":{"agentId":{"minLength":1,"type":"string","description":"Agent owning the test","isRequired":true,"uniqueKey":"agentId","typeLabel":"string"},"name":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"scenario":{"minLength":1,"type":"string","description":"Persona and intent of the simulated user","isRequired":true,"uniqueKey":"scenario","typeLabel":"string"},"criteria":{"type":"array","items":{"type":"string","uniqueKey":"criteria.items.[INDEX]","typeLabel":"string"},"description":"Success criteria in plain text, each judged independently (at least one)","isRequired":true,"uniqueKey":"criteria","typeLabel":"string[]"},"maxTurns":{"type":"integer","description":"Maximum number of user/agent exchanges (1-30)","format":"int32","uniqueKey":"maxTurns","typeLabel":"integer\u003cint32>"},"conversationContext":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"role":{"oneOf":[{"type":"string","description":"\"user\" or \"assistant\"","uniqueKey":"conversationContext.oneOf.0.items.[INDEX].role.oneOf.0","typeLabel":"string"},{"type":"null","description":"\"user\" or \"assistant\"","uniqueKey":"conversationContext.oneOf.0.items.[INDEX].role.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationContext.oneOf.0.items.[INDEX].role","typeLabel":"string | null"},"text":{"oneOf":[{"type":"string","uniqueKey":"conversationContext.oneOf.0.items.[INDEX].text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"conversationContext.oneOf.0.items.[INDEX].text.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationContext.oneOf.0.items.[INDEX].text","typeLabel":"string | null"},"timestamp":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"conversationContext.oneOf.0.items.[INDEX].timestamp.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"conversationContext.oneOf.0.items.[INDEX].timestamp.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationContext.oneOf.0.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":false,"description":"One message of a conversation","uniqueKey":"conversationContext.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Messages the conversation starts from, in chronological order. Empty starts from scratch. When the last message is from the assistant the simulated user answers it; when it is from the user the agent answers it first.","uniqueKey":"conversationContext.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"role":{"oneOf":[{"type":"string","description":"\"user\" or \"assistant\""},{"type":"null","description":"\"user\" or \"assistant\""}]},"text":{"oneOf":[{"type":"string"},{"type":"null"}]},"timestamp":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]}},"additionalProperties":false,"description":"One message of a conversation"},"description":"Messages the conversation starts from, in chronological order. Empty starts from scratch. When the last message is from the assistant the simulated user answers it; when it is from the user the agent answers it first.","uniqueKey":"conversationContext.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationContext","typeLabel":"object[] | null"},"variables":{"oneOf":[{"type":"object","additionalProperties":{"type":"string","uniqueKey":"variables.oneOf.0.additionalProperties","typeLabel":"string"},"description":"Values of the agent variables (name → value) used to render the prompt","uniqueKey":"variables.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"string","uniqueKey":"variables.oneOf.1.additionalProperties","typeLabel":"string"},"description":"Values of the agent variables (name → value) used to render the prompt","uniqueKey":"variables.oneOf.1","typeLabel":"null"}],"uniqueKey":"variables","typeLabel":"object | null"},"toolMocking":{"type":"object","properties":{"mockedTools":{"oneOf":[{"type":"array","items":{"required":["toolId"],"type":"object","properties":{"toolId":{"minLength":1,"type":"string","description":"ID of the tool to mock. It must be connected to the agent.","isRequired":true,"uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].toolId","typeLabel":"string"},"resultTemplate":{"oneOf":[{"type":"string","description":"Result handed back to the agent instead of the real one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded.","uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].resultTemplate.oneOf.0","typeLabel":"string"},{"type":"null","description":"Result handed back to the agent instead of the real one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded.","uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].resultTemplate.oneOf.1","typeLabel":"null"}],"uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].resultTemplate","typeLabel":"string | null"},"delaySeconds":{"maximum":60,"minimum":0,"type":"number","description":"Simulated execution time, in seconds (0 to 60). Default 0.","format":"double","uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].delaySeconds","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Tools to mock, targeted by their id (see the agent's connected tools). Each one returns its `resultTemplate` instead of being executed.","uniqueKey":"toolMocking.mockedTools.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"required":["toolId"],"type":"object","properties":{"toolId":{"minLength":1,"type":"string","description":"ID of the tool to mock. It must be connected to the agent."},"resultTemplate":{"oneOf":[{"type":"string","description":"Result handed back to the agent instead of the real one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded."},{"type":"null","description":"Result handed back to the agent instead of the real one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded."}]},"delaySeconds":{"maximum":60,"minimum":0,"type":"number","description":"Simulated execution time, in seconds (0 to 60). Default 0.","format":"double"}},"additionalProperties":false},"description":"Tools to mock, targeted by their id (see the agent's connected tools). Each one returns its `resultTemplate` instead of being executed.","uniqueKey":"toolMocking.mockedTools.oneOf.1","typeLabel":"null"}],"uniqueKey":"toolMocking.mockedTools","typeLabel":"object[] | null"},"mockAllTools":{"type":"boolean","description":"Mocks every tool connected to the agent. Tools listed in `mockedTools` keep their own template; the others return a default response telling the agent the call succeeded. Sub-agents are not tools: see `mockAllSubAgents`. Default false.","uniqueKey":"toolMocking.mockAllTools","typeLabel":"boolean"},"mockedSubAgents":{"oneOf":[{"type":"array","items":{"required":["subAgentId"],"type":"object","properties":{"subAgentId":{"minLength":1,"type":"string","description":"ID of the sub-agent to mock. It must be connected to the agent.","isRequired":true,"uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].subAgentId","typeLabel":"string"},"resultTemplate":{"oneOf":[{"type":"string","description":"Answer handed back to the agent instead of the sub-agent's one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded.","uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].resultTemplate.oneOf.0","typeLabel":"string"},{"type":"null","description":"Answer handed back to the agent instead of the sub-agent's one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded.","uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].resultTemplate.oneOf.1","typeLabel":"null"}],"uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].resultTemplate","typeLabel":"string | null"},"delaySeconds":{"maximum":60,"minimum":0,"type":"number","description":"Simulated execution time, in seconds (0 to 60). Default 0.","format":"double","uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].delaySeconds","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Sub-agents to mock, targeted by their id. Each one answers with its `resultTemplate` and its conversation is never opened. The tools of a sub-agent cannot be mocked individually.","uniqueKey":"toolMocking.mockedSubAgents.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"required":["subAgentId"],"type":"object","properties":{"subAgentId":{"minLength":1,"type":"string","description":"ID of the sub-agent to mock. It must be connected to the agent."},"resultTemplate":{"oneOf":[{"type":"string","description":"Answer handed back to the agent instead of the sub-agent's one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded."},{"type":"null","description":"Answer handed back to the agent instead of the sub-agent's one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded."}]},"delaySeconds":{"maximum":60,"minimum":0,"type":"number","description":"Simulated execution time, in seconds (0 to 60). Default 0.","format":"double"}},"additionalProperties":false},"description":"Sub-agents to mock, targeted by their id. Each one answers with its `resultTemplate` and its conversation is never opened. The tools of a sub-agent cannot be mocked individually.","uniqueKey":"toolMocking.mockedSubAgents.oneOf.1","typeLabel":"null"}],"uniqueKey":"toolMocking.mockedSubAgents","typeLabel":"object[] | null"},"mockAllSubAgents":{"type":"boolean","description":"Mocks every sub-agent connected to the agent. Sub-agents listed in `mockedSubAgents` keep their own template; the others return a default response telling the agent the call succeeded. Default false.","uniqueKey":"toolMocking.mockAllSubAgents","typeLabel":"boolean"},"mockCallTransfer":{"type":"boolean","description":"Mocks the call transfer, so the simulation never transfers to a human. Independent of `mockAllTools`: a phone agent with call transfer enabled places a real transfer unless this is true. Default false.","uniqueKey":"toolMocking.mockCallTransfer","typeLabel":"boolean"}},"additionalProperties":false,"description":"Which tools and sub-agents of the agent are mocked (not really executed) during a simulation. Every mock is opt-in: nothing is mocked unless asked for here, and `mockAllTools` implies neither `mockAllSubAgents` nor `mockCallTransfer`. The knowledge base retrieval always runs for real.","uniqueKey":"toolMocking","typeLabel":"object"},"folderId":{"oneOf":[{"type":"string","description":"Folder of the agent; null for the root","uniqueKey":"folderId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Folder of the agent; null for the root","uniqueKey":"folderId.oneOf.1","typeLabel":"null"}],"uniqueKey":"folderId","typeLabel":"string | null"}},"additionalProperties":false,"description":"Simulation test to create","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"agentId":"\u003cstring>","name":"\u003cstring>","scenario":"\u003cstring>","criteria":["\u003cstring>"],"maxTurns":123,"conversationContext":[{"role":"\u003cstring>","text":"\u003cstring>","timestamp":"2023-11-07T05:31:56Z"}],"variables":{},"toolMocking":{"mockedTools":[{"toolId":"\u003cstring>","resultTemplate":"\u003cstring>","delaySeconds":30}],"mockAllTools":true,"mockedSubAgents":[{"subAgentId":"\u003cstring>","resultTemplate":"\u003cstring>","delaySeconds":30}],"mockAllSubAgents":true,"mockCallTransfer":true},"folderId":"\u003cstring>"}}},"exampleType":"generated"},"text/json":{"schema":{"required":["agentId","criteria","name","scenario"],"type":"object","properties":{"agentId":{"minLength":1,"type":"string","description":"Agent owning the test","isRequired":true,"uniqueKey":"agentId","typeLabel":"string"},"name":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"scenario":{"minLength":1,"type":"string","description":"Persona and intent of the simulated user","isRequired":true,"uniqueKey":"scenario","typeLabel":"string"},"criteria":{"type":"array","items":{"type":"string","uniqueKey":"criteria.items.[INDEX]","typeLabel":"string"},"description":"Success criteria in plain text, each judged independently (at least one)","isRequired":true,"uniqueKey":"criteria","typeLabel":"string[]"},"maxTurns":{"type":"integer","description":"Maximum number of user/agent exchanges (1-30)","format":"int32","uniqueKey":"maxTurns","typeLabel":"integer\u003cint32>"},"conversationContext":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"role":{"oneOf":[{"type":"string","description":"\"user\" or \"assistant\"","uniqueKey":"conversationContext.oneOf.0.items.[INDEX].role.oneOf.0","typeLabel":"string"},{"type":"null","description":"\"user\" or \"assistant\"","uniqueKey":"conversationContext.oneOf.0.items.[INDEX].role.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationContext.oneOf.0.items.[INDEX].role","typeLabel":"string | null"},"text":{"oneOf":[{"type":"string","uniqueKey":"conversationContext.oneOf.0.items.[INDEX].text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"conversationContext.oneOf.0.items.[INDEX].text.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationContext.oneOf.0.items.[INDEX].text","typeLabel":"string | null"},"timestamp":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"conversationContext.oneOf.0.items.[INDEX].timestamp.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"conversationContext.oneOf.0.items.[INDEX].timestamp.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationContext.oneOf.0.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":false,"description":"One message of a conversation","uniqueKey":"conversationContext.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Messages the conversation starts from, in chronological order. Empty starts from scratch. When the last message is from the assistant the simulated user answers it; when it is from the user the agent answers it first.","uniqueKey":"conversationContext.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"role":{"oneOf":[{"type":"string","description":"\"user\" or \"assistant\""},{"type":"null","description":"\"user\" or \"assistant\""}]},"text":{"oneOf":[{"type":"string"},{"type":"null"}]},"timestamp":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]}},"additionalProperties":false,"description":"One message of a conversation"},"description":"Messages the conversation starts from, in chronological order. Empty starts from scratch. When the last message is from the assistant the simulated user answers it; when it is from the user the agent answers it first.","uniqueKey":"conversationContext.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationContext","typeLabel":"object[] | null"},"variables":{"oneOf":[{"type":"object","additionalProperties":{"type":"string","uniqueKey":"variables.oneOf.0.additionalProperties","typeLabel":"string"},"description":"Values of the agent variables (name → value) used to render the prompt","uniqueKey":"variables.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"string","uniqueKey":"variables.oneOf.1.additionalProperties","typeLabel":"string"},"description":"Values of the agent variables (name → value) used to render the prompt","uniqueKey":"variables.oneOf.1","typeLabel":"null"}],"uniqueKey":"variables","typeLabel":"object | null"},"toolMocking":{"type":"object","properties":{"mockedTools":{"oneOf":[{"type":"array","items":{"required":["toolId"],"type":"object","properties":{"toolId":{"minLength":1,"type":"string","description":"ID of the tool to mock. It must be connected to the agent.","isRequired":true,"uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].toolId","typeLabel":"string"},"resultTemplate":{"oneOf":[{"type":"string","description":"Result handed back to the agent instead of the real one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded.","uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].resultTemplate.oneOf.0","typeLabel":"string"},{"type":"null","description":"Result handed back to the agent instead of the real one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded.","uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].resultTemplate.oneOf.1","typeLabel":"null"}],"uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].resultTemplate","typeLabel":"string | null"},"delaySeconds":{"maximum":60,"minimum":0,"type":"number","description":"Simulated execution time, in seconds (0 to 60). Default 0.","format":"double","uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].delaySeconds","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Tools to mock, targeted by their id (see the agent's connected tools). Each one returns its `resultTemplate` instead of being executed.","uniqueKey":"toolMocking.mockedTools.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"required":["toolId"],"type":"object","properties":{"toolId":{"minLength":1,"type":"string","description":"ID of the tool to mock. It must be connected to the agent."},"resultTemplate":{"oneOf":[{"type":"string","description":"Result handed back to the agent instead of the real one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded."},{"type":"null","description":"Result handed back to the agent instead of the real one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded."}]},"delaySeconds":{"maximum":60,"minimum":0,"type":"number","description":"Simulated execution time, in seconds (0 to 60). Default 0.","format":"double"}},"additionalProperties":false},"description":"Tools to mock, targeted by their id (see the agent's connected tools). Each one returns its `resultTemplate` instead of being executed.","uniqueKey":"toolMocking.mockedTools.oneOf.1","typeLabel":"null"}],"uniqueKey":"toolMocking.mockedTools","typeLabel":"object[] | null"},"mockAllTools":{"type":"boolean","description":"Mocks every tool connected to the agent. Tools listed in `mockedTools` keep their own template; the others return a default response telling the agent the call succeeded. Sub-agents are not tools: see `mockAllSubAgents`. Default false.","uniqueKey":"toolMocking.mockAllTools","typeLabel":"boolean"},"mockedSubAgents":{"oneOf":[{"type":"array","items":{"required":["subAgentId"],"type":"object","properties":{"subAgentId":{"minLength":1,"type":"string","description":"ID of the sub-agent to mock. It must be connected to the agent.","isRequired":true,"uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].subAgentId","typeLabel":"string"},"resultTemplate":{"oneOf":[{"type":"string","description":"Answer handed back to the agent instead of the sub-agent's one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded.","uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].resultTemplate.oneOf.0","typeLabel":"string"},{"type":"null","description":"Answer handed back to the agent instead of the sub-agent's one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded.","uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].resultTemplate.oneOf.1","typeLabel":"null"}],"uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].resultTemplate","typeLabel":"string | null"},"delaySeconds":{"maximum":60,"minimum":0,"type":"number","description":"Simulated execution time, in seconds (0 to 60). Default 0.","format":"double","uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].delaySeconds","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Sub-agents to mock, targeted by their id. Each one answers with its `resultTemplate` and its conversation is never opened. The tools of a sub-agent cannot be mocked individually.","uniqueKey":"toolMocking.mockedSubAgents.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"required":["subAgentId"],"type":"object","properties":{"subAgentId":{"minLength":1,"type":"string","description":"ID of the sub-agent to mock. It must be connected to the agent."},"resultTemplate":{"oneOf":[{"type":"string","description":"Answer handed back to the agent instead of the sub-agent's one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded."},{"type":"null","description":"Answer handed back to the agent instead of the sub-agent's one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded."}]},"delaySeconds":{"maximum":60,"minimum":0,"type":"number","description":"Simulated execution time, in seconds (0 to 60). Default 0.","format":"double"}},"additionalProperties":false},"description":"Sub-agents to mock, targeted by their id. Each one answers with its `resultTemplate` and its conversation is never opened. The tools of a sub-agent cannot be mocked individually.","uniqueKey":"toolMocking.mockedSubAgents.oneOf.1","typeLabel":"null"}],"uniqueKey":"toolMocking.mockedSubAgents","typeLabel":"object[] | null"},"mockAllSubAgents":{"type":"boolean","description":"Mocks every sub-agent connected to the agent. Sub-agents listed in `mockedSubAgents` keep their own template; the others return a default response telling the agent the call succeeded. Default false.","uniqueKey":"toolMocking.mockAllSubAgents","typeLabel":"boolean"},"mockCallTransfer":{"type":"boolean","description":"Mocks the call transfer, so the simulation never transfers to a human. Independent of `mockAllTools`: a phone agent with call transfer enabled places a real transfer unless this is true. Default false.","uniqueKey":"toolMocking.mockCallTransfer","typeLabel":"boolean"}},"additionalProperties":false,"description":"Which tools and sub-agents of the agent are mocked (not really executed) during a simulation. Every mock is opt-in: nothing is mocked unless asked for here, and `mockAllTools` implies neither `mockAllSubAgents` nor `mockCallTransfer`. The knowledge base retrieval always runs for real.","uniqueKey":"toolMocking","typeLabel":"object"},"folderId":{"oneOf":[{"type":"string","description":"Folder of the agent; null for the root","uniqueKey":"folderId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Folder of the agent; null for the root","uniqueKey":"folderId.oneOf.1","typeLabel":"null"}],"uniqueKey":"folderId","typeLabel":"string | null"}},"additionalProperties":false,"description":"Simulation test to create","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"agentId":"\u003cstring>","name":"\u003cstring>","scenario":"\u003cstring>","criteria":["\u003cstring>"],"maxTurns":123,"conversationContext":[{"role":"\u003cstring>","text":"\u003cstring>","timestamp":"2023-11-07T05:31:56Z"}],"variables":{},"toolMocking":{"mockedTools":[{"toolId":"\u003cstring>","resultTemplate":"\u003cstring>","delaySeconds":30}],"mockAllTools":true,"mockedSubAgents":[{"subAgentId":"\u003cstring>","resultTemplate":"\u003cstring>","delaySeconds":30}],"mockAllSubAgents":true,"mockCallTransfer":true},"folderId":"\u003cstring>"}}},"exampleType":"generated"},"application/*+json":{"schema":{"required":["agentId","criteria","name","scenario"],"type":"object","properties":{"agentId":{"minLength":1,"type":"string","description":"Agent owning the test","isRequired":true,"uniqueKey":"agentId","typeLabel":"string"},"name":{"minLength":1,"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"scenario":{"minLength":1,"type":"string","description":"Persona and intent of the simulated user","isRequired":true,"uniqueKey":"scenario","typeLabel":"string"},"criteria":{"type":"array","items":{"type":"string","uniqueKey":"criteria.items.[INDEX]","typeLabel":"string"},"description":"Success criteria in plain text, each judged independently (at least one)","isRequired":true,"uniqueKey":"criteria","typeLabel":"string[]"},"maxTurns":{"type":"integer","description":"Maximum number of user/agent exchanges (1-30)","format":"int32","uniqueKey":"maxTurns","typeLabel":"integer\u003cint32>"},"conversationContext":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"role":{"oneOf":[{"type":"string","description":"\"user\" or \"assistant\"","uniqueKey":"conversationContext.oneOf.0.items.[INDEX].role.oneOf.0","typeLabel":"string"},{"type":"null","description":"\"user\" or \"assistant\"","uniqueKey":"conversationContext.oneOf.0.items.[INDEX].role.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationContext.oneOf.0.items.[INDEX].role","typeLabel":"string | null"},"text":{"oneOf":[{"type":"string","uniqueKey":"conversationContext.oneOf.0.items.[INDEX].text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"conversationContext.oneOf.0.items.[INDEX].text.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationContext.oneOf.0.items.[INDEX].text","typeLabel":"string | null"},"timestamp":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"conversationContext.oneOf.0.items.[INDEX].timestamp.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"conversationContext.oneOf.0.items.[INDEX].timestamp.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationContext.oneOf.0.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":false,"description":"One message of a conversation","uniqueKey":"conversationContext.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Messages the conversation starts from, in chronological order. Empty starts from scratch. When the last message is from the assistant the simulated user answers it; when it is from the user the agent answers it first.","uniqueKey":"conversationContext.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"role":{"oneOf":[{"type":"string","description":"\"user\" or \"assistant\""},{"type":"null","description":"\"user\" or \"assistant\""}]},"text":{"oneOf":[{"type":"string"},{"type":"null"}]},"timestamp":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]}},"additionalProperties":false,"description":"One message of a conversation"},"description":"Messages the conversation starts from, in chronological order. Empty starts from scratch. When the last message is from the assistant the simulated user answers it; when it is from the user the agent answers it first.","uniqueKey":"conversationContext.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationContext","typeLabel":"object[] | null"},"variables":{"oneOf":[{"type":"object","additionalProperties":{"type":"string","uniqueKey":"variables.oneOf.0.additionalProperties","typeLabel":"string"},"description":"Values of the agent variables (name → value) used to render the prompt","uniqueKey":"variables.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"string","uniqueKey":"variables.oneOf.1.additionalProperties","typeLabel":"string"},"description":"Values of the agent variables (name → value) used to render the prompt","uniqueKey":"variables.oneOf.1","typeLabel":"null"}],"uniqueKey":"variables","typeLabel":"object | null"},"toolMocking":{"type":"object","properties":{"mockedTools":{"oneOf":[{"type":"array","items":{"required":["toolId"],"type":"object","properties":{"toolId":{"minLength":1,"type":"string","description":"ID of the tool to mock. It must be connected to the agent.","isRequired":true,"uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].toolId","typeLabel":"string"},"resultTemplate":{"oneOf":[{"type":"string","description":"Result handed back to the agent instead of the real one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded.","uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].resultTemplate.oneOf.0","typeLabel":"string"},{"type":"null","description":"Result handed back to the agent instead of the real one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded.","uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].resultTemplate.oneOf.1","typeLabel":"null"}],"uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].resultTemplate","typeLabel":"string | null"},"delaySeconds":{"maximum":60,"minimum":0,"type":"number","description":"Simulated execution time, in seconds (0 to 60). Default 0.","format":"double","uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].delaySeconds","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Tools to mock, targeted by their id (see the agent's connected tools). Each one returns its `resultTemplate` instead of being executed.","uniqueKey":"toolMocking.mockedTools.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"required":["toolId"],"type":"object","properties":{"toolId":{"minLength":1,"type":"string","description":"ID of the tool to mock. It must be connected to the agent."},"resultTemplate":{"oneOf":[{"type":"string","description":"Result handed back to the agent instead of the real one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded."},{"type":"null","description":"Result handed back to the agent instead of the real one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded."}]},"delaySeconds":{"maximum":60,"minimum":0,"type":"number","description":"Simulated execution time, in seconds (0 to 60). Default 0.","format":"double"}},"additionalProperties":false},"description":"Tools to mock, targeted by their id (see the agent's connected tools). Each one returns its `resultTemplate` instead of being executed.","uniqueKey":"toolMocking.mockedTools.oneOf.1","typeLabel":"null"}],"uniqueKey":"toolMocking.mockedTools","typeLabel":"object[] | null"},"mockAllTools":{"type":"boolean","description":"Mocks every tool connected to the agent. Tools listed in `mockedTools` keep their own template; the others return a default response telling the agent the call succeeded. Sub-agents are not tools: see `mockAllSubAgents`. Default false.","uniqueKey":"toolMocking.mockAllTools","typeLabel":"boolean"},"mockedSubAgents":{"oneOf":[{"type":"array","items":{"required":["subAgentId"],"type":"object","properties":{"subAgentId":{"minLength":1,"type":"string","description":"ID of the sub-agent to mock. It must be connected to the agent.","isRequired":true,"uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].subAgentId","typeLabel":"string"},"resultTemplate":{"oneOf":[{"type":"string","description":"Answer handed back to the agent instead of the sub-agent's one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded.","uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].resultTemplate.oneOf.0","typeLabel":"string"},{"type":"null","description":"Answer handed back to the agent instead of the sub-agent's one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded.","uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].resultTemplate.oneOf.1","typeLabel":"null"}],"uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].resultTemplate","typeLabel":"string | null"},"delaySeconds":{"maximum":60,"minimum":0,"type":"number","description":"Simulated execution time, in seconds (0 to 60). Default 0.","format":"double","uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].delaySeconds","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Sub-agents to mock, targeted by their id. Each one answers with its `resultTemplate` and its conversation is never opened. The tools of a sub-agent cannot be mocked individually.","uniqueKey":"toolMocking.mockedSubAgents.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"required":["subAgentId"],"type":"object","properties":{"subAgentId":{"minLength":1,"type":"string","description":"ID of the sub-agent to mock. It must be connected to the agent."},"resultTemplate":{"oneOf":[{"type":"string","description":"Answer handed back to the agent instead of the sub-agent's one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded."},{"type":"null","description":"Answer handed back to the agent instead of the sub-agent's one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded."}]},"delaySeconds":{"maximum":60,"minimum":0,"type":"number","description":"Simulated execution time, in seconds (0 to 60). Default 0.","format":"double"}},"additionalProperties":false},"description":"Sub-agents to mock, targeted by their id. Each one answers with its `resultTemplate` and its conversation is never opened. The tools of a sub-agent cannot be mocked individually.","uniqueKey":"toolMocking.mockedSubAgents.oneOf.1","typeLabel":"null"}],"uniqueKey":"toolMocking.mockedSubAgents","typeLabel":"object[] | null"},"mockAllSubAgents":{"type":"boolean","description":"Mocks every sub-agent connected to the agent. Sub-agents listed in `mockedSubAgents` keep their own template; the others return a default response telling the agent the call succeeded. Default false.","uniqueKey":"toolMocking.mockAllSubAgents","typeLabel":"boolean"},"mockCallTransfer":{"type":"boolean","description":"Mocks the call transfer, so the simulation never transfers to a human. Independent of `mockAllTools`: a phone agent with call transfer enabled places a real transfer unless this is true. Default false.","uniqueKey":"toolMocking.mockCallTransfer","typeLabel":"boolean"}},"additionalProperties":false,"description":"Which tools and sub-agents of the agent are mocked (not really executed) during a simulation. Every mock is opt-in: nothing is mocked unless asked for here, and `mockAllTools` implies neither `mockAllSubAgents` nor `mockCallTransfer`. The knowledge base retrieval always runs for real.","uniqueKey":"toolMocking","typeLabel":"object"},"folderId":{"oneOf":[{"type":"string","description":"Folder of the agent; null for the root","uniqueKey":"folderId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Folder of the agent; null for the root","uniqueKey":"folderId.oneOf.1","typeLabel":"null"}],"uniqueKey":"folderId","typeLabel":"string | null"}},"additionalProperties":false,"description":"Simulation test to create","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"agentId":"\u003cstring>","name":"\u003cstring>","scenario":"\u003cstring>","criteria":["\u003cstring>"],"maxTurns":123,"conversationContext":[{"role":"\u003cstring>","text":"\u003cstring>","timestamp":"2023-11-07T05:31:56Z"}],"variables":{},"toolMocking":{"mockedTools":[{"toolId":"\u003cstring>","resultTemplate":"\u003cstring>","delaySeconds":30}],"mockAllTools":true,"mockedSubAgents":[{"subAgentId":"\u003cstring>","resultTemplate":"\u003cstring>","delaySeconds":30}],"mockAllSubAgents":true,"mockCallTransfer":true},"folderId":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"04f24587-bc85-486a-882d-426a984cb922":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"oneOf":[{"type":"string","uniqueKey":"id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"id.oneOf.1","typeLabel":"null"}],"uniqueKey":"id","typeLabel":"string | null"},"kind":{"enum":["Simulation","Classification"],"type":"string","uniqueKey":"kind","typeLabel":"enum\u003cstring>"},"agentId":{"oneOf":[{"type":"string","uniqueKey":"agentId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"agentId.oneOf.1","typeLabel":"null"}],"uniqueKey":"agentId","typeLabel":"string | null"},"folderId":{"oneOf":[{"type":"string","description":"Folder containing the test, null at the root","uniqueKey":"folderId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Folder containing the test, null at the root","uniqueKey":"folderId.oneOf.1","typeLabel":"null"}],"uniqueKey":"folderId","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","uniqueKey":"name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"name.oneOf.1","typeLabel":"null"}],"uniqueKey":"name","typeLabel":"string | null"},"lastRunId":{"oneOf":[{"type":"string","description":"Most recent run of the test","uniqueKey":"lastRunId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Most recent run of the test","uniqueKey":"lastRunId.oneOf.1","typeLabel":"null"}],"uniqueKey":"lastRunId","typeLabel":"string | null"},"lastRunStatus":{"enum":["Queued","Running","Passed","Failed","Error","Cancelled"],"type":"string","uniqueKey":"lastRunStatus","typeLabel":"enum\u003cstring>"},"lastRunAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"lastRunAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"lastRunAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"lastRunAt","typeLabel":"string\u003cdate-time> | null"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"},"scenario":{"oneOf":[{"type":"string","description":"Simulation only: persona and intent of the simulated user","uniqueKey":"scenario.oneOf.0","typeLabel":"string"},{"type":"null","description":"Simulation only: persona and intent of the simulated user","uniqueKey":"scenario.oneOf.1","typeLabel":"null"}],"uniqueKey":"scenario","typeLabel":"string | null"},"criteria":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"criteria.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"Simulation only: success criteria, each judged independently","uniqueKey":"criteria.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"Simulation only: success criteria, each judged independently","uniqueKey":"criteria.oneOf.1","typeLabel":"null"}],"uniqueKey":"criteria","typeLabel":"string[] | null"},"maxTurns":{"oneOf":[{"type":"integer","description":"Simulation only: maximum number of user/agent exchanges (1-30)","format":"int32","uniqueKey":"maxTurns.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Simulation only: maximum number of user/agent exchanges (1-30)","format":"int32","uniqueKey":"maxTurns.oneOf.1","typeLabel":"null"}],"uniqueKey":"maxTurns","typeLabel":"integer\u003cint32> | null"},"conversationMessages":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"role":{"oneOf":[{"type":"string","description":"\"user\" or \"assistant\"","uniqueKey":"conversationMessages.oneOf.0.items.[INDEX].role.oneOf.0","typeLabel":"string"},{"type":"null","description":"\"user\" or \"assistant\"","uniqueKey":"conversationMessages.oneOf.0.items.[INDEX].role.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationMessages.oneOf.0.items.[INDEX].role","typeLabel":"string | null"},"text":{"oneOf":[{"type":"string","uniqueKey":"conversationMessages.oneOf.0.items.[INDEX].text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"conversationMessages.oneOf.0.items.[INDEX].text.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationMessages.oneOf.0.items.[INDEX].text","typeLabel":"string | null"},"timestamp":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"conversationMessages.oneOf.0.items.[INDEX].timestamp.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"conversationMessages.oneOf.0.items.[INDEX].timestamp.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationMessages.oneOf.0.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":false,"description":"One message of a conversation","uniqueKey":"conversationMessages.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Simulation only: messages the conversation starts from, in chronological order; empty when the run starts from scratch","uniqueKey":"conversationMessages.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"role":{"oneOf":[{"type":"string","description":"\"user\" or \"assistant\""},{"type":"null","description":"\"user\" or \"assistant\""}]},"text":{"oneOf":[{"type":"string"},{"type":"null"}]},"timestamp":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]}},"additionalProperties":false,"description":"One message of a conversation"},"description":"Simulation only: messages the conversation starts from, in chronological order; empty when the run starts from scratch","uniqueKey":"conversationMessages.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationMessages","typeLabel":"object[] | null"},"variables":{"oneOf":[{"type":"object","additionalProperties":{"type":"string","uniqueKey":"variables.oneOf.0.additionalProperties","typeLabel":"string"},"description":"Simulation only: values of the agent variables (name → value)","uniqueKey":"variables.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"string","uniqueKey":"variables.oneOf.1.additionalProperties","typeLabel":"string"},"description":"Simulation only: values of the agent variables (name → value)","uniqueKey":"variables.oneOf.1","typeLabel":"null"}],"uniqueKey":"variables","typeLabel":"object | null"},"toolMocking":{"type":"object","properties":{"mockedTools":{"oneOf":[{"type":"array","items":{"required":["toolId"],"type":"object","properties":{"toolId":{"minLength":1,"type":"string","description":"ID of the tool to mock. It must be connected to the agent.","isRequired":true,"uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].toolId","typeLabel":"string"},"resultTemplate":{"oneOf":[{"type":"string","description":"Result handed back to the agent instead of the real one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded.","uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].resultTemplate.oneOf.0","typeLabel":"string"},{"type":"null","description":"Result handed back to the agent instead of the real one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded.","uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].resultTemplate.oneOf.1","typeLabel":"null"}],"uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].resultTemplate","typeLabel":"string | null"},"delaySeconds":{"maximum":60,"minimum":0,"type":"number","description":"Simulated execution time, in seconds (0 to 60). Default 0.","format":"double","uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX].delaySeconds","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"uniqueKey":"toolMocking.mockedTools.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Tools to mock, targeted by their id (see the agent's connected tools). Each one returns its `resultTemplate` instead of being executed.","uniqueKey":"toolMocking.mockedTools.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"required":["toolId"],"type":"object","properties":{"toolId":{"minLength":1,"type":"string","description":"ID of the tool to mock. It must be connected to the agent."},"resultTemplate":{"oneOf":[{"type":"string","description":"Result handed back to the agent instead of the real one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded."},{"type":"null","description":"Result handed back to the agent instead of the real one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded."}]},"delaySeconds":{"maximum":60,"minimum":0,"type":"number","description":"Simulated execution time, in seconds (0 to 60). Default 0.","format":"double"}},"additionalProperties":false},"description":"Tools to mock, targeted by their id (see the agent's connected tools). Each one returns its `resultTemplate` instead of being executed.","uniqueKey":"toolMocking.mockedTools.oneOf.1","typeLabel":"null"}],"uniqueKey":"toolMocking.mockedTools","typeLabel":"object[] | null"},"mockAllTools":{"type":"boolean","description":"Mocks every tool connected to the agent. Tools listed in `mockedTools` keep their own template; the others return a default response telling the agent the call succeeded. Sub-agents are not tools: see `mockAllSubAgents`. Default false.","uniqueKey":"toolMocking.mockAllTools","typeLabel":"boolean"},"mockedSubAgents":{"oneOf":[{"type":"array","items":{"required":["subAgentId"],"type":"object","properties":{"subAgentId":{"minLength":1,"type":"string","description":"ID of the sub-agent to mock. It must be connected to the agent.","isRequired":true,"uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].subAgentId","typeLabel":"string"},"resultTemplate":{"oneOf":[{"type":"string","description":"Answer handed back to the agent instead of the sub-agent's one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded.","uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].resultTemplate.oneOf.0","typeLabel":"string"},{"type":"null","description":"Answer handed back to the agent instead of the sub-agent's one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded.","uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].resultTemplate.oneOf.1","typeLabel":"null"}],"uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].resultTemplate","typeLabel":"string | null"},"delaySeconds":{"maximum":60,"minimum":0,"type":"number","description":"Simulated execution time, in seconds (0 to 60). Default 0.","format":"double","uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX].delaySeconds","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"uniqueKey":"toolMocking.mockedSubAgents.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Sub-agents to mock, targeted by their id. Each one answers with its `resultTemplate` and its conversation is never opened. The tools of a sub-agent cannot be mocked individually.","uniqueKey":"toolMocking.mockedSubAgents.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"required":["subAgentId"],"type":"object","properties":{"subAgentId":{"minLength":1,"type":"string","description":"ID of the sub-agent to mock. It must be connected to the agent."},"resultTemplate":{"oneOf":[{"type":"string","description":"Answer handed back to the agent instead of the sub-agent's one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded."},{"type":"null","description":"Answer handed back to the agent instead of the sub-agent's one. Supports `{name}` placeholders resolved against the call parameters and the conversation variables. Empty: a default response telling the agent the call succeeded."}]},"delaySeconds":{"maximum":60,"minimum":0,"type":"number","description":"Simulated execution time, in seconds (0 to 60). Default 0.","format":"double"}},"additionalProperties":false},"description":"Sub-agents to mock, targeted by their id. Each one answers with its `resultTemplate` and its conversation is never opened. The tools of a sub-agent cannot be mocked individually.","uniqueKey":"toolMocking.mockedSubAgents.oneOf.1","typeLabel":"null"}],"uniqueKey":"toolMocking.mockedSubAgents","typeLabel":"object[] | null"},"mockAllSubAgents":{"type":"boolean","description":"Mocks every sub-agent connected to the agent. Sub-agents listed in `mockedSubAgents` keep their own template; the others return a default response telling the agent the call succeeded. Default false.","uniqueKey":"toolMocking.mockAllSubAgents","typeLabel":"boolean"},"mockCallTransfer":{"type":"boolean","description":"Mocks the call transfer, so the simulation never transfers to a human. Independent of `mockAllTools`: a phone agent with call transfer enabled places a real transfer unless this is true. Default false.","uniqueKey":"toolMocking.mockCallTransfer","typeLabel":"boolean"}},"additionalProperties":false,"description":"Which tools and sub-agents of the agent are mocked (not really executed) during a simulation. Every mock is opt-in: nothing is mocked unless asked for here, and `mockAllTools` implies neither `mockAllSubAgents` nor `mockCallTransfer`. The knowledge base retrieval always runs for real.","uniqueKey":"toolMocking","typeLabel":"object"},"conversationContext":{"type":"object","properties":{"messages":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"role":{"oneOf":[{"type":"string","description":"\"user\" or \"assistant\"","uniqueKey":"conversationContext.messages.oneOf.0.items.[INDEX].role.oneOf.0","typeLabel":"string"},{"type":"null","description":"\"user\" or \"assistant\"","uniqueKey":"conversationContext.messages.oneOf.0.items.[INDEX].role.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationContext.messages.oneOf.0.items.[INDEX].role","typeLabel":"string | null"},"text":{"oneOf":[{"type":"string","uniqueKey":"conversationContext.messages.oneOf.0.items.[INDEX].text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"conversationContext.messages.oneOf.0.items.[INDEX].text.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationContext.messages.oneOf.0.items.[INDEX].text","typeLabel":"string | null"},"timestamp":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"conversationContext.messages.oneOf.0.items.[INDEX].timestamp.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"conversationContext.messages.oneOf.0.items.[INDEX].timestamp.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationContext.messages.oneOf.0.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time> | null"}},"additionalProperties":false,"description":"One message of a conversation","uniqueKey":"conversationContext.messages.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Messages of the conversation, in chronological order","uniqueKey":"conversationContext.messages.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"role":{"oneOf":[{"type":"string","description":"\"user\" or \"assistant\""},{"type":"null","description":"\"user\" or \"assistant\""}]},"text":{"oneOf":[{"type":"string"},{"type":"null"}]},"timestamp":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]}},"additionalProperties":false,"description":"One message of a conversation"},"description":"Messages of the conversation, in chronological order","uniqueKey":"conversationContext.messages.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationContext.messages","typeLabel":"object[] | null"},"dataBag":{"oneOf":[{"type":"object","additionalProperties":{"type":"string","uniqueKey":"conversationContext.dataBag.oneOf.0.additionalProperties","typeLabel":"string"},"description":"Variable values (name → value) available to the agent","uniqueKey":"conversationContext.dataBag.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"string","uniqueKey":"conversationContext.dataBag.oneOf.1.additionalProperties","typeLabel":"string"},"description":"Variable values (name → value) available to the agent","uniqueKey":"conversationContext.dataBag.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversationContext.dataBag","typeLabel":"object | null"}},"additionalProperties":false,"description":"Conversation used as input of a classification test","uniqueKey":"conversationContext","typeLabel":"object"},"tagExpected":{"oneOf":[{"type":"string","description":"Classification only: expected tag","uniqueKey":"tagExpected.oneOf.0","typeLabel":"string"},{"type":"null","description":"Classification only: expected tag","uniqueKey":"tagExpected.oneOf.1","typeLabel":"null"}],"uniqueKey":"tagExpected","typeLabel":"string | null"}},"additionalProperties":false,"description":"A test of an agent. Depending on kind, either the simulation fields (scenario, criteria, maxTurns, variables) or the classification fields (conversationContext, tagExpected) are set.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","kind":"Simulation","agentId":"\u003cstring>","folderId":"\u003cstring>","name":"\u003cstring>","lastRunId":"\u003cstring>","lastRunStatus":"Queued","lastRunAt":"2023-11-07T05:31:56Z","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","scenario":"\u003cstring>","criteria":["\u003cstring>"],"maxTurns":123,"conversationMessages":[{"role":"\u003cstring>","text":"\u003cstring>","timestamp":"2023-11-07T05:31:56Z"}],"variables":{},"toolMocking":{"mockedTools":[{"toolId":"\u003cstring>","resultTemplate":"\u003cstring>","delaySeconds":30}],"mockAllTools":true,"mockedSubAgents":[{"subAgentId":"\u003cstring>","resultTemplate":"\u003cstring>","delaySeconds":30}],"mockAllSubAgents":true,"mockCallTransfer":true},"conversationContext":{"messages":[{"role":"\u003cstring>","text":"\u003cstring>","timestamp":"2023-11-07T05:31:56Z"}],"dataBag":{}},"tagExpected":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"40cecc44-4a68-4022-a9a9-4fdb5680242c":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"d96bc7a7-a471-4874-b06f-ff43a79f4755":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"8140e2cb-1c67-48f8-806f-cc4f526e0994":{"description":"Client Error","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"05062f5b-fbea-4f6c-a3f6-3a0584dd6d06":{"Key":{"name":"X-Api-Key","type":"apiKey","in":"header"}}},"servers":{},"processedSecurityOptions":[{"schemes":[{"scheme":{"name":"X-Api-Key","type":"apiKey","in":"header"},"schema":{"title":"X-Api-Key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"Key","name":"X-Api-Key"}],"title":"Key"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"locuta","siteName":"Starleads api docs","title":"Create a simulation test - Starleads api docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-21T08:37:55.765Z","originalFileLocation":"api-reference/agenttest/create-a-simulation-test.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=\"Creates a simulation test on one of your agents: a scenario describing the simulated user, one or more success criteria judged independently, a maximum number of turns and the values of the agent variables. Use toolMocking to keep the agent\u0026#x27;s tools and sub-agents from triggering real actions on your systems when the test runs.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Starleads api 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/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_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/locuta/ynlCpXqW2nrSkjmQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a simulation test - Starleads api docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a simulation test on one of your agents: a scenario describing the simulated user, one or more success criteria judged independently, a maximum number of turns and the values of the agent variables. Use toolMocking to keep the agent\u0026#x27;s tools and sub-agents from triggering real actions on your systems when the test runs.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Starleads api docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.starleads.co/api-reference/agenttest/create-a-simulation-test\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://locuta.mintlify.app/_mintlify/api/og/v2?division=Agent+Tests\u0026amp;title=Create+a+simulation+test\u0026amp;description=Creates+a+simulation+test+on+one+of+your+agents%3A+a+scenario+describing+the+simulated+user%2C+one+or+more+success+criteria+judged+independently%2C+a+maximum+number+o\u0026amp;theme=5c5c29653f72fde3c80fdcde\u0026amp;signature=b3f436872ad9e5ab7a981f66aba751180af9d891f0ff6e75191a3ac7120ebd89\">\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=\"Create a simulation test - Starleads api docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a simulation test on one of your agents: a scenario describing the simulated user, one or more success criteria judged independently, a maximum number of turns and the values of the agent variables. Use toolMocking to keep the agent\u0026#x27;s tools and sub-agents from triggering real actions on your systems when the test runs.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://locuta.mintlify.app/_mintlify/api/og/v2?division=Agent+Tests\u0026amp;title=Create+a+simulation+test\u0026amp;description=Creates+a+simulation+test+on+one+of+your+agents%3A+a+scenario+describing+the+simulated+user%2C+one+or+more+success+criteria+judged+independently%2C+a+maximum+number+o\u0026amp;theme=5c5c29653f72fde3c80fdcde\u0026amp;signature=b3f436872ad9e5ab7a981f66aba751180af9d891f0ff6e75191a3ac7120ebd89\">\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/locuta/ynlCpXqW2nrSkjmQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Starleads api docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF5B22\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.starleads.co/api-reference/agenttest/create-a-simulation-test\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/agenttest/create-a-simulation-test.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.starleads.co/#organization\",\"name\":\"Starleads api docs\",\"url\":\"https://docs.starleads.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/locuta/nbODknSPetkh4479/logo/logo-light.png?fit=max\u0026auto=format\u0026n=nbODknSPetkh4479\u0026q=85\u0026s=0c3dc57cc8eb4727a18bea5b413cfc61\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.starleads.co#website\",\"name\":\"Starleads api docs\",\"url\":\"https://docs.starleads.co\",\"publisher\":{\"@id\":\"https://docs.starleads.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.starleads.co/api-reference/agenttest/create-a-simulation-test#webpage\",\"url\":\"https://docs.starleads.co/api-reference/agenttest/create-a-simulation-test\",\"name\":\"Create a simulation test\",\"description\":\"Creates a simulation test on one of your agents: a scenario describing the simulated user, one or more success criteria judged independently, a maximum number of turns and the values of the agent variables. Use toolMocking to keep the agent's tools and sub-agents from triggering real actions on your systems when the test runs.\",\"dateModified\":\"2026-09-21T08:37:55.765Z\",\"isPartOf\":{\"@id\":\"https://docs.starleads.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.starleads.co/api-reference/agenttest/create-a-simulation-test#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.starleads.co/api-reference/agenttest/create-a-simulation-test#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agent Tests\",\"item\":\"https://docs.starleads.co/api-reference/agenttest/list-the-tests-of-an-agent\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a simulation test\",\"item\":\"https://docs.starleads.co/api-reference/agenttest/create-a-simulation-test\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.starleads.co/api-reference/agenttest/create-a-simulation-test#apireference\",\"headline\":\"Create a simulation test\",\"name\":\"Create a simulation test\",\"description\":\"Creates a simulation test on one of your agents: a scenario describing the simulated user, one or more success criteria judged independently, a maximum number of turns and the values of the agent variables. Use toolMocking to keep the agent's tools and sub-agents from triggering real actions on your systems when the test runs.\",\"url\":\"https://docs.starleads.co/api-reference/agenttest/create-a-simulation-test\",\"mainEntityOfPage\":{\"@id\":\"https://docs.starleads.co/api-reference/agenttest/create-a-simulation-test#webpage\"},\"dateModified\":\"2026-09-21T08:37:55.765Z\",\"publisher\":{\"@id\":\"https://docs.starleads.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.starleads.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Starleads api docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Starleads api docs","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":{"name":"book-open","style":"duotone"},"pages":[{"title":"Documentation","href":"/documentation/get-started"}]},{"anchor":"API Reference","icon":{"name":"square-terminal","style":"duotone"},"groups":[{"group":"API Reference","pages":[{"title":"API Reference","mode":"wide","href":"/api-reference/introduction"}]},{"group":"Consumption","pages":[{"title":"Get the current consumption","openapi":"GET /Consumption","href":"/api-reference/consumption/get-current-consumption"},{"title":"Get the consumption breakdown","openapi":"GET /Consumption/breakdown","href":"/api-reference/consumption/get-consumption-breakdown"},{"title":"List consumption transactions","openapi":"GET /Consumption/transactions","href":"/api-reference/consumption/get-consumption-transactions"}]},{"group":"Subscription","pages":[{"title":"Get the subscription contract","openapi":"GET /Subscription","href":"/api-reference/subscription/get-subscription-contract"}]},{"group":"Campaigns","pages":[{"title":"Get all campaigns","openapi":"GET /Campaign","href":"/api-reference/campaign/get-all-campaigns"},{"title":"Create a campaign","openapi":"POST /Campaign","href":"/api-reference/campaign/create-a-campaign"}]},{"group":"Campaign Items","pages":[{"title":"Get campaign items with filters","openapi":"GET /CampaignItem/{campaignId}/items","href":"/api-reference/campaignitem/get-campaign-items-with-filters"},{"title":"Get all items by phone number","openapi":"GET /CampaignItem/{campaignId}/{phoneNumber}","href":"/api-reference/campaignitem/get-all-items-by-phone-number"},{"title":"Add a new campaign item to a campaign","openapi":"POST /CampaignItem/{campaignId}","href":"/api-reference/campaignitem/add-a-new-campaign-item-to-a-campaign"},{"title":"Add multiple items to a campaign","openapi":"POST /CampaignItem/{campaignId}/bulk-add-items","href":"/api-reference/campaignitem/add-multiple-items-to-a-campaign"},{"title":"Delete an item from a campaign","openapi":"DELETE /CampaignItem/{campaignId}/{itemId}","href":"/api-reference/campaignitem/delete-an-item-from-a-campaign"},{"title":"Get item audio recording","openapi":"GET /CampaignItem/{itemId}/audio","href":"/api-reference/campaignitem/get-item-audio-recording"},{"title":"Delete item audio recording","openapi":"DELETE /CampaignItem/{itemId}/audio","href":"/api-reference/campaignitem/delete-item-audio-recording"}]},{"group":"Campaign Fields","pages":[{"title":"Get campaign's fields","openapi":"GET /CampaignField/{campaignId}","href":"/api-reference/campaignfield/get-campaigns-fields"}]},{"group":"Agents","pages":[{"title":"Get the prompt of an agent","openapi":"GET /Agent/{agentId}/prompt","href":"/api-reference/agent/get-the-prompt-of-an-agent"},{"title":"Update the prompt of an agent","openapi":"PUT /Agent/{agentId}/prompt","href":"/api-reference/agent/update-the-prompt-of-an-agent"},{"title":"Connect a knowledge base chat to an agent","openapi":"PUT /Agent/{agentId}/chat","href":"/api-reference/agent/connect-a-knowledge-base-chat-to-an-agent"},{"title":"Get the chat connected to an agent","openapi":"GET /Agent/{agentId}/chat","href":"/api-reference/agent/get-the-chat-connected-to-an-agent"},{"title":"Detach the chat from an agent","openapi":"DELETE /Agent/{agentId}/chat","href":"/api-reference/agent/detach-the-chat-from-an-agent"},{"title":"Get an agent","openapi":"GET /Agent/{agentId}","href":"/api-reference/agent/get-an-agent"},{"title":"List the tools connected to an agent","openapi":"GET /Agent/{agentId}/tools","href":"/api-reference/agent/list-the-tools-connected-to-an-agent"},{"title":"Connect a tool to an agent","openapi":"PUT /Agent/{agentId}/tools/{toolId}","href":"/api-reference/agent/connect-a-tool-to-an-agent"},{"title":"Disconnect a tool from an agent","openapi":"DELETE /Agent/{agentId}/tools/{toolId}","href":"/api-reference/agent/disconnect-a-tool-from-an-agent"},{"title":"Get the history of an agent","openapi":"GET /Agent/{agentId}/history","href":"/api-reference/agent/get-the-history-of-an-agent"}]},{"group":"Simulation Chat","pages":[{"title":"Start a simulation chat with an agent","openapi":"POST /SimulationChat/start","href":"/api-reference/simulationchat/start-a-simulation-chat-with-an-agent"},{"title":"Get a simulation chat","openapi":"GET /SimulationChat/{simulationChatId}","href":"/api-reference/simulationchat/get-a-simulation-chat"},{"title":"Send a message to a simulation chat","openapi":"POST /SimulationChat/send-message","href":"/api-reference/simulationchat/send-a-message-to-a-simulation-chat"}]},{"group":"Agent Tests","pages":[{"title":"List the tests of an agent","openapi":"GET /AgentTest","href":"/api-reference/agenttest/list-the-tests-of-an-agent"},{"title":"Get a test","openapi":"GET /AgentTest/{testId}","href":"/api-reference/agenttest/get-a-test"},{"title":"Delete a test","openapi":"DELETE /AgentTest/{testId}","description":"Deletes a test and its runs (queued or running runs are cancelled).","href":"/api-reference/agenttest/delete-a-test"},{"title":"Create a simulation test","openapi":"POST /AgentTest/simulation","href":"/api-reference/agenttest/create-a-simulation-test"},{"title":"Update a simulation test","openapi":"PUT /AgentTest/simulation/{testId}","description":"Updates the provided fields of a simulation test. `toolMocking`, when provided, replaces the tool and sub-agent mocking of the test as a whole.","href":"/api-reference/agenttest/update-a-simulation-test"},{"title":"Create a classification test","openapi":"POST /AgentTest/classification","href":"/api-reference/agenttest/create-a-classification-test"},{"title":"Update a classification test","openapi":"PUT /AgentTest/classification/{testId}","href":"/api-reference/agenttest/update-a-classification-test"},{"title":"Move tests into a folder","openapi":"POST /AgentTest/move","href":"/api-reference/agenttest/move-tests-into-a-folder"}]},{"group":"Agent Test Folders","pages":[{"title":"List the folders of an agent","openapi":"GET /AgentTestFolder","href":"/api-reference/agenttestfolder/list-the-folders-of-an-agent"},{"title":"Get a folder","openapi":"GET /AgentTestFolder/{folderId}","href":"/api-reference/agenttestfolder/get-a-folder"},{"title":"Create a folder","openapi":"POST /AgentTestFolder","href":"/api-reference/agenttestfolder/create-a-folder"},{"title":"Update a folder","openapi":"PUT /AgentTestFolder/{folderId}","href":"/api-reference/agenttestfolder/update-a-folder"},{"title":"Delete a folder","openapi":"DELETE /AgentTestFolder/{folderId}","href":"/api-reference/agenttestfolder/delete-a-folder"}]},{"group":"Agent Test Executions","pages":[{"title":"Launch tests","openapi":"POST /AgentTestExecution","href":"/api-reference/agenttestexecution/launch-tests"},{"title":"Get an execution","openapi":"GET /AgentTestExecution/{executionId}","href":"/api-reference/agenttestexecution/get-an-execution"},{"title":"List the executions of an agent","openapi":"GET /AgentTestExecution","href":"/api-reference/agenttestexecution/list-the-executions-of-an-agent"},{"title":"Cancel an execution","openapi":"POST /AgentTestExecution/{executionId}/cancel","href":"/api-reference/agenttestexecution/cancel-an-execution"}]},{"group":"Agent Test Runs","pages":[{"title":"Get a run","openapi":"GET /AgentTestRun/{runId}","href":"/api-reference/agenttestrun/get-a-run"},{"title":"List runs","openapi":"GET /AgentTestRun","href":"/api-reference/agenttestrun/list-runs"},{"title":"Cancel runs","openapi":"POST /AgentTestRun/cancel","href":"/api-reference/agenttestrun/cancel-runs"}]},{"group":"Knowledge Base — Datasets","pages":[{"title":"List datasets","openapi":"GET /Dataset","href":"/api-reference/dataset/list-datasets"},{"title":"Create a dataset","openapi":"POST /Dataset","href":"/api-reference/dataset/create-a-dataset"},{"title":"Get a dataset","openapi":"GET /Dataset/{datasetId}","href":"/api-reference/dataset/get-a-dataset"},{"title":"Update a dataset","openapi":"PATCH /Dataset/{datasetId}","href":"/api-reference/dataset/update-a-dataset"},{"title":"Delete a dataset","openapi":"DELETE /Dataset/{datasetId}","href":"/api-reference/dataset/delete-a-dataset"}]},{"group":"Knowledge Base — Documents","pages":[{"title":"List documents in a dataset","openapi":"GET /Dataset/{datasetId}/document","href":"/api-reference/document/list-documents-in-a-dataset"},{"title":"Upload documents to a dataset","openapi":"POST /Dataset/{datasetId}/document","href":"/api-reference/document/upload-documents-to-a-dataset"},{"title":"Download a document file","openapi":"GET /Dataset/{datasetId}/document/{documentId}/download","href":"/api-reference/document/download-a-document-file"},{"title":"Update a document","openapi":"PUT /Dataset/{datasetId}/document/{documentId}","href":"/api-reference/document/update-a-document"},{"title":"Delete a document","openapi":"DELETE /Dataset/{datasetId}/document/{documentId}","href":"/api-reference/document/delete-a-document"},{"title":"Trigger document parsing","openapi":"POST /Dataset/{datasetId}/document/parse","href":"/api-reference/document/trigger-document-parsing"},{"title":"Stop document parsing","openapi":"DELETE /Dataset/{datasetId}/document/parse","href":"/api-reference/document/stop-document-parsing"}]},{"group":"Knowledge Base — Chats","pages":[{"title":"List knowledge base chats","openapi":"GET /KnowledgeBaseChat","href":"/api-reference/knowledgebasechat/list-knowledge-base-chats"},{"title":"Create a knowledge base chat","openapi":"POST /KnowledgeBaseChat","href":"/api-reference/knowledgebasechat/create-a-knowledge-base-chat"},{"title":"Get a knowledge base chat","openapi":"GET /KnowledgeBaseChat/{chatId}","href":"/api-reference/knowledgebasechat/get-a-knowledge-base-chat"},{"title":"Update a knowledge base chat","openapi":"PATCH /KnowledgeBaseChat/{chatId}","href":"/api-reference/knowledgebasechat/update-a-knowledge-base-chat"},{"title":"Delete a knowledge base chat","openapi":"DELETE /KnowledgeBaseChat/{chatId}","href":"/api-reference/knowledgebasechat/delete-a-knowledge-base-chat"}]},{"group":"Knowledge Base — Knowledge Graph","pages":[{"title":"Enable knowledge graph on a dataset","openapi":"POST /Dataset/{datasetId}/knowledge-graph/enable","href":"/api-reference/knowledgegraph/enable-knowledge-graph-on-a-dataset"},{"title":"Trigger knowledge graph construction","openapi":"POST /Dataset/{datasetId}/knowledge-graph/build","href":"/api-reference/knowledgegraph/trigger-knowledge-graph-construction"},{"title":"Get knowledge graph build status","openapi":"GET /Dataset/{datasetId}/knowledge-graph/status","href":"/api-reference/knowledgegraph/get-knowledge-graph-build-status"},{"title":"Get the knowledge graph","openapi":"GET /Dataset/{datasetId}/knowledge-graph","href":"/api-reference/knowledgegraph/get-the-knowledge-graph"},{"title":"Delete the knowledge graph","openapi":"DELETE /Dataset/{datasetId}/knowledge-graph","href":"/api-reference/knowledgegraph/delete-the-knowledge-graph"}]}]}]},"title":"Create a simulation test - Starleads api docs","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-WRhTSUDL.js","utils-ChMov4Kr.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-_REmC2bI.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp6nVRCu.js","snippetPresets-DZadmXoU.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CY2WdoTl.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DwYG-Q4l.js","shallow-BXQIGwv4.js","getApiPlaygroundDisplay-CK5nK5B9.js","CodeSnippet-TH4a2aGW.js","CodeSnippets-DwsQiOFS.js","Page-R3M_BF4L.js","getPastedJson-DD7kUzi_.js","icon-holE3QoJ.js","MethodPill-DUW0T8us.js","DuplicateIcon-CI_p4be-.js","createIcon-BdbRvavb.js","DynamicMarkdown-DN96a4Ur.js","SectionHeading-SCu36A9d.js","axios-vUo_bRtp.js","Markdown-CCeGv-zI.js","clsx-BGBGWFTt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Cv_O2fky.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-2C5OB2eV.js"]}