Edit the generated plan while the simulation is in status planned.
Either replace the whole question set with survey_questions, or change
particular questions with question_edits, add_questions and
delete_question_ids, not both in one call. A replace reissues every
question id and the response says so with question_ids_reissued.
Replaces the whole question set. Every question gets a new id, so ids from an earlier read are stale afterwards. Cannot be combined with question_edits, add_questions or delete_question_ids.
Replaces the journey task. Its shape depends on the goal: see journey_task_shape on the goal in /v1/simulation-schema.
Response
Successful Response
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Semilattice","colors":{"primary":"#4B4FCF","light":"#4B4FCF","dark":"#4B4FCF"},"logo":{"light":"https://mintcdn.com/semilattice/Bq2OGFClOPtUvJA7/logo/light.svg?fit=max\u0026auto=format\u0026n=Bq2OGFClOPtUvJA7\u0026q=85\u0026s=16b9d08d8fe11ee44445bcd18b9166ca","dark":"https://mintcdn.com/semilattice/Bq2OGFClOPtUvJA7/logo/dark.svg?fit=max\u0026auto=format\u0026n=Bq2OGFClOPtUvJA7\u0026q=85\u0026s=601fe8dd927c3df64dd78cb2ac8a7747"},"favicon":"https://mintcdn.com/semilattice/SZYVJM_YQEB-edCc/favicon.png?fit=max\u0026auto=format\u0026n=SZYVJM_YQEB-edCc\u0026q=85\u0026s=bdff4d38bdf7f7e2d593e25158331fb4","background":{"color":{"light":"#F7F7FA","dark":"#121213"}},"navbar":{"links":[{"href":"https://semilattice.ai/user-in-the-loop","label":"Guide"},{"href":"mailto:support@semilattice.ai","label":"Support"}],"primary":{"type":"button","label":"Open the app","href":"https://app.semilattice.ai"}},"footer":{"socials":{"website":"https://semilattice.ai","x":"https://x.com/semilatticeai","github":"https://github.com/semilattice-research","linkedin":"https://www.linkedin.com/company/semilattice"}},"icons":{"library":"lucide"},"banner":{"content":"Public Anacreon user models launch in November 2026. [What you can do until then](/user-models#public-user-models)","dismissible":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"semilattice","hasAudioNarration":false,"actualSubdomain":"semilattice","customDomains":["docs.semilattice.ai"],"gitSource":{"type":"github","owner":"semilattice-research","repo":"semilattice","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adab68b7191aa8611d09bc1","collectionId":"3716ade9-9e70-40f4-aac4-413d027e4a23","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adab68b7191aa8611d09bc1"},"entitlements":{},"buildId":"6adab68b7191aa8611d09bc1","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"API Reference","count":24},{"language":"default","tag":"Endpoints","count":23},{"language":"default","tag":"Simulations","count":8},{"language":"default","tag":"Get Started","count":7},{"language":"default","tag":"Measurement \u0026 Trust","count":6},{"language":"default","tag":"Documentation","count":5},{"language":"default","tag":"Rounds","count":5},{"language":"default","tag":"MCP","count":4},{"language":"default","tag":"Context","count":4},{"language":"default","tag":"Projects","count":4}]},"assistantConfig":{},"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":"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"global.css","content":":root{--sl-accent:#4B4FCF;--sl-accent-secondary:#3B3FA8;--sl-highlight:#F45AA8;--sl-signal:#00B7B3;--sl-fg:#1A1A1E;--sl-fg-dim:#7B7B86;--sl-bg:#F7F7FA;--sl-muted:#ECECF2;--sl-border:#DADAE3;--sl-dark-bg:#121213;--sl-dark-fg:#E6E6EA}.body-content h1{letter-spacing:-.03em;line-height:1.15}.body-content h2{letter-spacing:-.02em;line-height:1.25;margin-top:2.5rem}.body-content h3{letter-spacing:-.015em}.body-content p{line-height:1.75}.body-content [class*=Update]{margin-bottom:3rem;padding-bottom:3rem}.art-cabinet{margin-top:6rem;padding-top:4rem;border-top:1px solid var(--sl-border)}.art-cabinet-header{text-align:center;margin-bottom:3rem}.art-cabinet-header h2{font-size:.75rem;text-transform:uppercase;letter-spacing:.15em;color:var(--sl-fg-dim);font-weight:500;margin:0}.art-cabinet-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;max-width:720px;margin:0 auto}.art-piece{position:relative;aspect-ratio:4/3;border-radius:12px;overflow:hidden;cursor:pointer;background:var(--sl-muted);border:1px solid var(--sl-border);transition:border-color .3s ease,box-shadow .3s ease}.art-piece:hover{border-color:var(--sl-accent);box-shadow:0 4px 24px rgba(75,79,207,.08)}.art-piece canvas{width:100%;height:100%;display:block}.art-piece-label{position:absolute;bottom:0;left:0;right:0;padding:12px 16px;background:linear-gradient(transparent,rgba(26,26,30,.7));color:#fff;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;font-weight:500;opacity:0;transition:opacity .3s ease}.art-piece:hover .art-piece-label,.art-piece:hover .art-piece-play{opacity:1}.art-piece-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.9);border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s ease,transform .3s ease;box-shadow:0 2px 12px rgba(0,0,0,.1)}.art-piece-play:hover{transform:translate(-50%,-50%) scale(1.1)}.art-piece-play svg{width:18px;height:18px;fill:var(--sl-accent);margin-left:2px}.art-piece.playing .art-piece-play{opacity:0}.art-piece.playing .art-piece-label{opacity:1}"}],"page":{"pagePath":"api-reference/simulations/edit-the-plan","slug":"/api-reference/simulations/edit-the-plan","pageMetadata":{"title":"Edit the plan","description":"Edit the generated plan while the simulation is in status `planned`.\n\nEither replace the whole question set with `survey_questions`, or change\nparticular questions with `question_edits`, `add_questions` and\n`delete_question_ids`, not both in one call. A replace reissues every\nquestion id and the response says so with `question_ids_reissued`.","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json patch /v1/simulations/{simulation_id}/plan","href":"/api-reference/simulations/edit-the-plan","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Edit the generated plan while the simulation is in status \", _jsx(_components.code, {\n children: \"planned\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Either replace the whole question set with \", _jsx(_components.code, {\n children: \"survey_questions\"\n }), \", or change\\nparticular questions with \", _jsx(_components.code, {\n children: \"question_edits\"\n }), \", \", _jsx(_components.code, {\n children: \"add_questions\"\n }), \" and\\n\", _jsx(_components.code, {\n children: \"delete_question_ids\"\n }), \", not both in one call. A replace reissues every\\nquestion id and the response says so with \", _jsx(_components.code, {\n children: \"question_ids_reissued\"\n }), \".\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Edit the plan","description":"Edit the generated plan while the simulation is in status `planned`.\n\nEither replace the whole question set with `survey_questions`, or change\nparticular questions with `question_edits`, `add_questions` and\n`delete_question_ids`, not both in one call. A replace reissues every\nquestion id and the response says so with `question_ids_reissued`.","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json patch /v1/simulations/{simulation_id}/plan","href":"/api-reference/simulations/edit-the-plan","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Simulations"],"summary":"Edit the plan","description":"Edit the generated plan while the simulation is in status `planned`.\n\nEither replace the whole question set with `survey_questions`, or change\nparticular questions with `question_edits`, `add_questions` and\n`delete_question_ids`, not both in one call. A replace reissues every\nquestion id and the response says so with `question_ids_reissued`.","operationId":"update_plan_route_v1_simulations__simulation_id__plan_patch","parameters":["c9178a84-e565-4e62-abe1-4aa72e0cca94","0b48f121-af96-4bc6-ad7b-837a92eff272"],"requestBody":"1644eab2-18a8-4951-ae00-85e44cb15cbc","responses":{"200":"02696fd1-3cbc-4b3d-9f70-56e4634626c8","422":"1cc86edc-e7ff-4e58-b057-5b752a207761"},"method":"patch","type":"path","servers":["5b97cb34-1a4d-40f5-b1d6-ce2bf29421b1"],"security":["c1f39603-7da5-4981-952c-79a4343ed825"],"path":"/v1/simulations/{simulation_id}/plan","baseUrlOptions":["https://api.semilattice.ai"],"title":"Edit the plan","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"c9178a84-e565-4e62-abe1-4aa72e0cca94":{"name":"simulation_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Simulation Id","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}},"0b48f121-af96-4bc6-ad7b-837a92eff272":{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization","isRequired":false,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"question_text":{"oneOf":[{"type":"string","title":"Question Text","description":"What the simulation sets out to find out","uniqueKey":"question_text.oneOf.0","typeLabel":"string"},{"type":"null","title":"Question Text","description":"What the simulation sets out to find out","uniqueKey":"question_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"question_text","typeLabel":"string | null"},"hypothesis_text":{"oneOf":[{"type":"string","title":"Hypothesis Text","description":"What you expect the answers to show","uniqueKey":"hypothesis_text.oneOf.0","typeLabel":"string"},{"type":"null","title":"Hypothesis Text","description":"What you expect the answers to show","uniqueKey":"hypothesis_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"hypothesis_text","typeLabel":"string | null"},"survey_questions":{"oneOf":[{"type":"array","items":{"properties":{"question_text":{"type":"string","title":"Question Text","description":"The question, asked exactly as written","isRequired":true,"uniqueKey":"survey_questions.oneOf.0.items.[INDEX].question_text","typeLabel":"string"},"question_type":{"type":"string","title":"Question Type","description":"How the question is answered: 'single_choice' picks one of answer_options","default":"single_choice","uniqueKey":"survey_questions.oneOf.0.items.[INDEX].question_type","typeLabel":"string"},"answer_options":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"survey_questions.oneOf.0.items.[INDEX].answer_options.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Answer Options","description":"The answers to choose from, in order, e.g. from 'Very unlikely' to 'Very likely'","uniqueKey":"survey_questions.oneOf.0.items.[INDEX].answer_options.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Answer Options","description":"The answers to choose from, in order, e.g. from 'Very unlikely' to 'Very likely'","uniqueKey":"survey_questions.oneOf.0.items.[INDEX].answer_options.oneOf.1","typeLabel":"null"}],"uniqueKey":"survey_questions.oneOf.0.items.[INDEX].answer_options","typeLabel":"string[] | null"},"insight":{"oneOf":[{"type":"string","title":"Insight","description":"What the answers to this question tell you","uniqueKey":"survey_questions.oneOf.0.items.[INDEX].insight.oneOf.0","typeLabel":"string"},{"type":"null","title":"Insight","description":"What the answers to this question tell you","uniqueKey":"survey_questions.oneOf.0.items.[INDEX].insight.oneOf.1","typeLabel":"null"}],"uniqueKey":"survey_questions.oneOf.0.items.[INDEX].insight","typeLabel":"string | null"},"variable_name":{"oneOf":[{"type":"string","title":"Variable Name","description":"A short snake_case name for the question, e.g. 'likelihood_to_switch'","uniqueKey":"survey_questions.oneOf.0.items.[INDEX].variable_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Variable Name","description":"A short snake_case name for the question, e.g. 'likelihood_to_switch'","uniqueKey":"survey_questions.oneOf.0.items.[INDEX].variable_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"survey_questions.oneOf.0.items.[INDEX].variable_name","typeLabel":"string | null"},"question_text_local":{"oneOf":[{"type":"string","title":"Question Text Local","description":"The question in the user model's own language, for a non-English user model. This is what respondents are asked; the English is kept alongside.","uniqueKey":"survey_questions.oneOf.0.items.[INDEX].question_text_local.oneOf.0","typeLabel":"string"},{"type":"null","title":"Question Text Local","description":"The question in the user model's own language, for a non-English user model. This is what respondents are asked; the English is kept alongside.","uniqueKey":"survey_questions.oneOf.0.items.[INDEX].question_text_local.oneOf.1","typeLabel":"null"}],"uniqueKey":"survey_questions.oneOf.0.items.[INDEX].question_text_local","typeLabel":"string | null"},"answer_options_local":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"survey_questions.oneOf.0.items.[INDEX].answer_options_local.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Answer Options Local","description":"The answer options in the user model's own language, in the same order and the same count as answer_options.","uniqueKey":"survey_questions.oneOf.0.items.[INDEX].answer_options_local.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Answer Options Local","description":"The answer options in the user model's own language, in the same order and the same count as answer_options.","uniqueKey":"survey_questions.oneOf.0.items.[INDEX].answer_options_local.oneOf.1","typeLabel":"null"}],"uniqueKey":"survey_questions.oneOf.0.items.[INDEX].answer_options_local","typeLabel":"string[] | null"}},"type":"object","required":["question_text"],"title":"SurveyQuestionIn","uniqueKey":"survey_questions.oneOf.0.items.[INDEX]","typeLabel":"SurveyQuestionIn · object"},"title":"Survey Questions","description":"Replaces the whole question set. Every question gets a new id, so ids from an earlier read are stale afterwards. Cannot be combined with question_edits, add_questions or delete_question_ids.","uniqueKey":"survey_questions.oneOf.0","typeLabel":"SurveyQuestionIn · object[]"},{"type":"null","title":"Survey Questions","description":"Replaces the whole question set. Every question gets a new id, so ids from an earlier read are stale afterwards. Cannot be combined with question_edits, add_questions or delete_question_ids.","uniqueKey":"survey_questions.oneOf.1","typeLabel":"null"}],"uniqueKey":"survey_questions","typeLabel":"SurveyQuestionIn · object[] | null"},"question_edits":{"oneOf":[{"type":"array","items":{"properties":{"id":{"type":"string","format":"uuid","title":"Id","description":"The question's id, from `GET /v1/simulations/{id}`","isRequired":true,"uniqueKey":"question_edits.oneOf.0.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"question_text":{"oneOf":[{"type":"string","title":"Question Text","description":"The question, asked exactly as written","uniqueKey":"question_edits.oneOf.0.items.[INDEX].question_text.oneOf.0","typeLabel":"string"},{"type":"null","title":"Question Text","description":"The question, asked exactly as written","uniqueKey":"question_edits.oneOf.0.items.[INDEX].question_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"question_edits.oneOf.0.items.[INDEX].question_text","typeLabel":"string | null"},"question_type":{"oneOf":[{"type":"string","title":"Question Type","description":"How the question is answered: 'single_choice' picks one of answer_options","uniqueKey":"question_edits.oneOf.0.items.[INDEX].question_type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Question Type","description":"How the question is answered: 'single_choice' picks one of answer_options","uniqueKey":"question_edits.oneOf.0.items.[INDEX].question_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"question_edits.oneOf.0.items.[INDEX].question_type","typeLabel":"string | null"},"answer_options":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"question_edits.oneOf.0.items.[INDEX].answer_options.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Answer Options","description":"The answers to choose from, in order, e.g. from 'Very unlikely' to 'Very likely'","uniqueKey":"question_edits.oneOf.0.items.[INDEX].answer_options.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Answer Options","description":"The answers to choose from, in order, e.g. from 'Very unlikely' to 'Very likely'","uniqueKey":"question_edits.oneOf.0.items.[INDEX].answer_options.oneOf.1","typeLabel":"null"}],"uniqueKey":"question_edits.oneOf.0.items.[INDEX].answer_options","typeLabel":"string[] | null"},"insight":{"oneOf":[{"type":"string","title":"Insight","description":"What the answers to this question tell you","uniqueKey":"question_edits.oneOf.0.items.[INDEX].insight.oneOf.0","typeLabel":"string"},{"type":"null","title":"Insight","description":"What the answers to this question tell you","uniqueKey":"question_edits.oneOf.0.items.[INDEX].insight.oneOf.1","typeLabel":"null"}],"uniqueKey":"question_edits.oneOf.0.items.[INDEX].insight","typeLabel":"string | null"},"variable_name":{"oneOf":[{"type":"string","title":"Variable Name","description":"A short snake_case name for the question, e.g. 'likelihood_to_switch'","uniqueKey":"question_edits.oneOf.0.items.[INDEX].variable_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Variable Name","description":"A short snake_case name for the question, e.g. 'likelihood_to_switch'","uniqueKey":"question_edits.oneOf.0.items.[INDEX].variable_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"question_edits.oneOf.0.items.[INDEX].variable_name","typeLabel":"string | null"},"order":{"oneOf":[{"type":"integer","title":"Order","description":"The question's position in the plan, from 0","uniqueKey":"question_edits.oneOf.0.items.[INDEX].order.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Order","description":"The question's position in the plan, from 0","uniqueKey":"question_edits.oneOf.0.items.[INDEX].order.oneOf.1","typeLabel":"null"}],"uniqueKey":"question_edits.oneOf.0.items.[INDEX].order","typeLabel":"integer | null"},"question_text_local":{"oneOf":[{"type":"string","title":"Question Text Local","description":"The question in the user model's own language, for a non-English user model. This is what respondents are asked; the English is kept alongside. Sent without question_text, the English is translated from it.","uniqueKey":"question_edits.oneOf.0.items.[INDEX].question_text_local.oneOf.0","typeLabel":"string"},{"type":"null","title":"Question Text Local","description":"The question in the user model's own language, for a non-English user model. This is what respondents are asked; the English is kept alongside. Sent without question_text, the English is translated from it.","uniqueKey":"question_edits.oneOf.0.items.[INDEX].question_text_local.oneOf.1","typeLabel":"null"}],"uniqueKey":"question_edits.oneOf.0.items.[INDEX].question_text_local","typeLabel":"string | null"},"answer_options_local":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"question_edits.oneOf.0.items.[INDEX].answer_options_local.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Answer Options Local","description":"The answer options in the user model's own language, in the same order and the same count as answer_options.","uniqueKey":"question_edits.oneOf.0.items.[INDEX].answer_options_local.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Answer Options Local","description":"The answer options in the user model's own language, in the same order and the same count as answer_options.","uniqueKey":"question_edits.oneOf.0.items.[INDEX].answer_options_local.oneOf.1","typeLabel":"null"}],"uniqueKey":"question_edits.oneOf.0.items.[INDEX].answer_options_local","typeLabel":"string[] | null"}},"type":"object","required":["id"],"title":"QuestionEditIn","uniqueKey":"question_edits.oneOf.0.items.[INDEX]","typeLabel":"QuestionEditIn · object"},"title":"Question Edits","description":"Change particular questions by id. Only the fields sent change; every other question keeps its id.","uniqueKey":"question_edits.oneOf.0","typeLabel":"QuestionEditIn · object[]"},{"type":"null","title":"Question Edits","description":"Change particular questions by id. Only the fields sent change; every other question keeps its id.","uniqueKey":"question_edits.oneOf.1","typeLabel":"null"}],"uniqueKey":"question_edits","typeLabel":"QuestionEditIn · object[] | null"},"add_questions":{"oneOf":[{"type":"array","items":{"properties":{"question_text":{"type":"string","title":"Question Text","description":"The question, asked exactly as written","isRequired":true,"uniqueKey":"add_questions.oneOf.0.items.[INDEX].question_text","typeLabel":"string"},"question_type":{"type":"string","title":"Question Type","description":"How the question is answered: 'single_choice' picks one of answer_options","default":"single_choice","uniqueKey":"add_questions.oneOf.0.items.[INDEX].question_type","typeLabel":"string"},"answer_options":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"add_questions.oneOf.0.items.[INDEX].answer_options.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Answer Options","description":"The answers to choose from, in order, e.g. from 'Very unlikely' to 'Very likely'","uniqueKey":"add_questions.oneOf.0.items.[INDEX].answer_options.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Answer Options","description":"The answers to choose from, in order, e.g. from 'Very unlikely' to 'Very likely'","uniqueKey":"add_questions.oneOf.0.items.[INDEX].answer_options.oneOf.1","typeLabel":"null"}],"uniqueKey":"add_questions.oneOf.0.items.[INDEX].answer_options","typeLabel":"string[] | null"},"insight":{"oneOf":[{"type":"string","title":"Insight","description":"What the answers to this question tell you","uniqueKey":"add_questions.oneOf.0.items.[INDEX].insight.oneOf.0","typeLabel":"string"},{"type":"null","title":"Insight","description":"What the answers to this question tell you","uniqueKey":"add_questions.oneOf.0.items.[INDEX].insight.oneOf.1","typeLabel":"null"}],"uniqueKey":"add_questions.oneOf.0.items.[INDEX].insight","typeLabel":"string | null"},"variable_name":{"oneOf":[{"type":"string","title":"Variable Name","description":"A short snake_case name for the question, e.g. 'likelihood_to_switch'","uniqueKey":"add_questions.oneOf.0.items.[INDEX].variable_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Variable Name","description":"A short snake_case name for the question, e.g. 'likelihood_to_switch'","uniqueKey":"add_questions.oneOf.0.items.[INDEX].variable_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"add_questions.oneOf.0.items.[INDEX].variable_name","typeLabel":"string | null"},"question_text_local":{"oneOf":[{"type":"string","title":"Question Text Local","description":"The question in the user model's own language, for a non-English user model. This is what respondents are asked; the English is kept alongside.","uniqueKey":"add_questions.oneOf.0.items.[INDEX].question_text_local.oneOf.0","typeLabel":"string"},{"type":"null","title":"Question Text Local","description":"The question in the user model's own language, for a non-English user model. This is what respondents are asked; the English is kept alongside.","uniqueKey":"add_questions.oneOf.0.items.[INDEX].question_text_local.oneOf.1","typeLabel":"null"}],"uniqueKey":"add_questions.oneOf.0.items.[INDEX].question_text_local","typeLabel":"string | null"},"answer_options_local":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"add_questions.oneOf.0.items.[INDEX].answer_options_local.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Answer Options Local","description":"The answer options in the user model's own language, in the same order and the same count as answer_options.","uniqueKey":"add_questions.oneOf.0.items.[INDEX].answer_options_local.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Answer Options Local","description":"The answer options in the user model's own language, in the same order and the same count as answer_options.","uniqueKey":"add_questions.oneOf.0.items.[INDEX].answer_options_local.oneOf.1","typeLabel":"null"}],"uniqueKey":"add_questions.oneOf.0.items.[INDEX].answer_options_local","typeLabel":"string[] | null"}},"type":"object","required":["question_text"],"title":"SurveyQuestionIn","uniqueKey":"add_questions.oneOf.0.items.[INDEX]","typeLabel":"SurveyQuestionIn · object"},"title":"Add Questions","description":"Questions appended after the existing ones.","uniqueKey":"add_questions.oneOf.0","typeLabel":"SurveyQuestionIn · object[]"},{"type":"null","title":"Add Questions","description":"Questions appended after the existing ones.","uniqueKey":"add_questions.oneOf.1","typeLabel":"null"}],"uniqueKey":"add_questions","typeLabel":"SurveyQuestionIn · object[] | null"},"delete_question_ids":{"oneOf":[{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"delete_question_ids.oneOf.0.items.[INDEX]","typeLabel":"string\u003cuuid>"},"title":"Delete Question Ids","description":"Ids of questions to delete.","uniqueKey":"delete_question_ids.oneOf.0","typeLabel":"string\u003cuuid>[]"},{"type":"null","title":"Delete Question Ids","description":"Ids of questions to delete.","uniqueKey":"delete_question_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"delete_question_ids","typeLabel":"string\u003cuuid>[] | null"},"journey_task":{"oneOf":[{"type":"object","title":"Journey Task","description":"Replaces the journey task. Its shape depends on the goal: see journey_task_shape on the goal in /v1/simulation-schema.","additionalProperties":true,"uniqueKey":"journey_task.oneOf.0","typeLabel":"Journey Task · object"},{"type":"null","title":"Journey Task","description":"Replaces the journey task. Its shape depends on the goal: see journey_task_shape on the goal in /v1/simulation-schema.","uniqueKey":"journey_task.oneOf.1","typeLabel":"null"}],"uniqueKey":"journey_task","typeLabel":"Journey Task · object | null"}},"type":"object","title":"UpdatePlanBody","uniqueKey":"","typeLabel":"UpdatePlanBody · object"},"examples":{"Example":{"title":"Example","value":{"question_text":"\u003cstring>","hypothesis_text":"\u003cstring>","survey_questions":[{"question_text":"\u003cstring>","question_type":"single_choice","answer_options":["\u003cstring>"],"insight":"\u003cstring>","variable_name":"\u003cstring>","question_text_local":"\u003cstring>","answer_options_local":["\u003cstring>"]}],"question_edits":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","question_text":"\u003cstring>","question_type":"\u003cstring>","answer_options":["\u003cstring>"],"insight":"\u003cstring>","variable_name":"\u003cstring>","order":123,"question_text_local":"\u003cstring>","answer_options_local":["\u003cstring>"]}],"add_questions":[{"question_text":"\u003cstring>","question_type":"single_choice","answer_options":["\u003cstring>"],"insight":"\u003cstring>","variable_name":"\u003cstring>","question_text_local":"\u003cstring>","answer_options_local":["\u003cstring>"]}],"delete_question_ids":["3c90c3cc-0d44-4b50-8888-8dd25736052a"],"journey_task":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"02696fd1-3cbc-4b3d-9f70-56e4634626c8":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"exampleType":"generated"},"1cc86edc-e7ff-4e58-b057-5b752a207761":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c1f39603-7da5-4981-952c-79a4343ed825":{"BearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"5b97cb34-1a4d-40f5-b1d6-ce2bf29421b1":{"url":"https://api.semilattice.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"https://api.semilattice.ai/openapi.json"},"subdomain":"semilattice","siteName":"Semilattice","title":"Edit the plan - Semilattice","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-21T16:03:20.120Z","originalFileLocation":"api-reference/simulations/edit-the-plan.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=\"Edit the generated plan while the simulation is in status planned. Either replace the whole question set with survey_questions, or change particular questions with question_edits, add_questions and delete_question_ids, not both in one call. A replace reissues every question id and the response says so with question_ids_reissued.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Semilattice\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/semilattice/r0JBpKcdeZoKYb0T/_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/semilattice/r0JBpKcdeZoKYb0T/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/semilattice/r0JBpKcdeZoKYb0T/_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/semilattice/r0JBpKcdeZoKYb0T/_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/semilattice/r0JBpKcdeZoKYb0T/_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/semilattice/r0JBpKcdeZoKYb0T/_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/semilattice/r0JBpKcdeZoKYb0T/_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/semilattice/r0JBpKcdeZoKYb0T/_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/semilattice/r0JBpKcdeZoKYb0T/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Edit the plan - Semilattice\">\u003cmeta data-mint-head property=\"og:description\" content=\"Edit the generated plan while the simulation is in status planned. Either replace the whole question set with survey_questions, or change particular questions with question_edits, add_questions and delete_question_ids, not both in one call. A replace reissues every question id and the response says so with question_ids_reissued.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Semilattice\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.semilattice.ai/api-reference/simulations/edit-the-plan\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://semilattice.mintlify.app/_mintlify/api/og/v2?division=Simulations\u0026amp;title=Edit+the+plan\u0026amp;description=Edit+the+generated+plan+while+the+simulation+is+in+status+%60planned%60.%0A%0AEither+replace+the+whole+question+set+with+%60survey_questions%60%2C+or+change%0Aparticular+questi\u0026amp;theme=16269cd9edbbf4ce42d662fe\u0026amp;signature=db4bd00759c65e27f01963590c142922433c4faeb38fe27f5802fa663dc0b920\">\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=\"Edit the plan - Semilattice\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Edit the generated plan while the simulation is in status planned. Either replace the whole question set with survey_questions, or change particular questions with question_edits, add_questions and delete_question_ids, not both in one call. A replace reissues every question id and the response says so with question_ids_reissued.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://semilattice.mintlify.app/_mintlify/api/og/v2?division=Simulations\u0026amp;title=Edit+the+plan\u0026amp;description=Edit+the+generated+plan+while+the+simulation+is+in+status+%60planned%60.%0A%0AEither+replace+the+whole+question+set+with+%60survey_questions%60%2C+or+change%0Aparticular+questi\u0026amp;theme=16269cd9edbbf4ce42d662fe\u0026amp;signature=db4bd00759c65e27f01963590c142922433c4faeb38fe27f5802fa663dc0b920\">\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/semilattice/r0JBpKcdeZoKYb0T/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Semilattice\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4B4FCF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.semilattice.ai/api-reference/simulations/edit-the-plan\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/simulations/edit-the-plan.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.semilattice.ai/#organization\",\"name\":\"Semilattice\",\"url\":\"https://docs.semilattice.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/semilattice/Bq2OGFClOPtUvJA7/logo/light.svg?fit=max\u0026auto=format\u0026n=Bq2OGFClOPtUvJA7\u0026q=85\u0026s=16b9d08d8fe11ee44445bcd18b9166ca\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.semilattice.ai#website\",\"name\":\"Semilattice\",\"url\":\"https://docs.semilattice.ai\",\"publisher\":{\"@id\":\"https://docs.semilattice.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.semilattice.ai/api-reference/simulations/edit-the-plan#webpage\",\"url\":\"https://docs.semilattice.ai/api-reference/simulations/edit-the-plan\",\"name\":\"Edit the plan\",\"description\":\"Edit the generated plan while the simulation is in status planned. Either replace the whole question set with survey_questions, or change particular questions with question_edits, add_questions and delete_question_ids, not both in one call. A replace reissues every question id and the response says so with question_ids_reissued.\",\"dateModified\":\"2026-10-21T16:03:20.120Z\",\"isPartOf\":{\"@id\":\"https://docs.semilattice.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.semilattice.ai/api-reference/simulations/edit-the-plan#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.semilattice.ai/api-reference/simulations/edit-the-plan#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.semilattice.ai/api-reference/user-models/list-user-models\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Simulations\",\"item\":\"https://docs.semilattice.ai/api-reference/simulations/list-simulations\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Edit the plan\",\"item\":\"https://docs.semilattice.ai/api-reference/simulations/edit-the-plan\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.semilattice.ai/api-reference/simulations/edit-the-plan#apireference\",\"headline\":\"Edit the plan\",\"name\":\"Edit the plan\",\"description\":\"Edit the generated plan while the simulation is in status planned. Either replace the whole question set with survey_questions, or change particular questions with question_edits, add_questions and delete_question_ids, not both in one call. A replace reissues every question id and the response says so with question_ids_reissued.\",\"url\":\"https://docs.semilattice.ai/api-reference/simulations/edit-the-plan\",\"mainEntityOfPage\":{\"@id\":\"https://docs.semilattice.ai/api-reference/simulations/edit-the-plan#webpage\"},\"dateModified\":\"2026-10-21T16:03:20.120Z\",\"publisher\":{\"@id\":\"https://docs.semilattice.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.semilattice.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Semilattice\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Semilattice","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/introduction"}]},{"tab":"API Reference","groups":[{"group":"Get Started","icon":"rocket","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"group":"User Models","pages":[{"title":"List user models","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json get /v1/user-models","href":"/api-reference/user-models/list-user-models"}]},{"group":"Simulation Schema","pages":[{"title":"Discover goals and inputs","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json get /v1/simulation-schema","href":"/api-reference/simulation-schema/discover-goals-and-inputs"}]},{"group":"Simulations","pages":[{"title":"List simulations","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json get /v1/simulations","href":"/api-reference/simulations/list-simulations"},{"title":"Create a simulation","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json post /v1/simulations","href":"/api-reference/simulations/create-a-simulation"},{"title":"Get a simulation","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json get /v1/simulations/{simulation_id}","href":"/api-reference/simulations/get-a-simulation"},{"title":"Delete a simulation","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json delete /v1/simulations/{simulation_id}","href":"/api-reference/simulations/delete-a-simulation"},{"title":"Move a simulation into a project","description":"Move a simulation into a project. Allowed only when the simulation has no\nproject yet; it joins the project's latest round (a first round is created\nfor an empty project). Anything else returns 409.","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json patch /v1/simulations/{simulation_id}","href":"/api-reference/simulations/move-a-simulation-into-a-project"},{"title":"Edit the plan","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json patch /v1/simulations/{simulation_id}/plan","href":"/api-reference/simulations/edit-the-plan"},{"title":"Run a simulation","description":"Run a `planned` simulation. It moves to `running` and runs in the\nbackground, taking from a few minutes to around half an hour. Poll\n`GET /v1/simulations/{id}` until it is `completed` or `failed`.","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json post /v1/simulations/{simulation_id}/run","href":"/api-reference/simulations/run-a-simulation"},{"title":"Make a simulation public","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json post /v1/simulations/{simulation_id}/share","href":"/api-reference/simulations/make-a-simulation-public"}]},{"group":"Projects","pages":[{"title":"List projects","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json get /v1/projects","href":"/api-reference/projects/list-projects"},{"title":"Create a project","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json post /v1/projects","href":"/api-reference/projects/create-a-project"},{"title":"Get a project","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json get /v1/projects/{project_id}","href":"/api-reference/projects/get-a-project"},{"title":"Rename a project","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json patch /v1/projects/{project_id}","href":"/api-reference/projects/rename-a-project"}]},{"group":"Rounds","pages":[{"title":"Start a round","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json post /v1/projects/{project_id}/rounds","href":"/api-reference/rounds/start-a-round"},{"title":"Rename a round","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json patch /v1/projects/{project_id}/rounds/{round_id}","href":"/api-reference/rounds/rename-a-round"},{"title":"Attach a round's artefact","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json post /v1/projects/{project_id}/rounds/{round_id}/artefact","href":"/api-reference/rounds/attach-a-rounds-artefact"},{"title":"Upload a round's artefact","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json post /v1/projects/{project_id}/rounds/{round_id}/artefact/file","href":"/api-reference/rounds/upload-a-rounds-artefact"},{"title":"Regenerate a round's synthesis","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json post /v1/projects/{project_id}/rounds/{round_id}/synthesis","href":"/api-reference/rounds/regenerate-a-rounds-synthesis"}]},{"group":"Context","pages":[{"title":"Get your default context","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json get /v1/context","href":"/api-reference/context/get-your-default-context"},{"title":"List contexts","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json get /v1/contexts","href":"/api-reference/context/list-contexts"},{"title":"Create a context","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json post /v1/contexts","href":"/api-reference/context/create-a-context"},{"title":"Get a context","deprecated":null,"version":null,"openapi":"https://api.semilattice.ai/openapi.json get /v1/contexts/{context_id}","href":"/api-reference/context/get-a-context"}]}]}]},{"tab":"Measurement \u0026 Trust","pages":[{"title":"Measurement \u0026 Trust","href":"/measurement"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"title":"Edit the plan - Semilattice","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-cfwQA_n9.js","dist-2LoAhjKH.js","lib--scc4DXi.js","lib-B8HbPgcC.js","clsx-DZLdJUrt.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-Bbp7I60D.js","utils-C3RIvJha.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DqD-vLt8.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B31Loprg.js","snippetPresets-DKpk-b8t.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Cj65AhOR.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BXtn5gcC.js","shallow-RY2b03Cp.js","getApiPlaygroundDisplay-B0jeiPk3.js","CodeSnippet-CYgBjjwn.js","CodeSnippets-DOngDrYB.js","Page-n7I5XbKb.js","getPastedJson-DRQbJx-T.js","icon-CQiQCicY.js","MethodPill-BKTLdNtu.js","DuplicateIcon-B9jpAdat.js","createIcon-DCddRrXv.js","DynamicMarkdown-a8hUKrw6.js","SectionHeading-eECVV2eH.js","axios-vUo_bRtp.js","Markdown--GF7ZIpf.js","AssistantPageLink-Zwc0ZncM.js"]}