{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"The Prompting Company","colors":{"primary":"#007AFF","light":"#5AC8FA","dark":"#0051D5"},"logo":{"light":"https://mintcdn.com/thepromptingcompany/VgmeRsP9pdtnPg-3/logo/light.svg?fit=max\u0026auto=format\u0026n=VgmeRsP9pdtnPg-3\u0026q=85\u0026s=1322994eab9c544529d97a7305a05028","dark":"https://mintcdn.com/thepromptingcompany/VgmeRsP9pdtnPg-3/logo/dark.svg?fit=max\u0026auto=format\u0026n=VgmeRsP9pdtnPg-3\u0026q=85\u0026s=2b31947222602121a12c16a7e4b7a8cc"},"favicon":"https://mintcdn.com/thepromptingcompany/VgmeRsP9pdtnPg-3/favicon.svg?fit=max\u0026auto=format\u0026n=VgmeRsP9pdtnPg-3\u0026q=85\u0026s=2e9bd99887db77f590c768f2090e41c0","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","javascript","python"],"prefill":true},"url":"full"},"navbar":{"links":[{"href":"mailto:support@promptingco.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.promptingco.com"}},"footer":{"socials":{"x":"https://x.com/promptingco","github":"https://github.com/promptingcompany","linkedin":"https://linkedin.com/company/prompting-company"}},"seo":{"metatags":{"og:image":"https://docs.promptingcompany.com/images/og.png","og:image:width":"1200","og:image:height":"630","twitter:image":"https://docs.promptingcompany.com/images/og.png"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Platform","icon":"globe","href":"https://app.promptingco.com"},{"anchor":"GitHub","icon":"github","href":"https://github.com/promptingcompany"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"thepromptingcompany","hasAudioNarration":false,"actualSubdomain":"thepromptingcompany","customDomains":["docs.promptingcompany.com"],"gitSource":{"type":"github","owner":"promptingcompany","repo":"ctrl0","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adf9eebde81ec51ef82d46d","collectionId":"8adb271c-74b2-473f-aec8-fa217b080a36","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adf9eebde81ec51ef82d46d"},"entitlements":{},"buildId":"6adf9eebde81ec51ef82d46d","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"default","tag":"API","count":109},{"language":"default","tag":"API Reference","count":97},{"language":"default","tag":"Content","count":33},{"language":"default","tag":"Apps \u0026 Publishing","count":29},{"language":"default","tag":"Guides","count":25},{"language":"default","tag":"CLI","count":18},{"language":"default","tag":"Visibility \u0026 Mentions","count":18},{"language":"default","tag":"Get started","count":13},{"language":"default","tag":"Commands","count":12},{"language":"default","tag":"Content publishing","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api/reference/apps-\u0026-publishing/preview-app-route-import","slug":"/api/reference/apps-\u0026-publishing/preview-app-route-import","pageMetadata":{"title":"Preview App route import","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/apps/{appId}/routes/import-preview","href":"/api/reference/apps-\u0026-publishing/preview-app-route-import","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":"Preview App route import","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/apps/{appId}/routes/import-preview","href":"/api/reference/apps-\u0026-publishing/preview-app-route-import","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"postAppsAppIdRoutesImportPreview","summary":"Preview App route import","tags":["Apps \u0026 Publishing"],"security":["3c1ea51f-5e14-4f40-8246-a20264068dec","b7f6efd3-f3c2-499d-a9d9-bf3cf64b6385","4dc1a6ee-51d8-4db5-9b30-2a12408e3215"],"parameters":["7a4a3b8e-4f1a-4092-882e-dd6299d55f18"],"requestBody":"dad42e73-24fc-45d8-82d3-a5b0a19b6bec","responses":{"200":"67287d8e-6455-4170-b4f7-2c11fa543e27","400":"d6c38cc0-e0b4-4af3-9911-8b736d128e5b","401":"4b4ea9bf-e478-4d8d-b1ba-c76a71d0c84e","403":"146fa120-414c-44d1-b5d8-9c4a54cd22f9","404":"8f8506f9-2aba-4891-bb05-c6993184d36a","422":"52c8229b-582d-40d9-98ca-40ab78348203","500":"2ab56a51-e9fd-421e-b857-e12c7da21f6b"},"method":"post","type":"path","servers":["7edb225e-3b4d-43ef-9edf-b08d456fa814","9898f9c1-4a54-4182-ad7d-e3d70ba16820"],"path":"/api/v1/apps/{appId}/routes/import-preview","baseUrlOptions":["https://app.promptingco.com","http://localhost:3000"],"title":"Preview App route import","description":"","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.routes.items.0.path":"\u003cstring>","body.routes.items.0.targetId":"\u003cstring>","body.routes.items.0.targetType":"product_document"}],"urlDisplay":"full"},"dependencies":{"parameters":{"7a4a3b8e-4f1a-4092-882e-dd6299d55f18":{"schema":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"name":"appId","in":"path"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"routes":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^\\/?[^?#\\s]*$","isRequired":true,"uniqueKey":"routes.items.[INDEX].path","typeLabel":"string"},"targetId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"routes.items.[INDEX].targetId","typeLabel":"string"},"targetType":{"type":"string","enum":["product_document"],"default":"product_document","uniqueKey":"routes.items.[INDEX].targetType","typeLabel":"enum\u003cstring>"}},"required":["path","targetId"],"uniqueKey":"routes.items.[INDEX]","typeLabel":"object"},"minItems":1,"maxItems":100,"isRequired":true,"uniqueKey":"routes","typeLabel":"object[]"}},"required":["routes"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"routes":[{"path":"\u003cstring>","targetId":"\u003cstring>","targetType":"product_document"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"67287d8e-6455-4170-b4f7-2c11fa543e27":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"data":{"type":"object","properties":{"appId":{"type":"string","isRequired":true,"uniqueKey":"data.appId","typeLabel":"string"},"valid":{"type":"boolean","isRequired":true,"uniqueKey":"data.valid","typeLabel":"boolean"},"createCount":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"data.createCount","typeLabel":"integer"},"conflictCount":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"data.conflictCount","typeLabel":"integer"},"skipCount":{"type":"integer","minimum":0,"isRequired":true,"uniqueKey":"data.skipCount","typeLabel":"integer"},"routes":{"type":"array","items":{"type":"object","properties":{"input":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^\\/?[^?#\\s]*$","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].input.path","typeLabel":"string"},"targetId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"data.routes.items.[INDEX].input.targetId","typeLabel":"string"},"targetType":{"type":"string","enum":["product_document"],"default":"product_document","uniqueKey":"data.routes.items.[INDEX].input.targetType","typeLabel":"enum\u003cstring>"}},"required":["path","targetId"],"isRequired":true,"uniqueKey":"data.routes.items.[INDEX].input","typeLabel":"object"},"action":{"type":"string","enum":["create","conflict","skip"],"isRequired":true,"uniqueKey":"data.routes.items.[INDEX].action","typeLabel":"enum\u003cstring>"},"issues":{"type":"array","items":{"type":"string","enum":["already_routed","duplicate_input_path","path_conflict","product_not_available","target_not_found"],"uniqueKey":"data.routes.items.[INDEX].issues.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"data.routes.items.[INDEX].issues","typeLabel":"enum\u003cstring>[]"},"existingRoute":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].existingRoute.oneOf.0.id","typeLabel":"string"},"path":{"type":"string","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].existingRoute.oneOf.0.path","typeLabel":"string"}},"required":["id","path"],"isRequired":true,"uniqueKey":"data.routes.items.[INDEX].existingRoute.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"string"},"path":{"type":"string"}},"required":["id","path"],"isRequired":true,"uniqueKey":"data.routes.items.[INDEX].existingRoute.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.routes.items.[INDEX].existingRoute","typeLabel":"object | null"},"pathConflict":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].pathConflict.oneOf.0.id","typeLabel":"string"},"path":{"type":"string","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].pathConflict.oneOf.0.path","typeLabel":"string"},"targetType":{"type":"string","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].pathConflict.oneOf.0.targetType","typeLabel":"string"},"targetId":{"type":"string","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].pathConflict.oneOf.0.targetId","typeLabel":"string"}},"required":["id","path","targetType","targetId"],"isRequired":true,"uniqueKey":"data.routes.items.[INDEX].pathConflict.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"string"},"path":{"type":"string"},"targetType":{"type":"string"},"targetId":{"type":"string"}},"required":["id","path","targetType","targetId"],"isRequired":true,"uniqueKey":"data.routes.items.[INDEX].pathConflict.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.routes.items.[INDEX].pathConflict","typeLabel":"object | null"},"target":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].target.oneOf.0.id","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].target.oneOf.0.title","typeLabel":"string"},"filePath":{"type":"string","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].target.oneOf.0.filePath","typeLabel":"string"},"sourceUrl":{"type":"string","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].target.oneOf.0.sourceUrl","typeLabel":"string"},"status":{"type":"string","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].target.oneOf.0.status","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].target.oneOf.0.type","typeLabel":"string"},"redirectToUrl":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].target.oneOf.0.redirectToUrl.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].target.oneOf.0.redirectToUrl.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.routes.items.[INDEX].target.oneOf.0.redirectToUrl","typeLabel":"string | null"},"productId":{"type":"string","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].target.oneOf.0.productId","typeLabel":"string"}},"required":["id","title","filePath","sourceUrl","status","type","redirectToUrl","productId"],"isRequired":true,"uniqueKey":"data.routes.items.[INDEX].target.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"string"},"title":{"type":"string"},"filePath":{"type":"string"},"sourceUrl":{"type":"string"},"status":{"type":"string"},"type":{"type":"string"},"redirectToUrl":{"oneOf":[{"type":"string"},{"type":"null"}]},"productId":{"type":"string"}},"required":["id","title","filePath","sourceUrl","status","type","redirectToUrl","productId"],"isRequired":true,"uniqueKey":"data.routes.items.[INDEX].target.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.routes.items.[INDEX].target","typeLabel":"object | null"},"product":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].product.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].product.oneOf.0.name","typeLabel":"string"},"slug":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].product.oneOf.0.slug.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.routes.items.[INDEX].product.oneOf.0.slug.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.routes.items.[INDEX].product.oneOf.0.slug","typeLabel":"string | null"}},"required":["id","name","slug"],"isRequired":true,"uniqueKey":"data.routes.items.[INDEX].product.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"oneOf":[{"type":"string"},{"type":"null"}]}},"required":["id","name","slug"],"isRequired":true,"uniqueKey":"data.routes.items.[INDEX].product.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.routes.items.[INDEX].product","typeLabel":"object | null"}},"required":["input","action","issues","existingRoute","pathConflict","target","product"],"uniqueKey":"data.routes.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.routes","typeLabel":"object[]"}},"required":["appId","valid","createCount","conflictCount","skipCount","routes"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["ok","data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ok":true,"data":{"appId":"\u003cstring>","valid":true,"createCount":1,"conflictCount":1,"skipCount":1,"routes":[{"input":{"path":"\u003cstring>","targetId":"\u003cstring>","targetType":"product_document"},"action":"create","issues":["already_routed"],"existingRoute":{"id":"\u003cstring>","path":"\u003cstring>"},"pathConflict":{"id":"\u003cstring>","path":"\u003cstring>","targetType":"\u003cstring>","targetId":"\u003cstring>"},"target":{"id":"\u003cstring>","title":"\u003cstring>","filePath":"\u003cstring>","sourceUrl":"\u003cstring>","status":"\u003cstring>","type":"\u003cstring>","redirectToUrl":"\u003cstring>","productId":"\u003cstring>"},"product":{"id":"\u003cstring>","name":"\u003cstring>","slug":"\u003cstring>"}}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"d6c38cc0-e0b4-4af3-9911-8b736d128e5b":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["ok","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ok":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"4b4ea9bf-e478-4d8d-b1ba-c76a71d0c84e":{"description":"Authentication required","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["ok","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ok":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"146fa120-414c-44d1-b5d8-9c4a54cd22f9":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["ok","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ok":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"8f8506f9-2aba-4891-bb05-c6993184d36a":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["ok","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ok":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"52c8229b-582d-40d9-98ca-40ab78348203":{"description":"Validation failed","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["ok","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ok":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"2ab56a51-e9fd-421e-b857-e12c7da21f6b":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"ok","typeLabel":"enum\u003cboolean>"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"details","typeLabel":"any"}},"required":["ok","code","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ok":false,"code":"\u003cstring>","message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"3c1ea51f-5e14-4f40-8246-a20264068dec":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"Organization-scoped API key. Available scopes:\n- content:read: Read site pages, markdown content, and llms.txt files\n- content:write: Create, update, and delete site pages and content\n- prompts:read: Read prompts, topics, prompt suggestions, and prompt analysis results\n- prompts:write: Create, update, archive prompts and generate, edit, or review prompt suggestions\n- simulations:read: Read agent-simulation tasks, runs, environments, and analytics\n- simulations:write: Create and trigger simulation runs\n- logs:read: Read AI-traffic logs and request-level audit events\n- analytics:read: Read analytics aggregates (rankings, mentions, sources, SOV)\n- analytics:write: Write events to analytics\n- products:read: Read product metadata and competitor data\n- products:write: Update product settings and competitor lists","x-scopes":{"content:read":"Read site pages, markdown content, and llms.txt files","content:write":"Create, update, and delete site pages and content","prompts:read":"Read prompts, topics, prompt suggestions, and prompt analysis results","prompts:write":"Create, update, archive prompts and generate, edit, or review prompt suggestions","simulations:read":"Read agent-simulation tasks, runs, environments, and analytics","simulations:write":"Create and trigger simulation runs","logs:read":"Read AI-traffic logs and request-level audit events","analytics:read":"Read analytics aggregates (rankings, mentions, sources, SOV)","analytics:write":"Write events to analytics","products:read":"Read product metadata and competitor data","products:write":"Update product settings and competitor lists"},"scopes":[],"schemeName":"apiKeyAuth"}},"b7f6efd3-f3c2-499d-a9d9-bf3cf64b6385":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Bearer session or OAuth access token. Available OAuth scopes:\n- content:read: Read site pages, markdown content, and llms.txt files\n- content:write: Create, update, and delete site pages and content\n- prompts:read: Read prompts, topics, prompt suggestions, and prompt analysis results\n- prompts:write: Create, update, archive prompts and generate, edit, or review prompt suggestions\n- simulations:read: Read agent-simulation tasks, runs, environments, and analytics\n- simulations:write: Create and trigger simulation runs\n- logs:read: Read AI-traffic logs and request-level audit events\n- analytics:read: Read analytics aggregates (rankings, mentions, sources, SOV)\n- analytics:write: Write events to analytics\n- products:read: Read product metadata and competitor data\n- products:write: Update product settings and competitor lists","x-scopes":{"content:read":"Read site pages, markdown content, and llms.txt files","content:write":"Create, update, and delete site pages and content","prompts:read":"Read prompts, topics, prompt suggestions, and prompt analysis results","prompts:write":"Create, update, archive prompts and generate, edit, or review prompt suggestions","simulations:read":"Read agent-simulation tasks, runs, environments, and analytics","simulations:write":"Create and trigger simulation runs","logs:read":"Read AI-traffic logs and request-level audit events","analytics:read":"Read analytics aggregates (rankings, mentions, sources, SOV)","analytics:write":"Write events to analytics","products:read":"Read product metadata and competitor data","products:write":"Update product settings and competitor lists"},"scopes":[],"schemeName":"bearerAuth"}},"4dc1a6ee-51d8-4db5-9b30-2a12408e3215":{"cookieAuth":{"type":"apiKey","in":"cookie","name":"better-auth.session_token","description":"First-party browser session cookie.","scopes":[],"schemeName":"cookieAuth"}}},"servers":{"7edb225e-3b4d-43ef-9edf-b08d456fa814":{"url":"https://app.promptingco.com","description":"Production"},"9898f9c1-4a54-4182-ad7d-e3d70ba16820":{"url":"http://localhost:3000","description":"Local development"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Organization-scoped API key. Available scopes:\n- content:read: Read site pages, markdown content, and llms.txt files\n- content:write: Create, update, and delete site pages and content\n- prompts:read: Read prompts, topics, prompt suggestions, and prompt analysis results\n- prompts:write: Create, update, archive prompts and generate, edit, or review prompt suggestions\n- simulations:read: Read agent-simulation tasks, runs, environments, and analytics\n- simulations:write: Create and trigger simulation runs\n- logs:read: Read AI-traffic logs and request-level audit events\n- analytics:read: Read analytics aggregates (rankings, mentions, sources, SOV)\n- analytics:write: Write events to analytics\n- products:read: Read product metadata and competitor data\n- products:write: Update product settings and competitor lists","x-scopes":{"content:read":"Read site pages, markdown content, and llms.txt files","content:write":"Create, update, and delete site pages and content","prompts:read":"Read prompts, topics, prompt suggestions, and prompt analysis results","prompts:write":"Create, update, archive prompts and generate, edit, or review prompt suggestions","simulations:read":"Read agent-simulation tasks, runs, environments, and analytics","simulations:write":"Create and trigger simulation runs","logs:read":"Read AI-traffic logs and request-level audit events","analytics:read":"Read analytics aggregates (rankings, mentions, sources, SOV)","analytics:write":"Write events to analytics","products:read":"Read product metadata and competitor data","products:write":"Update product settings and competitor lists"},"scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"Organization-scoped API key. Available scopes:\n- content:read: Read site pages, markdown content, and llms.txt files\n- content:write: Create, update, and delete site pages and content\n- prompts:read: Read prompts, topics, prompt suggestions, and prompt analysis results\n- prompts:write: Create, update, archive prompts and generate, edit, or review prompt suggestions\n- simulations:read: Read agent-simulation tasks, runs, environments, and analytics\n- simulations:write: Create and trigger simulation runs\n- logs:read: Read AI-traffic logs and request-level audit events\n- analytics:read: Read analytics aggregates (rankings, mentions, sources, SOV)\n- analytics:write: Write events to analytics\n- products:read: Read product metadata and competitor data\n- products:write: Update product settings and competitor lists","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"x-api-key"}],"title":"apiKeyAuth"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Bearer session or OAuth access token. Available OAuth scopes:\n- content:read: Read site pages, markdown content, and llms.txt files\n- content:write: Create, update, and delete site pages and content\n- prompts:read: Read prompts, topics, prompt suggestions, and prompt analysis results\n- prompts:write: Create, update, archive prompts and generate, edit, or review prompt suggestions\n- simulations:read: Read agent-simulation tasks, runs, environments, and analytics\n- simulations:write: Create and trigger simulation runs\n- logs:read: Read AI-traffic logs and request-level audit events\n- analytics:read: Read analytics aggregates (rankings, mentions, sources, SOV)\n- analytics:write: Write events to analytics\n- products:read: Read product metadata and competitor data\n- products:write: Update product settings and competitor lists","x-scopes":{"content:read":"Read site pages, markdown content, and llms.txt files","content:write":"Create, update, and delete site pages and content","prompts:read":"Read prompts, topics, prompt suggestions, and prompt analysis results","prompts:write":"Create, update, archive prompts and generate, edit, or review prompt suggestions","simulations:read":"Read agent-simulation tasks, runs, environments, and analytics","simulations:write":"Create and trigger simulation runs","logs:read":"Read AI-traffic logs and request-level audit events","analytics:read":"Read analytics aggregates (rankings, mentions, sources, SOV)","analytics:write":"Write events to analytics","products:read":"Read product metadata and competitor data","products:write":"Update product settings and competitor lists"},"scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer session or OAuth access token. Available OAuth scopes:\n- content:read: Read site pages, markdown content, and llms.txt files\n- content:write: Create, update, and delete site pages and content\n- prompts:read: Read prompts, topics, prompt suggestions, and prompt analysis results\n- prompts:write: Create, update, archive prompts and generate, edit, or review prompt suggestions\n- simulations:read: Read agent-simulation tasks, runs, environments, and analytics\n- simulations:write: Create and trigger simulation runs\n- logs:read: Read AI-traffic logs and request-level audit events\n- analytics:read: Read analytics aggregates (rankings, mentions, sources, SOV)\n- analytics:write: Write events to analytics\n- products:read: Read product metadata and competitor data\n- products:write: Update product settings and competitor lists","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"cookie","name":"better-auth.session_token","description":"First-party browser session cookie.","scopes":[],"schemeName":"cookieAuth"},"schema":{"title":"better-auth.session_token","type":"string","description":"First-party browser session cookie.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"cookieAuth","name":"better-auth.session_token"}],"title":"cookieAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"thepromptingcompany","siteName":"The Prompting Company","title":"Preview App route import - The Prompting Company","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T18:42:00.132Z","originalFileLocation":"api/reference/apps-\u0026-publishing/preview-app-route-import.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=\"The Prompting Company\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/thepromptingcompany/3Dm_3MJgkaWF2QZB/_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/thepromptingcompany/3Dm_3MJgkaWF2QZB/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/thepromptingcompany/3Dm_3MJgkaWF2QZB/_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/thepromptingcompany/3Dm_3MJgkaWF2QZB/_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/thepromptingcompany/3Dm_3MJgkaWF2QZB/_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/thepromptingcompany/3Dm_3MJgkaWF2QZB/_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/thepromptingcompany/3Dm_3MJgkaWF2QZB/_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/thepromptingcompany/3Dm_3MJgkaWF2QZB/_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/thepromptingcompany/3Dm_3MJgkaWF2QZB/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Preview App route import - The Prompting Company\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"The Prompting Company\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.promptingcompany.com/api/reference/apps-\u0026amp;-publishing/preview-app-route-import\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.promptingcompany.com/images/og.png\">\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=\"Preview App route import - The Prompting Company\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.promptingcompany.com/images/og.png\">\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/thepromptingcompany/3Dm_3MJgkaWF2QZB/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"The Prompting Company\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#007AFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.promptingcompany.com/api/reference/apps-\u0026amp;-publishing/preview-app-route-import\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/reference/apps-%26-publishing/preview-app-route-import.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.promptingcompany.com/#organization\",\"name\":\"The Prompting Company\",\"url\":\"https://docs.promptingcompany.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/thepromptingcompany/VgmeRsP9pdtnPg-3/logo/light.svg?fit=max\u0026auto=format\u0026n=VgmeRsP9pdtnPg-3\u0026q=85\u0026s=1322994eab9c544529d97a7305a05028\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.promptingcompany.com#website\",\"name\":\"The Prompting Company\",\"url\":\"https://docs.promptingcompany.com\",\"publisher\":{\"@id\":\"https://docs.promptingcompany.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.promptingcompany.com/api/reference/apps-\u0026-publishing/preview-app-route-import#webpage\",\"url\":\"https://docs.promptingcompany.com/api/reference/apps-\u0026-publishing/preview-app-route-import\",\"name\":\"Preview App route import\",\"dateModified\":\"2026-10-26T18:42:00.132Z\",\"isPartOf\":{\"@id\":\"https://docs.promptingcompany.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.promptingcompany.com/api/reference/apps-\u0026-publishing/preview-app-route-import#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.promptingcompany.com/api/reference/apps-\u0026-publishing/preview-app-route-import#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.promptingcompany.com/api/reference/service-status/verify-production-runtime-capabilities\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Apps \u0026 Publishing\",\"item\":\"https://docs.promptingcompany.com/api/reference/apps-\u0026-publishing/list-apps\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Preview App route import\",\"item\":\"https://docs.promptingcompany.com/api/reference/apps-\u0026-publishing/preview-app-route-import\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.promptingcompany.com/api/reference/apps-\u0026-publishing/preview-app-route-import#apireference\",\"headline\":\"Preview App route import\",\"name\":\"Preview App route import\",\"url\":\"https://docs.promptingcompany.com/api/reference/apps-\u0026-publishing/preview-app-route-import\",\"mainEntityOfPage\":{\"@id\":\"https://docs.promptingcompany.com/api/reference/apps-\u0026-publishing/preview-app-route-import#webpage\"},\"image\":\"https://docs.promptingcompany.com/images/og.png\",\"dateModified\":\"2026-10-26T18:42:00.132Z\",\"publisher\":{\"@id\":\"https://docs.promptingcompany.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.promptingcompany.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"The Prompting Company\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"The Prompting Company","nav":{"global":{"anchors":[{"anchor":"Platform","icon":"globe","href":"https://app.promptingco.com"},{"anchor":"GitHub","icon":"github","href":"https://github.com/promptingcompany"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/quickstart-guide"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/overview"}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/connect"}]},{"tab":"API","groups":[{"group":"Get started","pages":[{"title":"API overview","href":"/api/overview"},{"title":"Quickstart","href":"/api/quickstart"},{"title":"Authentication","href":"/api/authentication"},{"title":"API reference","href":"/api/reference"}]},{"group":"Concepts","pages":[{"title":"Scopes","href":"/api/scopes"},{"title":"Rate limits","href":"/api/rate-limits"},{"title":"Idempotency","href":"/api/idempotency"},{"title":"Errors","href":"/api/errors"},{"title":"Audit log","href":"/api/audit-log"}]},{"group":"Content API","pages":[{"title":"Content API overview","href":"/api/content/overview"},{"title":"Site pages migration","href":"/api/content/site-pages"},{"title":"Content documents","href":"/api/content/documents"}]},{"group":"API Reference","pages":[{"group":"Service Status","pages":[{"title":"Verify production runtime capabilities","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/runtime-capabilities","href":"/api/reference/service-status/verify-production-runtime-capabilities"}]},{"group":"Visibility \u0026 Mentions","pages":[{"title":"Get share of voice accumulated over a date range","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/analytics/sov","href":"/api/reference/visibility-\u0026-mentions/get-share-of-voice-accumulated-over-a-date-range"},{"title":"Get rolling share of voice time series and breakdowns","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/analytics/sov/timeseries","href":"/api/reference/visibility-\u0026-mentions/get-rolling-share-of-voice-time-series-and-breakdowns"},{"title":"Get per-prompt sentiment analytics for a product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/analytics/sentiment","href":"/api/reference/visibility-\u0026-mentions/get-per-prompt-sentiment-analytics-for-a-product"},{"title":"Run a dimensional analytics query for a product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/analytics/explore","href":"/api/reference/visibility-\u0026-mentions/run-a-dimensional-analytics-query-for-a-product"},{"title":"Ingest server-side SDK analytics event (page_visit)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/analytics/events","href":"/api/reference/visibility-\u0026-mentions/ingest-server-side-sdk-analytics-event-page_visit"},{"title":"List conversation queries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/conversation-queries","href":"/api/reference/visibility-\u0026-mentions/list-conversation-queries"},{"title":"List views","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/views","href":"/api/reference/visibility-\u0026-mentions/list-views"},{"title":"Create a view","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/views","href":"/api/reference/visibility-\u0026-mentions/create-a-view"},{"title":"Get a view","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/views/{viewId}","href":"/api/reference/visibility-\u0026-mentions/get-a-view"},{"title":"Update a view","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/views/{viewId}","href":"/api/reference/visibility-\u0026-mentions/update-a-view"},{"title":"Add conversations to a view","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/views/{viewId}/conversations","href":"/api/reference/visibility-\u0026-mentions/add-conversations-to-a-view"},{"title":"Remove conversations from a view","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/views/{viewId}/conversations","href":"/api/reference/visibility-\u0026-mentions/remove-conversations-from-a-view"},{"title":"Summarize industry rankings across prompt topics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/prompt-topics/industry-rankings/summary","href":"/api/reference/visibility-\u0026-mentions/summarize-industry-rankings-across-prompt-topics"},{"title":"List prompt suggestions for a product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/prompt-suggestions","href":"/api/reference/visibility-\u0026-mentions/list-prompt-suggestions-for-a-product"},{"title":"Update a prompt suggestion's message, persona, or answer engines","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/prompt-suggestions/{id}","href":"/api/reference/visibility-\u0026-mentions/update-a-prompt-suggestions-message-persona-or-answer-engines"},{"title":"Regenerate prompt suggestions for a product (fan-out by topic)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/prompt-suggestions/regenerate","href":"/api/reference/visibility-\u0026-mentions/regenerate-prompt-suggestions-for-a-product-fan-out-by-topic"},{"title":"Approve or reject prompt suggestions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/prompt-suggestions/review","href":"/api/reference/visibility-\u0026-mentions/approve-or-reject-prompt-suggestions"},{"title":"Update a prompt message and its query analytics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/prompts/with-queries/{id}","href":"/api/reference/visibility-\u0026-mentions/update-a-prompt-message-and-its-query-analytics"}]},{"group":"Traffic \u0026 Sources","pages":[{"title":"Get cited-source analytics and citation events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/sources/analytics","href":"/api/reference/traffic-\u0026-sources/get-cited-source-analytics-and-citation-events"}]},{"group":"Products","pages":[{"title":"List products (brands) in the active organization","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/brands","href":"/api/reference/products/list-products-brands-in-the-active-organization"},{"title":"Create a product (brand) in the active organization","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/brands","href":"/api/reference/products/create-a-product-brand-in-the-active-organization"},{"title":"Get a product by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/brands/{brandId}","href":"/api/reference/products/get-a-product-by-id"},{"title":"Replace product settings by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/brands/{brandId}","href":"/api/reference/products/replace-product-settings-by-id"}]},{"group":"Knowledge","pages":[{"title":"Retrieve product knowledge across documents and code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/products/{productId}/knowledge/retrieve","href":"/api/reference/knowledge/retrieve-product-knowledge-across-documents-and-code"}]},{"group":"Content","pages":[{"title":"Get root public markdown content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/md/by-path","href":"/api/reference/content/get-root-public-markdown-content"},{"title":"Get public markdown content by ID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/md/{id}","href":"/api/reference/content/get-public-markdown-content-by-id"},{"title":"Get public markdown content by path","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/md/by-path/{path}","href":"/api/reference/content/get-public-markdown-content-by-path"},{"title":"List site pages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/site/pages","href":"/api/reference/content/list-site-pages"},{"title":"Create site pages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/site/pages","href":"/api/reference/content/create-site-pages"},{"title":"Delete site pages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/site/pages","href":"/api/reference/content/delete-site-pages"},{"title":"Update site pages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/site/pages","href":"/api/reference/content/update-site-pages"},{"title":"List content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/content","href":"/api/reference/content/list-content"},{"title":"Create content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/content","href":"/api/reference/content/create-content"},{"title":"Generate content for prompts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/content/generate","href":"/api/reference/content/generate-content-for-prompts"},{"title":"Get content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/content/{id}","href":"/api/reference/content/get-content"},{"title":"Replace content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/content/{id}","href":"/api/reference/content/replace-content"},{"title":"Delete content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/content/{id}","href":"/api/reference/content/delete-content"},{"title":"Update content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/content/{id}","href":"/api/reference/content/update-content"},{"title":"Cancel in-flight content generation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/content/{id}/cancel","href":"/api/reference/content/cancel-in-flight-content-generation"},{"title":"Review a content draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/content/{id}/review","href":"/api/reference/content/review-a-content-draft"},{"title":"Revise a content draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/content/{id}/revision","href":"/api/reference/content/revise-a-content-draft"},{"title":"Publish an approved content draft","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/content/{id}/publish","href":"/api/reference/content/publish-an-approved-content-draft"},{"title":"Revert published content to the review queue","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/content/{id}/revert","href":"/api/reference/content/revert-published-content-to-the-review-queue"},{"title":"Restore archived content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/content/{id}/restore","href":"/api/reference/content/restore-archived-content"},{"title":"Get a product scraper configuration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/products/{productId}/scraper","href":"/api/reference/content/get-a-product-scraper-configuration"},{"title":"Create or update a product scraper configuration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/products/{productId}/scraper","href":"/api/reference/content/create-or-update-a-product-scraper-configuration"},{"title":"Delete a product scraper configuration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/products/{productId}/scraper","href":"/api/reference/content/delete-a-product-scraper-configuration"},{"title":"Queue a product scraping run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/products/{productId}/scraper/runs","href":"/api/reference/content/queue-a-product-scraping-run"},{"title":"Get content by path","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/content/by-path","href":"/api/reference/content/get-content-by-path"},{"title":"Update content domains","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/content/{id}/domains","href":"/api/reference/content/update-content-domains"},{"title":"Search content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/content/search/{orgId}","href":"/api/reference/content/search-content"},{"title":"Count content","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/content/count/{orgId}","href":"/api/reference/content/count-content"},{"title":"Track a URL for citation analytics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/tracked-urls","href":"/api/reference/content/track-a-url-for-citation-analytics"},{"title":"Update a tracked URL","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/tracked-urls/{id}","href":"/api/reference/content/update-a-tracked-url"},{"title":"Untrack a URL","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/tracked-urls/{id}","href":"/api/reference/content/untrack-a-url"},{"title":"List tracked URLs ranked by citation count","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/tracked-urls/analytics","href":"/api/reference/content/list-tracked-urls-ranked-by-citation-count"},{"title":"Get summary metrics for tracked URLs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/tracked-urls/metrics","href":"/api/reference/content/get-summary-metrics-for-tracked-urls"}]},{"group":"Simulations","pages":[{"title":"List agent simulation runs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/agent-simulation/runs","href":"/api/reference/simulations/list-agent-simulation-runs"}]},{"group":"Apps \u0026 Publishing","pages":[{"title":"List Apps","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/apps","href":"/api/reference/apps-\u0026-publishing/list-apps"},{"title":"Create App","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/apps","href":"/api/reference/apps-\u0026-publishing/create-app"},{"title":"Get App","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/apps/{appId}","href":"/api/reference/apps-\u0026-publishing/get-app"},{"title":"Delete App","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/apps/{appId}","href":"/api/reference/apps-\u0026-publishing/delete-app"},{"title":"Update App","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/apps/{appId}","href":"/api/reference/apps-\u0026-publishing/update-app"},{"title":"List App resources","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/apps/{appId}/resources","href":"/api/reference/apps-\u0026-publishing/list-app-resources"},{"title":"Attach App resource","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/apps/{appId}/resources","href":"/api/reference/apps-\u0026-publishing/attach-app-resource"},{"title":"Detach App resource","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/apps/{appId}/resources","href":"/api/reference/apps-\u0026-publishing/detach-app-resource"},{"title":"Update App resource","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/apps/{appId}/resources/{resourceId}","href":"/api/reference/apps-\u0026-publishing/update-app-resource"},{"title":"List App domains","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/apps/{appId}/domains","href":"/api/reference/apps-\u0026-publishing/list-app-domains"},{"title":"Create App domain","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/apps/{appId}/domains","href":"/api/reference/apps-\u0026-publishing/create-app-domain"},{"title":"Delete App domain","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/apps/{appId}/domains/{domainId}","href":"/api/reference/apps-\u0026-publishing/delete-app-domain"},{"title":"Update App domain","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/apps/{appId}/domains/{domainId}","href":"/api/reference/apps-\u0026-publishing/update-app-domain"},{"title":"Get web-domain routing config","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/domain/{id}/routing","href":"/api/reference/apps-\u0026-publishing/get-web-domain-routing-config"},{"title":"Save and publish web-domain routing config","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/domain/{id}/routing","href":"/api/reference/apps-\u0026-publishing/save-and-publish-web-domain-routing-config"},{"title":"Reset web-domain routing config","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/domain/{id}/routing","href":"/api/reference/apps-\u0026-publishing/reset-web-domain-routing-config"},{"title":"Validate web-domain routing config","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/domain/{id}/routing/validate","href":"/api/reference/apps-\u0026-publishing/validate-web-domain-routing-config"},{"title":"Publish web-domain routing config","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/domain/{id}/routing/publish","href":"/api/reference/apps-\u0026-publishing/publish-web-domain-routing-config"},{"title":"Get App config","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/apps/{appId}/app-config","href":"/api/reference/apps-\u0026-publishing/get-app-config"},{"title":"Update App config","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/apps/{appId}/app-config","href":"/api/reference/apps-\u0026-publishing/update-app-config"},{"title":"List App route candidates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/apps/{appId}/route-candidates","href":"/api/reference/apps-\u0026-publishing/list-app-route-candidates"},{"title":"List App routes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/apps/{appId}/routes","href":"/api/reference/apps-\u0026-publishing/list-app-routes"},{"title":"Create App route","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/apps/{appId}/routes","href":"/api/reference/apps-\u0026-publishing/create-app-route"},{"title":"Auto-create App route for document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/apps/{appId}/routes/auto","href":"/api/reference/apps-\u0026-publishing/auto-create-app-route-for-document"},{"title":"Generate App llms.txt","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/apps/{appId}/llms-txt","href":"/api/reference/apps-\u0026-publishing/generate-app-llmstxt"},{"title":"Delete App route","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/apps/{appId}/routes/{routeId}","href":"/api/reference/apps-\u0026-publishing/delete-app-route"},{"title":"Update App route","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /api/v1/apps/{appId}/routes/{routeId}","href":"/api/reference/apps-\u0026-publishing/update-app-route"},{"title":"Preview App route import","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/apps/{appId}/routes/import-preview","href":"/api/reference/apps-\u0026-publishing/preview-app-route-import"},{"title":"Create App routes in batch","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/apps/{appId}/routes/batch","href":"/api/reference/apps-\u0026-publishing/create-app-routes-in-batch"}]},{"group":"Personas","pages":[{"title":"List personas","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/personas","href":"/api/reference/personas/list-personas"},{"title":"Create a persona","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/personas","href":"/api/reference/personas/create-a-persona"},{"title":"Get a persona","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/personas/{personaId}","href":"/api/reference/personas/get-a-persona"},{"title":"Update a persona","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/v1/personas/{personaId}","href":"/api/reference/personas/update-a-persona"},{"title":"Delete a persona","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/v1/personas/{personaId}","href":"/api/reference/personas/delete-a-persona"},{"title":"Request personal agents for a persona","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/personas/{personaId}/personal-agents","href":"/api/reference/personas/request-personal-agents-for-a-persona"},{"title":"Cancel a persona's personal agent request","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/personas/{personaId}/personal-agents/{agent}","href":"/api/reference/personas/cancel-a-personas-personal-agent-request"}]},{"group":"Prompts","pages":[{"title":"List a prompt's answer engines","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/prompts/{id}/answer-engines","href":"/api/reference/prompts/list-a-prompts-answer-engines"}]},{"group":"Account","pages":[{"title":"Get the authenticated user id","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user/identity","href":"/api/reference/account/get-the-authenticated-user-id"}]}]}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/ts-sdk"}]}]},"title":"Preview App route import - The Prompting Company","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-WRhTSUDL.js","utils-ChMov4Kr.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-_REmC2bI.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp6nVRCu.js","snippetPresets-DZadmXoU.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CY2WdoTl.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DwYG-Q4l.js","shallow-BXQIGwv4.js","getApiPlaygroundDisplay-CK5nK5B9.js","CodeSnippet-TH4a2aGW.js","CodeSnippets-DwsQiOFS.js","Page-R3M_BF4L.js","getPastedJson-DD7kUzi_.js","icon-holE3QoJ.js","MethodPill-DUW0T8us.js","DuplicateIcon-CI_p4be-.js","createIcon-BdbRvavb.js","DynamicMarkdown-DN96a4Ur.js","SectionHeading-SCu36A9d.js","axios-vUo_bRtp.js","Markdown-CCeGv-zI.js","clsx-BGBGWFTt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Cv_O2fky.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-2C5OB2eV.js"]}