{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Sutro","colors":{"primary":"#84cc16","light":"#84cc16","dark":"#a3e635"},"logo":{"light":"https://mintcdn.com/sutro-75998512/l_TnefnRzgpYD-f3/assets/Sutro-logo-onLight.svg?fit=max\u0026auto=format\u0026n=l_TnefnRzgpYD-f3\u0026q=85\u0026s=505571433da95450399b085fac2f9635","dark":"https://mintcdn.com/sutro-75998512/l_TnefnRzgpYD-f3/assets/Sutro-logo-onDark.svg?fit=max\u0026auto=format\u0026n=l_TnefnRzgpYD-f3\u0026q=85\u0026s=7d132c36b2fb0ac8c2319065041a6534"},"favicon":{"light":"https://mintcdn.com/sutro-75998512/l_TnefnRzgpYD-f3/assets/Sutro-fav-onLight.svg?fit=max\u0026auto=format\u0026n=l_TnefnRzgpYD-f3\u0026q=85\u0026s=be29c2114fbd99ff43851aedf61ac12e","dark":"https://mintcdn.com/sutro-75998512/l_TnefnRzgpYD-f3/assets/Sutro-fav-onDark.svg?fit=max\u0026auto=format\u0026n=l_TnefnRzgpYD-f3\u0026q=85\u0026s=aed7dbbe07d7a2889113bdd636525d51"},"api":{"playground":{"display":"none"}},"navbar":{"links":[{"href":"https://console.withsutro.com/","label":"Go to Console"}],"primary":{"type":"button","label":"Go to Studio","href":"https://studio.withsutro.com/"}},"fonts":{"heading":{"family":"Space Grotesk"},"body":{"family":"DM Sans"}},"icons":{"library":"lucide"},"integrations":{"posthog":{"apiKey":"phc_HE873e7NM6rtV2YYnZmTr9STpQH0OH6OQOGRfV4ZFtp","apiHost":"https://postdog.withsutro.com","sessionRecording":true}},"thumbnails":{"fonts":{"family":"Space Grotesk"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sutro-75998512","hasAudioNarration":false,"actualSubdomain":"sutro-75998512","customDomains":["docs.withsutro.com"],"gitSource":{"type":"github","owner":"sutroorg","repo":"sutro-2-shoreditch","deployBranch":"main","contentDirectory":"api","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae940d8154b93fd002abd20:success","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"API Reference","count":79},{"language":"default","tag":"Docs","count":32},{"language":"default","tag":"UAPI Reference","count":31},{"language":"default","tag":"applications","count":18},{"language":"default","tag":"Modular APIs","count":16},{"language":"default","tag":"members","count":11},{"language":"default","tag":"actions-effects","count":10},{"language":"default","tag":"SLang","count":9},{"language":"default","tag":"certificates","count":9},{"language":"default","tag":"data-models","count":9}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","content":".bg-primary-dark span.z-10.text-white,.bg-primary-dark span.z-10,.bg-primary-dark span.text-white{color:rgba(20, 21, 26, 1)!important}a[href=\"https://console.withsutro.com/\"].bg-primary-dark span.z-10,a[href=\"https://console.withsutro.com/\"].bg-primary-dark span.text-white{color:rgba(20, 21, 26, 1)!important}b.bg-primary-dark span.z-10,b.bg-primary-dark span.text-white{color:rgba(20, 21, 26, 1)!important}"}]}
{"page":{"pagePath":"api-reference/applications/edit-an-application-using-natural-language","slug":"/api-reference/applications/edit-an-application-using-natural-language","pageMetadata":{"title":"Edit an application using natural language","description":null,"deprecated":null,"version":null,"openapi":"/openapi.yaml post /applications/{applicationId}/slang-edit","href":"/api-reference/applications/edit-an-application-using-natural-language","autogeneratedByOpenApi":true},"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 an application using natural language","description":null,"deprecated":null,"version":null,"openapi":"/openapi.yaml post /applications/{applicationId}/slang-edit","href":"/api-reference/applications/edit-an-application-using-natural-language","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/sutro-75998512/b056555520c39edf/eslint.config.js"],"openApiReferenceData":{"operation":{"operationId":"slangEdit","x-permissions":["application:own:update"],"summary":"Edit an application using natural language","tags":["applications"],"requestBody":"1c38d7ba-02d4-469a-856c-34dfd9323829","responses":{"202":"024dc2cc-410b-4b90-911f-5c5b5606008f","404":"022a6d93-45ff-4a4a-b045-a7a885ea3990"},"method":"post","type":"path","servers":["d676de18-9b81-48ed-a0fd-d2a252ed0764"],"security":["337a5575-4152-4746-8555-e59368658318"],"path":"/applications/{applicationId}/slang-edit","baseUrlOptions":["https://sapi.withsutro.com"],"title":"Edit an application using natural language","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"8dda85ac-7c23-4be9-a3f1-fb499de9ac17":{"name":"applicationId","in":"path","schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"},"required":true}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"The natural language edit instruction","isRequired":true,"uniqueKey":"prompt","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"prompt":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"024dc2cc-410b-4b90-911f-5c5b5606008f":{"description":"Edit job accepted and queued for processing","content":{"application/json":{"schema":{"type":"object","required":["id","implementationJobId","jobType","status","customerId","projectId"],"properties":{"id":{"type":"string","format":"uuid","description":"The job ID","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"implementationJobId":{"type":"string","description":"The implementation job ID","isRequired":true,"uniqueKey":"implementationJobId","typeLabel":"string"},"jobType":{"type":"string","enum":["figma_code_generation","application_generation","follow_up_change","slang_edit","test"],"description":"The type of job","isRequired":true,"uniqueKey":"jobType","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["queued","active","completed","failed","cancelled"],"description":"The current status of the job","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"customerId":{"type":"string","format":"uuid","description":"The customer ID","isRequired":true,"uniqueKey":"customerId","typeLabel":"string\u003cuuid>"},"projectId":{"type":"string","format":"uuid","description":"The project ID","isRequired":true,"uniqueKey":"projectId","typeLabel":"string\u003cuuid>"},"metadata":{"type":"object","description":"Job-specific metadata (structure depends on jobType)","uniqueKey":"metadata","typeLabel":"object"},"errorMessage":{"oneOf":[{"type":"string","description":"Error message if the job failed","uniqueKey":"errorMessage.oneOf.0","typeLabel":"string"},{"type":"null","description":"Error message if the job failed","uniqueKey":"errorMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorMessage","typeLabel":"string | null"},"errorStack":{"oneOf":[{"type":"string","description":"Error stack trace if the job failed","uniqueKey":"errorStack.oneOf.0","typeLabel":"string"},{"type":"null","description":"Error stack trace if the job failed","uniqueKey":"errorStack.oneOf.1","typeLabel":"null"}],"uniqueKey":"errorStack","typeLabel":"string | null"},"startedAt":{"oneOf":[{"type":"string","description":"When the job started","uniqueKey":"startedAt.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the job started","uniqueKey":"startedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"startedAt","typeLabel":"string | null"},"completedAt":{"oneOf":[{"type":"string","description":"When the job completed","uniqueKey":"completedAt.oneOf.0","typeLabel":"string"},{"type":"null","description":"When the job completed","uniqueKey":"completedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"completedAt","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","implementationJobId":"\u003cstring>","jobType":"figma_code_generation","status":"queued","customerId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","projectId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","metadata":{},"errorMessage":"\u003cstring>","errorStack":"\u003cstring>","startedAt":"\u003cstring>","completedAt":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"022a6d93-45ff-4a4a-b045-a7a885ea3990":{"description":"Application not found","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"337a5575-4152-4746-8555-e59368658318":{"apiAuth":{"description":"Mutual TLS authentication using client certificates. Requires three certificate files from your security bundle: `ca.crt` (CA certificate to verify the server), `mtls.key` (client private key), and `mtls.crt` (client certificate). In curl, use: `--cacert ca.crt --key mtls.key --cert mtls.crt`","type":"mutualTLS","scopes":[]},"builderAuth":{"description":"Builder authentication and authorization","type":"http","scheme":"bearer","bearerFormat":"jwt","scopes":[]},"apiClientId":{"description":"A unique identifier for the API Client making a request","type":"apiKey","in":"header","name":"x-sutro-api-client","scopes":[]}}},"servers":{"d676de18-9b81-48ed-a0fd-d2a252ed0764":{"description":"Production","url":"https://sapi.withsutro.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"Builder authentication and authorization","type":"http","scheme":"bearer","bearerFormat":"jwt","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Builder authentication and authorization","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"builderAuth","name":"Authorization"},{"scheme":{"description":"A unique identifier for the API Client making a request","type":"apiKey","in":"header","name":"x-sutro-api-client","scopes":[]},"schema":{"title":"x-sutro-api-client","type":"string","description":"A unique identifier for the API Client making a request","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiClientId","name":"x-sutro-api-client"}],"title":"builderAuth \u0026 apiClientId"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"sutro-75998512","siteName":"Sutro","title":"Edit an application using natural language - Sutro","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-18T10:33:40.423Z","originalFileLocation":"api-reference/applications/edit-an-application-using-natural-language.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=\"application-name\" content=\"Sutro\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sutro-75998512/Vn3cMM-Q-ls1weim/_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/sutro-75998512/Vn3cMM-Q-ls1weim/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sutro-75998512/Vn3cMM-Q-ls1weim/_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/sutro-75998512/Vn3cMM-Q-ls1weim/_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/sutro-75998512/Vn3cMM-Q-ls1weim/_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/sutro-75998512/Vn3cMM-Q-ls1weim/_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/sutro-75998512/Vn3cMM-Q-ls1weim/_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/sutro-75998512/Vn3cMM-Q-ls1weim/_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/sutro-75998512/Vn3cMM-Q-ls1weim/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Edit an application using natural language - Sutro\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sutro\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.withsutro.com/api-reference/applications/edit-an-application-using-natural-language\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sutro-75998512.mintlify.site/_mintlify/api/og/v2?division=applications\u0026amp;title=Edit+an+application+using+natural+language\u0026amp;theme=76df4c43f312f774c8d6843d\u0026amp;signature=495be61acaa82ee7ad6d36da9eff2d146f27d39a88001ae4c7fd7dbad1818d5d\">\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 an application using natural language - Sutro\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sutro-75998512.mintlify.site/_mintlify/api/og/v2?division=applications\u0026amp;title=Edit+an+application+using+natural+language\u0026amp;theme=76df4c43f312f774c8d6843d\u0026amp;signature=495be61acaa82ee7ad6d36da9eff2d146f27d39a88001ae4c7fd7dbad1818d5d\">\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/sutro-75998512/Vn3cMM-Q-ls1weim/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sutro\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#84cc16\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.withsutro.com/api-reference/applications/edit-an-application-using-natural-language\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/applications/edit-an-application-using-natural-language.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.withsutro.com/#organization\",\"name\":\"Sutro\",\"url\":\"https://docs.withsutro.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sutro-75998512/l_TnefnRzgpYD-f3/assets/Sutro-logo-onLight.svg?fit=max\u0026auto=format\u0026n=l_TnefnRzgpYD-f3\u0026q=85\u0026s=505571433da95450399b085fac2f9635\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.withsutro.com#website\",\"name\":\"Sutro\",\"url\":\"https://docs.withsutro.com\",\"publisher\":{\"@id\":\"https://docs.withsutro.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.withsutro.com/api-reference/applications/edit-an-application-using-natural-language#webpage\",\"url\":\"https://docs.withsutro.com/api-reference/applications/edit-an-application-using-natural-language\",\"name\":\"Edit an application using natural language\",\"dateModified\":\"2026-06-18T10:33:40.423Z\",\"isPartOf\":{\"@id\":\"https://docs.withsutro.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.withsutro.com/api-reference/applications/edit-an-application-using-natural-language#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.withsutro.com/api-reference/applications/edit-an-application-using-natural-language#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"applications\",\"item\":\"https://docs.withsutro.com/api-reference/applications/list-applications-for-a-project\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Edit an application using natural language\",\"item\":\"https://docs.withsutro.com/api-reference/applications/edit-an-application-using-natural-language\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.withsutro.com/api-reference/applications/edit-an-application-using-natural-language#apireference\",\"headline\":\"Edit an application using natural language\",\"name\":\"Edit an application using natural language\",\"url\":\"https://docs.withsutro.com/api-reference/applications/edit-an-application-using-natural-language\",\"mainEntityOfPage\":{\"@id\":\"https://docs.withsutro.com/api-reference/applications/edit-an-application-using-natural-language#webpage\"},\"dateModified\":\"2026-06-18T10:33:40.423Z\",\"publisher\":{\"@id\":\"https://docs.withsutro.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.withsutro.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sutro\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Sutro\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/applications/edit-an-application-using-natural-language.md","siteName":"Sutro","nav":{"global":null,"tabs":[{"tab":"Docs","icon":"book-open","pages":[{"title":"Docs","href":"/docs/getting-started/welcome"}]},{"tab":"API Reference","icon":"square-terminal","groups":[{"group":"projects","pages":[{"title":"Get a list of projects","deprecated":null,"version":null,"openapi":"/openapi.yaml get /projects","href":"/api-reference/projects/get-a-list-of-projects"},{"title":"Create a new project","deprecated":null,"version":null,"openapi":"/openapi.yaml post /projects","href":"/api-reference/projects/create-a-new-project"},{"title":"Get a list of projects with member counts","deprecated":null,"version":null,"openapi":"/openapi.yaml get /projects/members","href":"/api-reference/projects/get-a-list-of-projects-with-member-counts"},{"title":"Get details about a specific project","deprecated":null,"version":null,"openapi":"/openapi.yaml get /projects/{projectId}","href":"/api-reference/projects/get-details-about-a-specific-project"},{"title":"Delete a project","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /projects/{projectId}","href":"/api-reference/projects/delete-a-project"},{"title":"Update a project's name","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /projects/{projectId}","href":"/api-reference/projects/update-a-projects-name"},{"title":"Get members of a project","deprecated":null,"version":null,"openapi":"/openapi.yaml get /projects/{projectId}/members","href":"/api-reference/projects/get-members-of-a-project"},{"title":"Add a member to a project","deprecated":null,"version":null,"openapi":"/openapi.yaml put /projects/{projectId}/members/{memberId}","href":"/api-reference/projects/add-a-member-to-a-project"},{"title":"Remove a member from a project","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /projects/{projectId}/members/{memberId}","href":"/api-reference/projects/remove-a-member-from-a-project"}]},{"group":"applications","pages":[{"title":"List applications for a project","deprecated":null,"version":null,"openapi":"/openapi.yaml get /projects/{projectId}/applications","href":"/api-reference/applications/list-applications-for-a-project"},{"title":"Create a new application","deprecated":null,"version":null,"openapi":"/openapi.yaml post /projects/{projectId}/applications","href":"/api-reference/applications/create-a-new-application"},{"title":"List applications for the authenticated customer","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications","href":"/api-reference/applications/list-applications-for-the-authenticated-customer"},{"title":"Get an application by ID","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}","href":"/api-reference/applications/get-an-application-by-id"},{"title":"Delete an application","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /applications/{applicationId}","href":"/api-reference/applications/delete-an-application"},{"title":"Publish an application","deprecated":null,"version":null,"openapi":"/openapi.yaml post /applications/{applicationId}/publish","href":"/api-reference/applications/publish-an-application"},{"title":"Unpublish an application","description":null,"deprecated":null,"version":null,"openapi":"/openapi.yaml post /applications/{applicationId}/unpublish","href":"/api-reference/applications/unpublish-an-application"},{"title":"Edit an application using natural language","deprecated":null,"version":null,"openapi":"/openapi.yaml post /applications/{applicationId}/slang-edit","href":"/api-reference/applications/edit-an-application-using-natural-language"},{"title":"Update an application's SCode","description":"Accepts a JSON SCode object only.","deprecated":null,"version":null,"openapi":"/openapi.yaml put /applications/{applicationId}/scode","href":"/api-reference/applications/update-an-applications-scode"},{"title":"Update an application through SLang","deprecated":null,"version":null,"openapi":"/openapi.yaml put /applications/{applicationId}/slang","href":"/api-reference/applications/update-an-application-through-slang"},{"title":"Get the OpenAPI spec for an application","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}/openapi","href":"/api-reference/applications/get-the-openapi-spec-for-an-application"},{"title":"Generate Application","deprecated":null,"version":null,"openapi":"/openapi.yaml post /applications/{applicationId}/generate","href":"/api-reference/applications/generate-application"},{"title":"Gets the current status of the Application","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}/status","href":"/api-reference/applications/gets-the-current-status-of-the-application"},{"title":"Get CORS configuration","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}/cors","href":"/api-reference/applications/get-cors-configuration"},{"title":"Update CORS configuration","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /applications/{applicationId}/cors","href":"/api-reference/applications/update-cors-configuration"},{"title":"List application versions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}/versions","href":"/api-reference/applications/list-application-versions"},{"title":"Create a new version of this Application.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /applications/{applicationId}/versions","href":"/api-reference/applications/create-a-new-version-of-this-application"},{"title":"Get information about a specific version of an application","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}/versions/{version}","href":"/api-reference/applications/get-information-about-a-specific-version-of-an-application"}]},{"group":"attachments","pages":[{"title":"Attach an uploaded file to a project","deprecated":null,"version":null,"openapi":"/openapi.yaml post /projects/{projectId}/file","href":"/api-reference/attachments/attach-an-uploaded-file-to-a-project"},{"title":"List project attachments","deprecated":null,"version":null,"openapi":"/openapi.yaml get /projects/{projectId}/attachments","href":"/api-reference/attachments/list-project-attachments"},{"title":"Create a project attachment","deprecated":null,"version":null,"openapi":"/openapi.yaml post /projects/{projectId}/attachments","href":"/api-reference/attachments/create-a-project-attachment"},{"title":"List Application's Attachments","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}/attachments","href":"/api-reference/attachments/list-applications-attachments"},{"title":"Attach a file","deprecated":null,"version":null,"openapi":"/openapi.yaml post /applications/{applicationId}/attachments","href":"/api-reference/attachments/attach-a-file"},{"title":"Get an attachment by ID","deprecated":null,"version":null,"openapi":"/openapi.yaml get /attachments/{attachmentId}","href":"/api-reference/attachments/get-an-attachment-by-id"},{"title":"Remove an attachment from a Project","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /attachments/{attachmentId}","href":"/api-reference/attachments/remove-an-attachment-from-a-project"}]},{"group":"ai-assistant","pages":[{"title":"Get all messages for a project","deprecated":null,"version":null,"openapi":"/openapi.yaml get /projects/{projectId}/messages","href":"/api-reference/ai-assistant/get-all-messages-for-a-project"},{"title":"Send a message to the assistant","deprecated":null,"version":null,"openapi":"/openapi.yaml post /projects/{projectId}/messages","href":"/api-reference/ai-assistant/send-a-message-to-the-assistant"},{"title":"Get a specific message","deprecated":null,"version":null,"openapi":"/openapi.yaml get /projects/{projectId}/messages/{messageId}","href":"/api-reference/ai-assistant/get-a-specific-message"},{"title":"Delete a message","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /projects/{projectId}/messages/{messageId}","href":"/api-reference/ai-assistant/delete-a-message"}]},{"group":"figma-integration","pages":[{"title":"Generate static code from a Figma frame for an application","deprecated":null,"version":null,"openapi":"/openapi.yaml post /applications/{applicationId}/figma/generate-static-code","href":"/api-reference/figma-integration/generate-static-code-from-a-figma-frame-for-an-application"},{"title":"Get Figma file structure (pages and frames) for an application","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}/figma/structure","href":"/api-reference/figma-integration/get-figma-file-structure-pages-and-frames-for-an-application"},{"title":"Download web bundle (static files) for an application","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}/webBundle","href":"/api-reference/figma-integration/download-web-bundle-static-files-for-an-application"}]},{"group":"deployments-assets","pages":[{"title":"Download frontend bundle","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}/frontendBundle","href":"/api-reference/deployments-assets/download-frontend-bundle"}]},{"group":"data-models","pages":[{"title":"Get all models for an application","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}/models","href":"/api-reference/data-models/get-all-models-for-an-application"},{"title":"Add a model to the application","deprecated":null,"version":null,"openapi":"/openapi.yaml post /applications/{applicationId}/models","href":"/api-reference/data-models/add-a-model-to-the-application"},{"title":"Join two models with a bidirectional relationship","deprecated":null,"version":null,"openapi":"/openapi.yaml post /applications/{applicationId}/models/join","href":"/api-reference/data-models/join-two-models-with-a-bidirectional-relationship"},{"title":"Get a model from the Application","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}/models/{modelId}","href":"/api-reference/data-models/get-a-model-from-the-application"},{"title":"Remove a model from the Application","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /applications/{applicationId}/models/{modelId}","href":"/api-reference/data-models/remove-a-model-from-the-application"},{"title":"Update a model in the Application","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /applications/{applicationId}/models/{modelId}","href":"/api-reference/data-models/update-a-model-in-the-application"},{"title":"Add a field to a model in the Application","deprecated":null,"version":null,"openapi":"/openapi.yaml post /applications/{applicationId}/models/{modelId}/fields","href":"/api-reference/data-models/add-a-field-to-a-model-in-the-application"},{"title":"Remove a field from a model in the Application","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /applications/{applicationId}/models/{modelId}/fields/{fieldId}","href":"/api-reference/data-models/remove-a-field-from-a-model-in-the-application"},{"title":"Update a field in a model in the Application","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /applications/{applicationId}/models/{modelId}/fields/{fieldId}","href":"/api-reference/data-models/update-a-field-in-a-model-in-the-application"}]},{"group":"actions-effects","pages":[{"title":"Get a list of Actions from an application","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}/actions","href":"/api-reference/actions-effects/get-a-list-of-actions-from-an-application"},{"title":"Add an action to the application","deprecated":null,"version":null,"openapi":"/openapi.yaml post /applications/{applicationId}/actions","href":"/api-reference/actions-effects/add-an-action-to-the-application"},{"title":"Get an action from the Application","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}/actions/{actionId}","href":"/api-reference/actions-effects/get-an-action-from-the-application"},{"title":"Remove an action from the Application","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /applications/{applicationId}/actions/{actionId}","href":"/api-reference/actions-effects/remove-an-action-from-the-application"},{"title":"Update an action in the Application","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /applications/{applicationId}/actions/{actionId}","href":"/api-reference/actions-effects/update-an-action-in-the-application"},{"title":"Get Action Effects","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}/actions/{actionId}/effects","href":"/api-reference/actions-effects/get-action-effects"},{"title":"Modify Action Effects","deprecated":null,"version":null,"openapi":"/openapi.yaml post /applications/{applicationId}/actions/{actionId}/effects","href":"/api-reference/actions-effects/modify-action-effects"},{"title":"Get an effect from an Action in the Application","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}/actions/{actionId}/effects/{effectId}","href":"/api-reference/actions-effects/get-an-effect-from-an-action-in-the-application"},{"title":"Remove an effect from an Action in the Application","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /applications/{applicationId}/actions/{actionId}/effects/{effectId}","href":"/api-reference/actions-effects/remove-an-effect-from-an-action-in-the-application"},{"title":"Update an Effect in an Action","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /applications/{applicationId}/actions/{actionId}/effects/{effectId}","href":"/api-reference/actions-effects/update-an-effect-in-an-action"}]},{"group":"triggers","pages":[{"title":"List triggers in the application","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}/triggers","href":"/api-reference/triggers/list-triggers-in-the-application"},{"title":"Add a trigger to the application","deprecated":null,"version":null,"openapi":"/openapi.yaml post /applications/{applicationId}/triggers","href":"/api-reference/triggers/add-a-trigger-to-the-application"},{"title":"Get a trigger from the Application","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}/triggers/{triggerId}","href":"/api-reference/triggers/get-a-trigger-from-the-application"},{"title":"Remove a trigger from the Application","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /applications/{applicationId}/triggers/{triggerId}","href":"/api-reference/triggers/remove-a-trigger-from-the-application"},{"title":"Update a trigger in the Application","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /applications/{applicationId}/triggers/{triggerId}","href":"/api-reference/triggers/update-a-trigger-in-the-application"}]},{"group":"secrets-configuration","pages":[{"title":"List secrets in the application","deprecated":null,"version":null,"openapi":"/openapi.yaml get /applications/{applicationId}/secrets","href":"/api-reference/secrets-configuration/list-secrets-in-the-application"},{"title":"Add a secret to the application","deprecated":null,"version":null,"openapi":"/openapi.yaml post /applications/{applicationId}/secrets","href":"/api-reference/secrets-configuration/add-a-secret-to-the-application"},{"title":"Update a secret in the Application","deprecated":null,"version":null,"openapi":"/openapi.yaml post /applications/{applicationId}/secrets/{secretName}","href":"/api-reference/secrets-configuration/update-a-secret-in-the-application"},{"title":"Remove a secret from the Application","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /applications/{applicationId}/secrets/{secretName}","href":"/api-reference/secrets-configuration/remove-a-secret-from-the-application"}]},{"group":"builders","pages":[{"title":"List all builders for the authenticated customer","deprecated":null,"version":null,"openapi":"/openapi.yaml get /builders","href":"/api-reference/builders/list-all-builders-for-the-authenticated-customer"},{"title":"Create a new builder","deprecated":null,"version":null,"openapi":"/openapi.yaml post /builders","href":"/api-reference/builders/create-a-new-builder"},{"title":"Get a builder by ID","deprecated":null,"version":null,"openapi":"/openapi.yaml get /builders/{builderId}","href":"/api-reference/builders/get-a-builder-by-id"},{"title":"Delete a builder","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /builders/{builderId}","href":"/api-reference/builders/delete-a-builder"}]},{"group":"storage","pages":[{"title":"Upload a file","deprecated":null,"version":null,"openapi":"/openapi.yaml post /storage/files","href":"/api-reference/storage/upload-a-file"},{"title":"Check if a file exists","deprecated":null,"version":null,"openapi":"/openapi.yaml get /storage/files/{id}/exists","href":"/api-reference/storage/check-if-a-file-exists"},{"title":"Download a file","deprecated":null,"version":null,"openapi":"/openapi.yaml get /storage/files/{id}/download","href":"/api-reference/storage/download-a-file"},{"title":"Get file metadata","deprecated":null,"version":null,"openapi":"/openapi.yaml get /storage/files/{id}","href":"/api-reference/storage/get-file-metadata"}]},{"group":"onboarding","pages":[{"title":"Test API connectivity","deprecated":null,"version":null,"openapi":"/openapi.yaml get /hello","href":"/api-reference/onboarding/test-api-connectivity"}]}]},{"tab":"UAPI Reference","icon":"square-terminal","pages":[{"title":"UAPI Reference","href":"/api-reference/configuration/perform-initial-setup-of-platform-for-your-organization"}]},{"tab":"TaskTracker Pro API Reference","icon":"square-terminal","hidden":true,"pages":[{"title":"TaskTracker Pro API Reference","href":"/api-reference/get-a-collection-of-users"}]}]},"basePath":"","title":"Edit an application using natural language - Sutro","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CWRF67qg.js","snippetPresets-BR8BoZAC.js","utils-D5WEoDBM.js","style-to-object-BY3JEAdk.js","utils-B79vXYXV.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-C59iNs-S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-455jK_K_.js","_Uint8Array-BEecbuUl.js","isObject-FP1Yky1u.js","Page-UFatEFaf.js","api-description-markdown-Cny85OC3.js","DynamicMarkdown-Czhs88Hc.js","CodeSnippet-Bkkti1IB.js","use-playground-group-access-BLvLSz8w.js","SectionHeading-B08KBUKT.js","ApiExamples-CFRHL52q.js","usePlaygroundInputsStore-Caip2xMX.js","shallow-BS-qcxmX.js","isEqual-CEpbaqh9.js","CodeSnippets-B-R0FAqw.js","MethodPill-D8OvWg5y.js","getPastedJson-tB5m0_yh.js","Check2Icon-CeP__a4S.js","axios-CsQoIw0U.js","Markdown-LI7DSqeK.js","AssistantPageLink-bYxdsqKl.js","dist-DXTH2WLA.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}