Continue a Claude Code or Codex session in Base Code. Base Code lets you work on a GitHub project in the cloud using AI. You might start working on a project locally, in Claude Code or Codex, and want to continue in Base Code. Use this command to import that session, so you can maintain context across different development environments.You can also import a session from the start screen in Base Code, without running this command.You can import a session from:
claude.ai
Your current session in Claude Code or Codex.
A session file on your computer
Before you import, make sure you have a Base Code project and sign in with an account that has edit access to the project.
Usage
base44 sessions import
If you don’t pass a session link, --current, or --file, the command lists the Claude Code and Codex sessions in your current folder which you can choose from.
The command doesn’t support non-interactive flags. When using a script, or with --json you must pass a session link, --current, or --file.
The command uploads the session to Base Code:
The first time you import a session, Base Code creates a branch for it, or continues on the session’s own branch if you pushed it to GitHub.
If you import the same session again, the command adds only the new messages to that branch.
You can import the same session again as long as the AI in Base Code has finished its work on the branch and the earlier messages haven’t changed. To learn more about import errors, see Common errors.
The command prints how many messages it imported and a link to the branch in Base Code.
Arguments
Argument
Description
Required
[session-link]
Link to a claude.ai session, such as https://claude.ai/code/session_<id>. Pass only one of the link, --current, or --file.
No
Flags
Flag
Description
--current
Import the session this command runs from.
--file <path>
Import the session file specified in the path.
--skip-push-check
Import even though your local changes aren’t on GitHub. Base Code pulls from what’s on GitHub, so those changes won’t be included.
--token <key>
One-time import key from Base Code. Provided when you import from the Base Code start screen. The key expires after 10 minutes and is scoped to the project you’re importing into.
Common errors
You may encounter the following errors:
Error
What to do
The session exceeds the 50 MB limit.
Import a smaller session.
Your project has local commits that aren’t on GitHub.
Push the commits to GitHub, or pass --skip-push-check to import without them.
The project isn’t connected to its GitHub repository.
Connect the project to its repository in Base Code, then run the command again.
The AI in Base Code is still working on the branch.
Wait for the AI to finish, then run the command again.
The session has changed since you first imported it, so Base Code can’t add its newer messages to the branch.
In Base Code, open Import session and select Import into a new branch.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Base44 Support Documentation","colors":{"primary":"#FF6A00","light":"#FF8E5D","dark":"#FF6A00"},"logo":{"light":"https://mintcdn.com/base44/jhCpOaGylNweq32m/logo/new-brand-light.svg?fit=max\u0026auto=format\u0026n=jhCpOaGylNweq32m\u0026q=85\u0026s=7724705143e6cfece3b0a237be2a6890","dark":"https://mintcdn.com/base44/jhCpOaGylNweq32m/logo/new-brand-dark.svg?fit=max\u0026auto=format\u0026n=jhCpOaGylNweq32m\u0026q=85\u0026s=6c3ad8a8d1ae8299c119d554dc371843","href":"/"},"favicon":"https://mintcdn.com/base44/XkAHbvyG1CwOBCSP/images/base44-favicon.svg?fit=max\u0026auto=format\u0026n=XkAHbvyG1CwOBCSP\u0026q=85\u0026s=2a7fda75e5497e8b44f47f01bb3aa807","api":{"playground":{}},"background":{"color":{"light":"#FAF9F7","dark":"#1E1E24"}},"navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/changelog/product","label":"Changelog"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"footer":{"socials":{"twitter":"https://x.com/base44","discord":"https://discord.com/invite/ThpYPZpVts","linkedin":"https://www.linkedin.com/company/base44"}},"seo":{"metatags":{"canonical":"https://docs.base44.com","og:image":"https://docs.base44.com/images/base44-docs-og.png","og:image:width":"2400","og:image:height":"1260","twitter:image":"https://docs.base44.com/images/base44-docs-og.png","twitter:card":"summary_large_image"},"indexing":"all"},"integrations":{"mixpanel":{"projectToken":"cc6e9e106e4b833fc3a3819c11b74138"}},"contextual":{"options":["copy","view","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","default":true,"href":""},{"language":"pt-BR","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/pt-BR/changelog/product","label":"Registro de alterações"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"href":"pt-BR"},{"language":"es","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/es/changelog/product","label":"Registro de cambios"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"href":"es"},{"language":"he","hidden":true,"navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/he/changelog/product","label":"יומן שינויים"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"href":"he"},{"language":"ja","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/ja/changelog/product","label":"変更履歴"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"href":"ja"},{"language":"de","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/de/changelog/product","label":"Änderungsprotokoll"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"href":"de"},{"language":"fr","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/fr/changelog/product","label":"Notes de version"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"href":"fr"},{"language":"it","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/it/changelog/product","label":"Registro modifiche"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"href":"it"},{"language":"hu","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/hu/changelog/product","label":"Változásnapló"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"href":"hu"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"base44","hasAudioNarration":true,"actualSubdomain":"base44","customDomains":["docs.base44.com"],"gitSource":{"type":"github","owner":"base44-dev","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b02f319173fddf89faa7d87","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"en","tag":"Developers","count":872},{"language":"en","tag":"APIs","count":607},{"language":"en","tag":"Apps API","count":466},{"language":"de","tag":"Entwickler","count":144},{"language":"es","tag":"Desarrolladores","count":144},{"language":"fr","tag":"Développeurs","count":144},{"language":"he","tag":"מפתחים","count":144},{"language":"hu","tag":"Fejlesztők","count":144},{"language":"it","tag":"Sviluppatori","count":144},{"language":"ja","tag":"開発者","count":144},{"language":"pt-BR","tag":"Desenvolvedores","count":144},{"language":"en","tag":"API Reference","count":128},{"language":"en","tag":"Apps","count":114},{"language":"en","tag":"Skills","count":113},{"language":"en","tag":"Google Ads","count":90},{"language":"en","tag":"Workspace API (Beta)","count":77},{"language":"de","tag":"Apps","count":72},{"language":"es","tag":"Aplicaciones","count":72},{"language":"fr","tag":"Applications","count":72},{"language":"it","tag":"App","count":72},{"language":"ja","tag":"アプリ","count":72},{"language":"pt-BR","tag":"Apps","count":72},{"language":"he","tag":"אפליקציות","count":71},{"language":"hu","tag":"Alkalmazás","count":70},{"language":"en","tag":"CLI","count":62},{"language":"de","tag":"CLI","count":62},{"language":"es","tag":"CLI","count":62},{"language":"fr","tag":"CLI","count":62},{"language":"he","tag":"CLI","count":62},{"language":"hu","tag":"CLI","count":62},{"language":"it","tag":"CLI","count":62},{"language":"ja","tag":"CLI","count":62},{"language":"pt-BR","tag":"CLI","count":62},{"language":"en","tag":"Commands","count":60},{"language":"de","tag":"Commands","count":60},{"language":"es","tag":"Commands","count":60},{"language":"fr","tag":"Commands","count":60},{"language":"he","tag":"Commands","count":60},{"language":"hu","tag":"Commands","count":60},{"language":"it","tag":"Commands","count":60},{"language":"ja","tag":"Commands","count":60},{"language":"pt-BR","tag":"Commands","count":60},{"language":"de","tag":"Backend (Beta)","count":42},{"language":"es","tag":"Backend (Beta)","count":42},{"language":"fr","tag":"Backend (Beta)","count":42},{"language":"he","tag":"Backend (בטא)","count":42},{"language":"hu","tag":"Backend (Beta)","count":42},{"language":"it","tag":"Backend (Beta)","count":42},{"language":"ja","tag":"バックエンド (Beta)","count":42},{"language":"pt-BR","tag":"Backend (Beta)","count":42},{"language":"de","tag":"Konto \u0026 Abrechnung","count":38},{"language":"es","tag":"Cuenta y facturación","count":38},{"language":"fr","tag":"Compte et facturation","count":38},{"language":"he","tag":"חשבון וחיוב","count":38},{"language":"it","tag":"Account e fatturazione","count":38},{"language":"ja","tag":"アカウントと請求","count":38},{"language":"pt-BR","tag":"Conta e faturamento","count":38},{"language":"de","tag":"SDKs","count":32},{"language":"es","tag":"SDKs","count":32},{"language":"fr","tag":"SDKs","count":32},{"language":"he","tag":"SDKs","count":32},{"language":"hu","tag":"SDKs","count":32},{"language":"it","tag":"SDKs","count":32},{"language":"ja","tag":"SDKs","count":32},{"language":"pt-BR","tag":"SDKs","count":32},{"language":"hu","tag":"Fiók és számlázás","count":31},{"language":"de","tag":"Integrationen","count":27},{"language":"es","tag":"Integraciones","count":27},{"language":"fr","tag":"Intégrations","count":27},{"language":"he","tag":"אינטגרציות","count":27},{"language":"it","tag":"Integrazioni","count":27},{"language":"ja","tag":"インテグレーション","count":27},{"language":"pt-BR","tag":"Integrações","count":27},{"language":"de","tag":"App SDK","count":25},{"language":"es","tag":"App SDK","count":25},{"language":"fr","tag":"App SDK","count":25},{"language":"he","tag":"App SDK","count":25},{"language":"hu","tag":"App SDK","count":25},{"language":"it","tag":"App SDK","count":25},{"language":"ja","tag":"App SDK","count":25},{"language":"pt-BR","tag":"App SDK","count":25},{"language":"de","tag":"Unternehmen","count":22},{"language":"es","tag":"Empresas","count":22},{"language":"fr","tag":"Entreprise","count":22},{"language":"he","tag":"ארגונים","count":22},{"language":"hu","tag":"Vállalatok","count":22},{"language":"hu","tag":"Integrációk","count":22},{"language":"it","tag":"Aziende","count":22},{"language":"ja","tag":"エンタープライズ","count":22},{"language":"pt-BR","tag":"Empresas","count":22},{"language":"default","tag":"Developers","count":2},{"language":"default","tag":"APIs","count":2},{"language":"default","tag":"Audit Logs API","count":2},{"language":"default","tag":"API Reference","count":2},{"language":"default","tag":"audit-logs","count":2},{"language":"default","tag":"Integrations","count":1},{"language":"default","tag":"Connectors","count":1},{"language":"default","tag":"Catalog","count":1}],"searchSettings":{"showContentSnippets":true,"maxResults":10,"fullPageSearch":true}},"assistantConfig":{"enableStarterQuestions":true},"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":[{"_id":"68f8934ac32e3459832881b0","deploymentId":"6792c6d6e85c02040dc386df","questionText":"Which plans come with a free domain?","status":"active","generatedBy":"manual","createdAt":"2025-10-22T08:18:18.293Z","updatedAt":"2025-10-22T08:18:18.293Z","__v":0},{"_id":"68f892c4c32e345983287064","deploymentId":"6792c6d6e85c02040dc386df","questionText":"How are credits used?","status":"active","generatedBy":"manual","createdAt":"2025-10-22T08:16:04.700Z","updatedAt":"2025-10-22T08:16:24.261Z","__v":0},{"_id":"68f892aec32e345983286ddf","deploymentId":"6792c6d6e85c02040dc386df","questionText":"How do I use Discuss mode?","status":"active","generatedBy":"manual","createdAt":"2025-10-22T08:15:42.469Z","updatedAt":"2025-10-22T08:15:42.469Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","href":"/_mintlify/custom/base44/5b5842685c884e06/custom.css"}]}
{"page":{"pagePath":"pt-BR/developers/references/cli/commands/sessions-import","slug":"/pt-BR/developers/references/cli/commands/sessions-import","pageMetadata":{"title":"sessions import","description":"Move a Claude Code or Codex session to Base Code","href":"/pt-BR/developers/references/cli/commands/sessions-import"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Move a Claude Code or Codex session to Base Code\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Continue a Claude Code or Codex session in `,_jsx(_components.a,{href:`/Getting-Started/base-code`,children:`Base Code`}),`. Base Code lets you work on a GitHub project in the cloud using AI. You might start working on a project locally, in Claude Code or Codex, and want to continue in Base Code. Use this command to import that session, so you can maintain context across different development environments.`]}),`\n`,_jsx(_components.p,{children:`You can also import a session from the start screen in Base Code, without running this command.`}),`\n`,_jsx(_components.p,{children:`You can import a session from:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`claude.ai`}),`\n`,_jsx(_components.li,{children:`Your current session in Claude Code or Codex.`}),`\n`,_jsx(_components.li,{children:`A session file on your computer`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Before you import, make sure you have a `,_jsx(_components.a,{href:`/Getting-Started/base-code#setting-up-base-code`,children:`Base Code project`}),` and `,_jsx(_components.a,{href:`/developers/references/cli/commands/login`,children:`sign in`}),` with an account that has edit access to the project.`]}),`\n`,_jsx(Heading,{level:`2`,id:`usage`,children:`Usage`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`base44`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` sessions`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` import`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`If you don’t pass a session link, `,_jsx(_components.code,{children:`--current`}),`, or `,_jsx(_components.code,{children:`--file`}),`, the command lists the Claude Code and Codex sessions in your current folder which you can choose from.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The command doesn’t support non-interactive flags. When using a script, or with `,_jsx(_components.code,{children:`--json`}),` you must pass a session link, `,_jsx(_components.code,{children:`--current`}),`, or `,_jsx(_components.code,{children:`--file`}),`.`]})}),`\n`,_jsx(_components.p,{children:`The command uploads the session to Base Code:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`The first time you import a session, Base Code creates a branch for it, or continues on the session’s own branch if you pushed it to GitHub.`}),`\n`,_jsx(_components.li,{children:`If you import the same session again, the command adds only the new messages to that branch.`}),`\n`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`You can import the same session again as long as the AI in Base Code has finished its work on the branch and the earlier messages haven’t changed. To learn more about import errors, see `,_jsx(_components.a,{href:`#common-errors`,children:`Common errors`}),`.`]})}),`\n`,_jsx(_components.p,{children:`The command prints how many messages it imported and a link to the branch in Base Code.`}),`\n`,_jsx(Heading,{level:`2`,id:`arguments`,children:`Arguments`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Argument`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Required`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`[session-link]`})}),_jsxs(_components.td,{children:[`Link to a claude.ai session, such as `,_jsx(_components.code,{children:`https://claude.ai/code/session_\u003cid>`}),`. Pass only one of the link, `,_jsx(_components.code,{children:`--current`}),`, or `,_jsx(_components.code,{children:`--file`}),`.`]}),_jsx(_components.td,{children:`No`})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`flags`,children:`Flags`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Flag`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--current`})}),_jsx(_components.td,{children:`Import the session this command runs from.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--file \u003cpath>`})}),_jsx(_components.td,{children:`Import the session file specified in the path.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--skip-push-check`})}),_jsx(_components.td,{children:`Import even though your local changes aren’t on GitHub. Base Code pulls from what’s on GitHub, so those changes won’t be included.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--token \u003ckey>`})}),_jsx(_components.td,{children:`One-time import key from Base Code. Provided when you import from the Base Code start screen. The key expires after 10 minutes and is scoped to the project you’re importing into.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`common-errors`,children:`Common errors`}),`\n`,_jsx(_components.p,{children:`You may encounter the following errors:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Error`}),_jsx(_components.th,{children:`What to do`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The session exceeds the 50 MB limit.`}),_jsx(_components.td,{children:`Import a smaller session.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Your project has local commits that aren’t on GitHub.`}),_jsxs(_components.td,{children:[`Push the commits to GitHub, or pass `,_jsx(_components.code,{children:`--skip-push-check`}),` to import without them.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The project isn’t connected to its GitHub repository.`}),_jsx(_components.td,{children:`Connect the project to its repository in Base Code, then run the command again.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The AI in Base Code is still working on the branch.`}),_jsx(_components.td,{children:`Wait for the AI to finish, then run the command again.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`The session has changed since you first imported it, so Base Code can’t add its newer messages to the branch.`}),_jsxs(_components.td,{children:[`In Base Code, open `,_jsx(_components.strong,{children:`Import session`}),` and select `,_jsx(_components.strong,{children:`Import into a new branch`}),`.`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`see-also`,children:`See also`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/developers/references/cli/commands/link`,children:_jsx(_components.code,{children:`link`})}),`: Link a local project to a Base44 project`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/developers/references/cli/commands/login`,children:_jsx(_components.code,{children:`login`})}),`: Sign in to Base44`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"sessions import","description":"Move a Claude Code or Codex session to Base Code","href":"/pt-BR/developers/references/cli/commands/sessions-import"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Usage","slug":"usage","depth":2,"children":[]},{"title":"Arguments","slug":"arguments","depth":2,"children":[]},{"title":"Flags","slug":"flags","depth":2,"children":[]},{"title":"Common errors","slug":"common-errors","depth":2,"children":[]},{"title":"See also","slug":"see-also","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/base44/ca59cb34fe66af72/custom-analytics.js","/_mintlify/custom/base44/878f3d61142901ae/changelog-display.js","/_mintlify/custom/base44/655d636252386031/cta-cards.js"],"narration":{"path":"pt-BR/developers/references/cli/commands/sessions-import","locale":"pt-BR","estimatedDurationSec":132},"subdomain":"base44","siteName":"Base44 Support Documentation","title":"sessions import - Base44 Support Documentation","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/developers/references/cli/commands/sessions-import","matchLevel":1},"pt-BR":{"href":"/pt-BR/developers/references/cli/commands/sessions-import","matchLevel":0},"es":{"href":"/es/developers/references/cli/commands/sessions-import","matchLevel":1},"he":{"href":"/he/developers/references/cli/commands/sessions-import","matchLevel":1,"hidden":true},"ja":{"href":"/ja/developers/references/cli/commands/sessions-import","matchLevel":1},"de":{"href":"/de/developers/references/cli/commands/sessions-import","matchLevel":1},"fr":{"href":"/fr/developers/references/cli/commands/sessions-import","matchLevel":1},"it":{"href":"/it/developers/references/cli/commands/sessions-import","matchLevel":1},"hu":{"href":"/hu/developers/references/cli/commands/sessions-import","matchLevel":1}}},"lastModified":"2026-11-22T09:27:08.432Z","originalFileLocation":"pt-BR/developers/references/cli/commands/sessions-import.mdx","locale":"pt-BR"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Move a Claude Code or Codex session to Base Code\">\u003cmeta data-mint-head name=\"application-name\" content=\"Base44 Support Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/base44/nuCdY9ZGKAmI8mvz/_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/base44/nuCdY9ZGKAmI8mvz/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/base44/nuCdY9ZGKAmI8mvz/_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/base44/nuCdY9ZGKAmI8mvz/_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/base44/nuCdY9ZGKAmI8mvz/_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/base44/nuCdY9ZGKAmI8mvz/_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/base44/nuCdY9ZGKAmI8mvz/_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/base44/nuCdY9ZGKAmI8mvz/_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/base44/nuCdY9ZGKAmI8mvz/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"sessions import - Base44 Support Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Move a Claude Code or Codex session to Base Code\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Base44 Support Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.base44.com/pt-BR/developers/references/cli/commands/sessions-import\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.base44.com/images/base44-docs-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=\"sessions import - Base44 Support Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Move a Claude Code or Codex session to Base Code\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.base44.com/images/base44-docs-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/base44/nuCdY9ZGKAmI8mvz/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Base44 Support Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF6A00\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.base44.com/pt-BR/developers/references/cli/commands/sessions-import\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/pt-BR/developers/references/cli/commands/sessions-import.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.base44.com/pt-BR/developers/references/cli/commands/sessions-import\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.base44.com/developers/references/cli/commands/sessions-import\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.base44.com/es/developers/references/cli/commands/sessions-import\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.base44.com/ja/developers/references/cli/commands/sessions-import\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.base44.com/de/developers/references/cli/commands/sessions-import\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.base44.com/fr/developers/references/cli/commands/sessions-import\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"it\" href=\"https://docs.base44.com/it/developers/references/cli/commands/sessions-import\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"hu\" href=\"https://docs.base44.com/hu/developers/references/cli/commands/sessions-import\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.base44.com/developers/references/cli/commands/sessions-import\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.base44.com/#organization\",\"name\":\"Base44 Support Documentation\",\"url\":\"https://docs.base44.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/base44/jhCpOaGylNweq32m/logo/new-brand-light.svg?fit=max\u0026auto=format\u0026n=jhCpOaGylNweq32m\u0026q=85\u0026s=7724705143e6cfece3b0a237be2a6890\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.base44.com#website\",\"name\":\"Base44 Support Documentation\",\"url\":\"https://docs.base44.com\",\"publisher\":{\"@id\":\"https://docs.base44.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.base44.com/pt-BR/developers/references/cli/commands/sessions-import#webpage\",\"url\":\"https://docs.base44.com/pt-BR/developers/references/cli/commands/sessions-import\",\"name\":\"sessions import\",\"description\":\"Move a Claude Code or Codex session to Base Code\",\"dateModified\":\"2026-11-22T09:27:08.432Z\",\"isPartOf\":{\"@id\":\"https://docs.base44.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.base44.com/pt-BR/developers/references/cli/commands/sessions-import#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.base44.com/pt-BR/developers/references/cli/commands/sessions-import#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Commands\",\"item\":\"https://docs.base44.com/pt-BR/developers/references/cli/commands/login\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Projects\",\"item\":\"https://docs.base44.com/pt-BR/developers/references/cli/commands/create\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"sessions import\",\"item\":\"https://docs.base44.com/pt-BR/developers/references/cli/commands/sessions-import\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.base44.com/pt-BR/developers/references/cli/commands/sessions-import#article\",\"headline\":\"sessions import\",\"name\":\"sessions import\",\"description\":\"Move a Claude Code or Codex session to Base Code\",\"url\":\"https://docs.base44.com/pt-BR/developers/references/cli/commands/sessions-import\",\"mainEntityOfPage\":{\"@id\":\"https://docs.base44.com/pt-BR/developers/references/cli/commands/sessions-import#webpage\"},\"image\":\"https://docs.base44.com/images/base44-docs-og.png\",\"dateModified\":\"2026-11-22T09:27:08.432Z\",\"publisher\":{\"@id\":\"https://docs.base44.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.base44.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Base44 Support Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Base44 Support Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/pt-BR/developers/references/cli/commands/sessions-import.md","siteName":"Base44 Support Documentation","nav":{"global":null,"languages":[{"language":"en","default":true,"pages":[{"title":"en","href":"/developers/references/cli/commands/sessions-import"}]},{"language":"pt-BR","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/pt-BR/changelog/product","label":"Registro de alterações"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"tabs":[{"tab":"Apps","pages":[{"title":"Apps","href":"/pt-BR"}]},{"tab":"Superagentes","pages":[{"title":"Superagentes","href":"/pt-BR/Getting-Started/superagent"}]},{"tab":"Integrações","pages":[{"title":"Integrações","href":"/pt-BR/Integrations/Using-integrations"}]},{"tab":"Desenvolvedores","dropdowns":[{"dropdown":"Início","icon":"house","pages":[{"title":"Plataforma para desenvolvedores da Base44","mode":"wide","href":"/pt-BR/developers/home"}],"global":{"anchors":[{"anchor":"Backend","icon":"server","href":"/pt-BR/developers/backend/overview/introduction"},{"anchor":"Código do App","icon":"code","href":"/pt-BR/developers/app-code/overview/introduction"},{"anchor":"SDKs","icon":"brackets-curly","href":"/pt-BR/developers/references/sdks/overview"},{"anchor":"CLI","icon":"terminal","href":"/pt-BR/developers/references/cli/get-started/overview"}]}},{"dropdown":"Backend (Beta)","icon":"server","groups":[{"group":"Visão geral","icon":"compass","pages":[{"title":"Introdução","href":"/pt-BR/developers/backend/overview/introduction"},{"title":"Fundamentos do Backend Service","sidebarTitle":"Fundamentos do Backend Service","href":"/pt-BR/developers/backend/overview/backend-service-basics"},{"title":"Recursos","href":"/pt-BR/developers/backend/overview/features"},{"title":"Preços","href":"/pt-BR/developers/backend/overview/pricing"},{"title":"Solucione problemas do seu projeto","sidebarTitle":"Solução de problemas","href":"/pt-BR/developers/backend/overview/troubleshooting"}]},{"group":"Início rápido","icon":"rocket","pages":[{"title":"Construa com IA","sidebarTitle":"Construa com IA","href":"/pt-BR/developers/backend/quickstart/quickstart-with-ai"},{"group":"Modelos","pages":[{"title":"Somente backend","href":"/pt-BR/developers/backend/quickstart/templates/quickstart-backend-only"},{"title":"Quickstart com React","sidebarTitle":"React","href":"/pt-BR/developers/backend/quickstart/templates/quickstart-react-template"}]},{"group":"Frameworks","pages":[{"title":"Quickstart com React","sidebarTitle":"React","href":"/pt-BR/developers/backend/quickstart/frameworks/quickstart-with-react"},{"title":"Quickstart com Vue","sidebarTitle":"Vue","href":"/pt-BR/developers/backend/quickstart/frameworks/quickstart-vue"},{"title":"Quickstart com Solid JS","sidebarTitle":"Solid JS","href":"/pt-BR/developers/backend/quickstart/frameworks/quickstart-solid-js"},{"title":"Quickstart com Refine","sidebarTitle":"Refine","href":"/pt-BR/developers/backend/quickstart/frameworks/quickstart-refine"},{"title":"Quickstart com Hono","sidebarTitle":"Hono","href":"/pt-BR/developers/backend/quickstart/frameworks/quickstart-hono"},{"title":"Quickstart com React Native (Expo)","sidebarTitle":"React Native (Expo)","href":"/pt-BR/developers/backend/quickstart/frameworks/quickstart-with-react-native"}]}]},{"group":"Projeto","icon":"folder-open","pages":[{"title":"Estrutura do Projeto","href":"/pt-BR/developers/backend/overview/project-structure"},{"title":"Começar de um app Base44 existente","sidebarTitle":"Começar de um app Base44 existente","href":"/pt-BR/developers/backend/overview/start-from-existing-app"},{"title":"Configurar desenvolvimento local para um app existente","sidebarTitle":"Configurar desenvolvimento local para um app existente","href":"/pt-BR/developers/backend/overview/set-up-local-dev-existing-app"},{"title":"Vincular um projeto de backend existente","sidebarTitle":"Vincular um projeto de backend existente","href":"/pt-BR/developers/backend/overview/link-existing-project"},{"group":"Desenvolvimento Local","expanded":false,"pages":[{"title":"Desenvolvimento local","sidebarTitle":"Visão geral","href":"/pt-BR/developers/backend/overview/local-dev/local-development-overview"},{"title":"Configuração do desenvolvimento local","sidebarTitle":"Configuração","href":"/pt-BR/developers/backend/overview/local-dev/get-started"}]},{"title":"Scripts autônomos","sidebarTitle":"Scripts autônomos","href":"/pt-BR/developers/backend/overview/run-scripts"}]},{"group":"Ferramentas de Desenvolvimento com IA","icon":"wand-magic-sparkles","pages":[{"title":"Visão geral das ferramentas de desenvolvimento de IA","sidebarTitle":"Visão geral","href":"/pt-BR/developers/backend/overview/agent-extensions"},{"title":"Skills","sidebarTitle":"Skills","href":"/pt-BR/developers/backend/overview/skills"},{"title":"Servidor MCP da Base44","sidebarTitle":"Servidor MCP da Base44","href":"/pt-BR/developers/backend/overview/mcp-server"},{"title":"MCP de Docs da Base44","sidebarTitle":"Servidor MCP de Docs","href":"/pt-BR/developers/backend/overview/base44-docs-mcp"}]},{"group":"Recursos","icon":"cubes","pages":[{"group":"Agentes","expanded":false,"pages":[{"title":"Sobre agentes","sidebarTitle":"Agentes","href":"/pt-BR/developers/backend/resources/agents/overview"},{"title":"Skills de agente","sidebarTitle":"Skills de agente","href":"/pt-BR/developers/backend/resources/agents/agent-skills"}]},{"group":"Atores","expanded":false,"pages":[{"title":"Visão geral de actors","sidebarTitle":"Visão geral","href":"/pt-BR/developers/backend/resources/actors/overview"},{"title":"Criar um actor","sidebarTitle":"Criar um actor","href":"/pt-BR/developers/backend/resources/actors/create-actor"},{"title":"Actors: fluxos de exemplo","sidebarTitle":"Fluxos de exemplo","href":"/pt-BR/developers/backend/resources/actors/sample-flows"},{"title":"Arquivos e código de actors","sidebarTitle":"Arquivos e código de actors","href":"/pt-BR/developers/backend/resources/actors/reference"}]},{"title":"Modelos suportados","sidebarTitle":"Modelos","href":"/pt-BR/developers/backend/resources/models"},{"title":"Auth","sidebarTitle":"Auth","href":"/pt-BR/developers/backend/resources/auth"},{"group":"Funções de Backend","expanded":false,"pages":[{"title":"Visão geral de funções de backend","sidebarTitle":"Visão geral","href":"/pt-BR/developers/backend/resources/backend-functions/overview"},{"title":"Automations","href":"/pt-BR/developers/backend/resources/backend-functions/automations"}]},{"group":"Conectores","expanded":false,"pages":[{"title":"Visão geral de conectores","sidebarTitle":"Visão geral","href":"/pt-BR/developers/backend/resources/connectors"},{"title":"Conectores compartilhados","sidebarTitle":"Conectores compartilhados","href":"/pt-BR/developers/backend/resources/connectors/shared-connectors"},{"title":"Conectores de usuário do app","sidebarTitle":"Conectores de usuário do app","href":"/pt-BR/developers/backend/resources/connectors/app-user-connectors"}]},{"group":"Entidades","expanded":false,"pages":[{"title":"Visão geral de Entidades","sidebarTitle":"Visão geral","href":"/pt-BR/developers/backend/resources/entities/overview"},{"title":"Schemas de Entidade","href":"/pt-BR/developers/backend/resources/entities/entity-schemas"},{"title":"User Schema","href":"/pt-BR/developers/backend/resources/entities/user-schema"},{"title":"Segurança","href":"/pt-BR/developers/backend/resources/entities/security"}]}]}],"global":{"anchors":[{"anchor":"Developer Platform","icon":"arrow-left","href":"/pt-BR/developers/home"}]}},{"dropdown":"Código do App","icon":"grid-2","groups":[{"group":"Visão geral","icon":"compass","pages":[{"title":"Introdução","sidebarTitle":"Base44 para Devs","href":"/pt-BR/developers/app-code/overview/introduction"},{"title":"Estrutura do Projeto","href":"/pt-BR/developers/app-code/overview/project-structure"}]},{"group":"Editor Base44","icon":"code","pages":[{"title":"Code Tab","href":"/pt-BR/developers/app-code/editor/code-tab"},{"title":"Activity Monitor","sidebarTitle":"Activity Monitor","href":"/pt-BR/developers/app-code/editor/activity-monitor"}]},{"group":"Desenvolvimento Local","icon":"laptop","pages":[{"title":"Integração com GitHub","sidebarTitle":"Integração com GitHub","href":"/pt-BR/developers/app-code/local-development/github"}]},{"group":"Sandbox na nuvem","icon":"cloud","pages":[{"title":"Sandbox na nuvem","sidebarTitle":"Visão geral","href":"/pt-BR/developers/app-code/sandbox/overview"},{"title":"Traga seu próprio agente","sidebarTitle":"Traga seu próprio agente","href":"/pt-BR/developers/app-code/sandbox/bring-your-own-agent"}]}],"global":{"anchors":[{"anchor":"Developer Platform","icon":"arrow-left","href":"/pt-BR/developers/home"}]}},{"dropdown":"SDKs","icon":"brackets-curly","groups":[{"group":"Base44 SDKs","icon":"book-open","expanded":false,"pages":[{"title":"Base44 SDKs","sidebarTitle":"Overview","href":"/pt-BR/developers/references/sdks/overview"}]},{"group":"App SDK","icon":"brackets-curly","expanded":false,"pages":[{"group":"Get Started","icon":"book-open","expanded":false,"pages":[{"title":"SDK overview","href":"/pt-BR/developers/references/sdk/getting-started/overview"},{"title":"Base44 client","href":"/pt-BR/developers/references/sdk/getting-started/client"},{"title":"Work with data","href":"/pt-BR/developers/references/sdk/getting-started/work-with-data"},{"title":"Dynamic Types","href":"/pt-BR/developers/references/sdk/getting-started/dynamic-types"},{"title":"Common SDK uses","href":"/pt-BR/developers/references/sdk/getting-started/work-with-sdk"},{"title":"Connect to third-party APIs","href":"/pt-BR/developers/references/sdk/getting-started/third-party-apis"},{"title":"Generate images with the AI Gateway","sidebarTitle":"Generate images","href":"/pt-BR/developers/references/sdk/getting-started/ai-gateway-images"},{"title":"Generate video with the AI Gateway","sidebarTitle":"Generate video","href":"/pt-BR/developers/references/sdk/getting-started/ai-gateway-video"},{"title":"Generate music with the AI Gateway","sidebarTitle":"Generate music","href":"/pt-BR/developers/references/sdk/getting-started/ai-gateway-music"}]},{"group":"SDK Reference","boost":0.5,"icon":"brackets-curly","expanded":true,"pages":[{"group":"Client","expanded":false,"pages":[{"title":"createClient","href":"/pt-BR/developers/references/sdk/docs/functions/createClient"},{"title":"createClientFromRequest","href":"/pt-BR/developers/references/sdk/docs/functions/createClientFromRequest"}]},{"group":"Modules","expanded":false,"pages":[{"title":"actors","href":"/pt-BR/developers/references/sdk/docs/type-aliases/actors"},{"title":"agents","href":"/pt-BR/developers/references/sdk/docs/interfaces/agents"},{"title":"ai-gateway","href":"/pt-BR/developers/references/sdk/docs/interfaces/ai-gateway"},{"title":"analytics","href":"/pt-BR/developers/references/sdk/docs/interfaces/analytics"},{"title":"app","href":"/pt-BR/developers/references/sdk/docs/interfaces/app"},{"title":"app-logs","href":"/pt-BR/developers/references/sdk/docs/interfaces/app-logs"},{"title":"auth","href":"/pt-BR/developers/references/sdk/docs/interfaces/auth"},{"title":"browser","href":"/pt-BR/developers/references/sdk/docs/interfaces/browser"},{"title":"connectors","href":"/pt-BR/developers/references/sdk/docs/interfaces/connectors"},{"title":"entities","href":"/pt-BR/developers/references/sdk/docs/type-aliases/entities"},{"title":"functions","href":"/pt-BR/developers/references/sdk/docs/interfaces/functions"},{"title":"integrations","href":"/pt-BR/developers/references/sdk/docs/type-aliases/integrations"},{"title":"payments","href":"/pt-BR/developers/references/sdk/docs/interfaces/payments"},{"title":"sso","href":"/pt-BR/developers/references/sdk/docs/interfaces/sso"}]}]}]},{"group":"Platform SDK (Beta)","boost":0.75,"icon":"layer-group","expanded":false,"pages":[{"group":"Get Started","icon":"book-open","expanded":false,"pages":[{"title":"Platform SDK overview","sidebarTitle":"Overview","href":"/pt-BR/developers/references/platform-sdk/overview"}]},{"group":"Platform SDK Reference","icon":"brackets-curly","expanded":true,"pages":[{"group":"Client","expanded":false,"pages":[{"title":"createPlatformClient","href":"/pt-BR/developers/references/platform-sdk/docs/functions/createPlatformClient"},{"title":"createPlatformServer","href":"/pt-BR/developers/references/platform-sdk/docs/functions/createPlatformServer"}]},{"group":"Modules","expanded":false,"pages":[{"title":"chat","href":"/pt-BR/developers/references/platform-sdk/docs/interfaces/chat"},{"title":"webhooks","href":"/pt-BR/developers/references/platform-sdk/docs/interfaces/webhooks"}]},{"group":"React","expanded":false,"pages":[{"title":"useChat","href":"/pt-BR/developers/references/platform-sdk/docs/functions/useChat"}]}]}]}],"global":{"anchors":[{"anchor":"Developer Platform","icon":"arrow-left","href":"/pt-BR/developers/home"}]}},{"dropdown":"CLI","icon":"terminal","groups":[{"group":"Get Started","icon":"book-open","expanded":true,"pages":[{"title":"CLI Overview","href":"/pt-BR/developers/references/cli/get-started/overview"},{"title":"CLI Commands Overview","href":"/pt-BR/developers/references/cli/commands/introduction"}]},{"group":"Commands","boost":0.75,"icon":"terminal","pages":[{"group":"Account","pages":[{"title":"login","href":"/pt-BR/developers/references/cli/commands/login"},{"title":"logout","href":"/pt-BR/developers/references/cli/commands/logout"},{"title":"whoami","href":"/pt-BR/developers/references/cli/commands/whoami"}]},{"group":"Projects","pages":[{"title":"create","href":"/pt-BR/developers/references/cli/commands/create"},{"title":"link","description":"Link a local project to a Base44 project","href":"/pt-BR/developers/references/cli/commands/link"},{"title":"sessions import","href":"/pt-BR/developers/references/cli/commands/sessions-import"},{"title":"eject","description":"Clone an existing Base44 app into a separate local project","href":"/pt-BR/developers/references/cli/commands/eject"},{"title":"scaffold","href":"/pt-BR/developers/references/cli/commands/scaffold"},{"title":"dashboard open","href":"/pt-BR/developers/references/cli/commands/dashboard-open"}]},{"group":"Workspaces","pages":[{"title":"workspace get","href":"/pt-BR/developers/references/cli/commands/workspace-get"},{"title":"workspace list","href":"/pt-BR/developers/references/cli/commands/workspace-list"},{"title":"workspace move","href":"/pt-BR/developers/references/cli/commands/workspace-move"}]},{"group":"Functions","pages":[{"title":"functions pull","href":"/pt-BR/developers/references/cli/commands/functions-pull"},{"title":"functions deploy","href":"/pt-BR/developers/references/cli/commands/functions-deploy"},{"title":"functions delete","href":"/pt-BR/developers/references/cli/commands/functions-delete"},{"title":"functions list","href":"/pt-BR/developers/references/cli/commands/functions-list"}]},{"group":"Entities","pages":[{"title":"entities push","href":"/pt-BR/developers/references/cli/commands/entities-push"}]},{"group":"Agents","pages":[{"title":"agents pull","href":"/pt-BR/developers/references/cli/commands/agents-pull"},{"title":"agents push","href":"/pt-BR/developers/references/cli/commands/agents-push"},{"title":"agent-skills pull","href":"/pt-BR/developers/references/cli/commands/agent-skills-pull"},{"title":"agent-skills push","href":"/pt-BR/developers/references/cli/commands/agent-skills-push"}]},{"group":"Actors","pages":[{"title":"actors delete","href":"/pt-BR/developers/references/cli/commands/actors-delete"},{"title":"actors deploy","href":"/pt-BR/developers/references/cli/commands/actors-deploy"}]},{"group":"Workflows","pages":[{"title":"workflows list","href":"/pt-BR/developers/references/cli/commands/workflows-list"},{"title":"workflows runs","href":"/pt-BR/developers/references/cli/commands/workflows-runs"}]},{"group":"Connectors","pages":[{"title":"connectors initiate","href":"/pt-BR/developers/references/cli/commands/connectors-initiate"},{"title":"connectors list-available","href":"/pt-BR/developers/references/cli/commands/connectors-list-available"},{"title":"connectors pull","href":"/pt-BR/developers/references/cli/commands/connectors-pull"},{"title":"connectors push","href":"/pt-BR/developers/references/cli/commands/connectors-push"}]},{"group":"Auth","pages":[{"title":"auth password-login","href":"/pt-BR/developers/references/cli/commands/auth-password-login"},{"title":"auth pull","href":"/pt-BR/developers/references/cli/commands/auth-pull"},{"title":"auth push","href":"/pt-BR/developers/references/cli/commands/auth-push"},{"title":"auth social-login","href":"/pt-BR/developers/references/cli/commands/auth-social-login"},{"title":"auth sso","href":"/pt-BR/developers/references/cli/commands/auth-sso"}]},{"group":"Secrets","pages":[{"title":"secrets set","href":"/pt-BR/developers/references/cli/commands/secrets-set"},{"title":"secrets list","href":"/pt-BR/developers/references/cli/commands/secrets-list"},{"title":"secrets delete","href":"/pt-BR/developers/references/cli/commands/secrets-delete"}]},{"group":"Development","pages":[{"title":"dev","href":"/pt-BR/developers/references/cli/commands/dev"},{"title":"exec","href":"/pt-BR/developers/references/cli/commands/exec"},{"title":"types generate","href":"/pt-BR/developers/references/cli/commands/types-generate"},{"title":"site install","href":"/pt-BR/developers/references/cli/commands/site-install"},{"title":"site open","href":"/pt-BR/developers/references/cli/commands/site-open"},{"title":"site dev","href":"/pt-BR/developers/references/cli/commands/site-dev"},{"title":"logs","href":"/pt-BR/developers/references/cli/commands/logs"}]},{"group":"API","pages":[{"title":"api catalog","href":"/pt-BR/developers/references/cli/commands/api-catalog"},{"title":"api fetch","href":"/pt-BR/developers/references/cli/commands/api-fetch"},{"title":"api grep","href":"/pt-BR/developers/references/cli/commands/api-grep"},{"title":"api search","href":"/pt-BR/developers/references/cli/commands/api-search"}]},{"group":"Sandbox","pages":[{"title":"sandbox ls","href":"/pt-BR/developers/references/cli/commands/sandbox-ls"},{"title":"sandbox read","href":"/pt-BR/developers/references/cli/commands/sandbox-read"},{"title":"sandbox grep","href":"/pt-BR/developers/references/cli/commands/sandbox-grep"},{"title":"sandbox write","href":"/pt-BR/developers/references/cli/commands/sandbox-write"},{"title":"sandbox edit","href":"/pt-BR/developers/references/cli/commands/sandbox-edit"},{"title":"sandbox run","href":"/pt-BR/developers/references/cli/commands/sandbox-run"},{"title":"sandbox checkpoint","href":"/pt-BR/developers/references/cli/commands/sandbox-checkpoint"},{"title":"branches list","href":"/pt-BR/developers/references/cli/commands/branches-list"}]},{"group":"Deployment","pages":[{"title":"build","sidebarTitle":"build","href":"/pt-BR/developers/references/cli/commands/build"},{"title":"deploy","href":"/pt-BR/developers/references/cli/commands/deploy"},{"title":"site deploy","href":"/pt-BR/developers/references/cli/commands/site-deploy"},{"title":"visibility","href":"/pt-BR/developers/references/cli/commands/visibility"}]}]}],"global":{"anchors":[{"anchor":"Developer Platform","icon":"arrow-left","href":"/pt-BR/developers/home"}]}},{"dropdown":"APIs","icon":"plug","groups":[{"group":"Monitoring API","icon":"chart-line","expanded":false,"pages":[{"group":"Começar","icon":"book-open","pages":[{"title":"Visão geral da API de Monitoramento Enterprise","href":"/pt-BR/developers/references/monitoring-api/get-started/overview"},{"title":"Autenticação","href":"/pt-BR/developers/references/monitoring-api/get-started/authentication"},{"title":"Limites de taxa","href":"/pt-BR/developers/references/monitoring-api/get-started/rate-limits"}]}]},{"group":"Audit Logs API","icon":"clipboard-list","expanded":false,"pages":[{"group":"Começar","icon":"book-open","pages":[{"title":"Visão geral da API de Logs de Auditoria","href":"/pt-BR/developers/references/audit-logs-api/get-started/overview"},{"title":"Autenticação","sidebarTitle":"Autenticação","href":"/pt-BR/developers/references/audit-logs-api/get-started/authentication"},{"title":"Limites de taxa","href":"/pt-BR/developers/references/audit-logs-api/get-started/rate-limits"},{"title":"Tipos de eventos","sidebarTitle":"Tipos de eventos","href":"/pt-BR/developers/references/audit-logs-api/get-started/event-types"}]},{"group":"Referência da API","icon":"brackets-curly","pages":[{"group":"audit-logs","pages":[{"title":"Get security scan findings","deprecated":null,"version":null,"openapi":"/developers/references/audit-logs-api/audit-logs-openapi.json get /{workspace_id}/security-scan-runs/{run_id}","href":"/api-reference/audit-logs/get-security-scan-findings"},{"title":"List audit logs","deprecated":null,"version":null,"openapi":"/developers/references/audit-logs-api/audit-logs-openapi.json post /{workspace_id}/list","href":"/api-reference/audit-logs/list-audit-logs"}]}]}]}],"global":{"anchors":[{"anchor":"Developer Platform","icon":"arrow-left","href":"/pt-BR/developers/home"}]}}]},{"tab":"Conta e faturamento","pages":[{"title":"Conta e faturamento","href":"/pt-BR/Account-and-billing/Billing-and-plans"}]},{"tab":"Empresas","pages":[{"title":"Empresas","href":"/pt-BR/Enterprise/Base44-for-enterprises"}]}]},{"language":"es","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/es/changelog/product","label":"Registro de cambios"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"pages":[{"title":"es","href":"/es/developers/references/cli/commands/sessions-import"}]},{"language":"he","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/he/changelog/product","label":"יומן שינויים"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"hidden":true,"pages":[{"title":"he","href":"/he/developers/references/cli/commands/sessions-import","hidden":true}]},{"language":"ja","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/ja/changelog/product","label":"変更履歴"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"pages":[{"title":"ja","href":"/ja/developers/references/cli/commands/sessions-import"}]},{"language":"de","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/de/changelog/product","label":"Änderungsprotokoll"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"pages":[{"title":"de","href":"/de/developers/references/cli/commands/sessions-import"}]},{"language":"fr","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/fr/changelog/product","label":"Notes de version"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"pages":[{"title":"fr","href":"/fr/developers/references/cli/commands/sessions-import"}]},{"language":"it","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/it/changelog/product","label":"Registro modifiche"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"pages":[{"title":"it","href":"/it/developers/references/cli/commands/sessions-import"}]},{"language":"hu","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/hu/changelog/product","label":"Változásnapló"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"pages":[{"title":"hu","href":"/hu/developers/references/cli/commands/sessions-import"}]}]},"basePath":"","title":"sessions import - Base44 Support Documentation","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["2bfc744e19"],"chunks":["NarrationPlayer-Dno4A96c.js","types-CiTgMxws.js","shallow-CdX5aREi.js"]}