Any project can be exported as a single TOML file with its definition: settings, data source selections, Context pages, metrics, notebooks, and Workflows. The file is plain text, and two exports of an unchanged project are identical, so a diff shows only real changes. Use it to keep projects under version control or to import a project into another tenant.
What the File Contains
Section
Contents
[project]
Name, description, slug, and project settings
[[groups]]
The groups that have access to the project, by name. Grants only, not members
[[datasource_selections]]
Each connected data source by name and type, and which tables and fields the project uses. No connection details
[[catalog_metrics]]
Which tenant-level catalog metrics the project uses, and in which mode. The metric definitions themselves stay in the catalog
[[wiki_pages]]
Context pages linked to the project: title, path, parent, tags, and full content
[[metrics]]
Metric definitions: description, visibility, value type, Python code, SQL sources with their data source, schedule, and dashboard card layout
Each Workflow’s name, schedule, and its step definition, verbatim
References between exported items use slugs derived from names. Workflow bodies retain embedded IDs and include reference maps used during import. Groups and catalog metrics also retain their IDs as external references. Cross-tenant imports depend on matching data sources and other existing dependencies; review the import requirements and warnings.
What Is Not Included
Outputs: run results, reports, slide decks, CSV exports, and podcasts
Chat conversations, memories, and uploaded files
Data source connections and credentials. A source is named by data source name and type only
User identities, ownership, timestamps, and other audit fields
Private and draft content. The file includes shared, published, or pinned metrics, published or template notebooks, and shared Workflows. A draft that a shared Workflow depends on is included so the Workflow can be re-imported in working order
Who Can Export
Export needs admin capability on the project: a tenant Admin, the project owner, or a Group Admin of a group with access to the project. Analysts and Viewers do not see the option. See Roles at a Glance.
From the App
1
Open the actions menu
Go to Projects, hover over the project, and click the three-dot menu.
The same menu is available next to each project in the left-hand
navigation menu.
2
Click Export Project Data
Export Project Data in the project menu
3
Export
A dialog summarizes what the file will contain. Leave Include run
history off for a file meant for version control. Click Export. The
browser downloads <project-name>.dsl.toml.
Leave run history off for version control
Include run history
Turn this on to append what ran and whether it failed, for each metric, notebook, and Workflow. The file gains a [meta] block with the export time and a history list per item: run times, status, and error messages, no payloads. Runs per item caps each list, 50 by default and 500 at most.The timestamp makes every export unique, so keep history off for version control. Files with history are for incident review and audit sampling. Import accepts them but drops the history.
From the API
The export endpoint is the same one the app uses. Authenticate with a bearer token, then request the file.
Get a token
Exchange a username and password for a token at the login endpoint. The token is valid for four weeks.
The password login endpoint requires a stored Orion password. An SSO-only
account without one cannot use this endpoint. Run this example as a
dedicated account with an Orion password. See Export Orion Snapshots to
Git.
The Workflow body keeps the IDs it was saved with, and the refs table maps each one to a slug in the same file. Import uses that map to connect the Workflow to the metrics it recreates.
Next Steps
Export Orion Snapshots to Git (Beta)
Schedule snapshots and review exported differences in pull requests
Import a Project
Create a project from a committed file
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Orion Public Docs","description":"Documentation for Orion, the collaborative analytics platform built by Gravity (bygravity.com). Learn how to connect data sources, run analyses in natural language, build shared Context, and turn insights into dashboards, reports, and scheduled workflows.","colors":{"primary":"#0d9488","light":"#14b8a6","dark":"#134e4a"},"logo":{"light":"https://mintcdn.com/gravity-8db392ea/M5QrrLg7uEV27J6q/logo/orion-logo-charcoal.svg?fit=max\u0026auto=format\u0026n=M5QrrLg7uEV27J6q\u0026q=85\u0026s=4e64d863f48c2a81bdbbea46b631b952","dark":"https://mintcdn.com/gravity-8db392ea/M5QrrLg7uEV27J6q/logo/orion-logo-dark.svg?fit=max\u0026auto=format\u0026n=M5QrrLg7uEV27J6q\u0026q=85\u0026s=fb58ab7b667aad66b5b5b0a9839da9dc"},"favicon":"https://mintcdn.com/gravity-8db392ea/4asdrY4OKG8YwKh8/favicon.svg?fit=max\u0026auto=format\u0026n=4asdrY4OKG8YwKh8\u0026q=85\u0026s=54889911a86c33fc393a262d1e8c9075","navbar":{"links":[{"href":"mailto:help@bygravity.com","label":"Support"}],"primary":{"type":"button","label":"Website","href":"https://bygravity.com"}},"footer":{"socials":{"x":"https://x.com/OrionByGravity","linkedin":"https://linkedin.com/company/gravity-foundation"}},"seo":{"organization":{"name":"Gravity","url":"https://bygravity.com","logo":"https://bygravity.com/gravity-logo.svg"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":false},"markdown":{"instructions":"Orion is a collaborative analytics platform built by Gravity (bygravity.com). It connects to data warehouses, to Looker and dbt for existing business logic, and to a small set of external-context sources, and it lets teams ask questions in natural language to get shared analyses, dashboards, reports, and slide decks. The Connecting Data Sources page is the authoritative list of supported sources. When referencing Orion features, always link to the relevant documentation page. Orion is not open-source; it is a commercial SaaS product accessed at runorion.com."},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://bygravity.com"},{"anchor":"Blog","icon":"newspaper","href":"https://bygravity.com/resources"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gravity-8db392ea","hasAudioNarration":false,"actualSubdomain":"gravity-8db392ea","customDomains":["docs.runorion.com"],"gitSource":{"type":"github","owner":"gravity-foundation","repo":"orion-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b009fe35f38e5228b383878","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"Docs","count":63},{"language":"default","tag":"Chat","count":11},{"language":"default","tag":"Core Concepts","count":8},{"language":"default","tag":"Configuration","count":7},{"language":"default","tag":"Dashboards","count":6},{"language":"default","tag":"Context","count":5},{"language":"default","tag":"MCP Server","count":5},{"language":"default","tag":"Version Control","count":5},{"language":"default","tag":"Workflows","count":5},{"language":"default","tag":"Profile \u0026 Settings","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"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}],"googleFontsInlined":false},"customCss":[{"filePath":"page-status.css","content":"body:has([data-page-status=\"beta\"]) #page-title::before{content:\"Beta\";display:inline-block;vertical-align:middle;margin-right:0.75rem;padding:0.125rem 0.5rem;border:1px solid rgba(13, 148, 136, 0.25);border-radius:0.375rem;background:rgba(13, 148, 136, 0.08);color:#0f766e;font-size:0.75rem;font-weight:600;line-height:1.25rem;letter-spacing:0;transform:translateY(-0.15rem)}html.dark body:has([data-page-status=\"beta\"]) #page-title::before{border-color:rgba(45, 212, 191, 0.25);background:rgba(45, 212, 191, 0.08);color:#5eead4}"}]}
{"page":{"pagePath":"version-control/export","slug":"/version-control/export","pageMetadata":{"title":"Export a Project","description":"Download a project's definition as one TOML file","icon":"file-export","href":"/version-control/export"},"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: \"Download a project’s definition as one TOML file\"\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},{Card,CardGroup,CodeBlock,Frame,Heading,Note,OptimizedImage,Step,Steps,Table,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Any project can be exported as a single TOML file with its definition: settings, data source selections, Context pages, metrics, notebooks, and Workflows. The file is plain text, and two exports of an unchanged project are identical, so a diff shows only real changes. Use it to keep projects under `,_jsx(_components.a,{href:`/version-control/git-snapshots`,children:`version control`}),` or to `,_jsx(_components.a,{href:`/version-control/import`,children:`import`}),` a project into another tenant.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-the-file-contains`,children:`What the File Contains`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Section`}),_jsx(_components.th,{children:`Contents`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`[project]`})}),_jsx(_components.td,{children:`Name, description, slug, and project settings`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`[[groups]]`})}),_jsx(_components.td,{children:`The groups that have access to the project, by name. Grants only, not members`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`[[datasource_selections]]`})}),_jsx(_components.td,{children:`Each connected data source by name and type, and which tables and fields the project uses. No connection details`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`[[catalog_metrics]]`})}),_jsx(_components.td,{children:`Which tenant-level catalog metrics the project uses, and in which mode. The metric definitions themselves stay in the catalog`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`[[wiki_pages]]`})}),_jsx(_components.td,{children:`Context pages linked to the project: title, path, parent, tags, and full content`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`[[metrics]]`})}),_jsx(_components.td,{children:`Metric definitions: description, visibility, value type, Python code, SQL sources with their data source, schedule, and dashboard card layout`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`[[insight_makers]]`})}),_jsx(_components.td,{children:`Saved notebooks: cells, sources, parameters, metric references, schedule, and context instructions`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`[[workflows]]`})}),_jsx(_components.td,{children:`Each Workflow’s name, schedule, and its step definition, verbatim`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`References between exported items use slugs derived from names. Workflow bodies retain embedded IDs and include reference maps used during import. Groups and catalog metrics also retain their IDs as external references. Cross-tenant imports depend on matching data sources and other existing dependencies; review the `,_jsx(_components.a,{href:`/version-control/import#what-must-already-exist`,children:`import requirements`}),` and warnings.`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-is-not-included`,children:`What Is Not Included`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Outputs: run results, reports, slide decks, CSV exports, and podcasts`}),`\n`,_jsx(_components.li,{children:`Chat conversations, memories, and uploaded files`}),`\n`,_jsx(_components.li,{children:`Data source connections and credentials. A source is named by data source name and type only`}),`\n`,_jsx(_components.li,{children:`User identities, ownership, timestamps, and other audit fields`}),`\n`,_jsx(_components.li,{children:`Private and draft content. The file includes shared, published, or pinned metrics, published or template notebooks, and shared Workflows. A draft that a shared Workflow depends on is included so the Workflow can be re-imported in working order`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`who-can-export`,children:`Who Can Export`}),`\n`,_jsxs(_components.p,{children:[`Export needs admin capability on the project: a tenant Admin, the project owner, or a Group Admin of a group with access to the project. Analysts and Viewers do not see the option. See `,_jsx(_components.a,{href:`/configuration/groups#roles-at-a-glance`,children:`Roles at a Glance`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`from-the-app`,children:`From the App`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open the actions menu`,children:_jsxs(_components.p,{children:[`Go to `,_jsx(_components.strong,{children:`Projects`}),`, hover over the project, and click the three-dot menu.\nThe same menu is available next to each project in the left-hand\nnavigation menu.`]})}),_jsx(Step,{title:`Click Export Project Data`,children:_jsx(Frame,{caption:`Export Project Data in the project menu`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/gravity-8db392ea/QDELYG7K2AKjCFHf/images/version-control/export-project-menu.webp?fit=max\u0026auto=format\u0026n=QDELYG7K2AKjCFHf\u0026q=85\u0026s=a8a169c7480cd0c0d286728783dc8af8`,alt:`The Projects page filtered to the Customer Success project, with its actions menu open. The menu lists Settings, Members, Clone Project, Export Project Data, and Delete. Export Project Data is outlined in red`,\"data-og-width\":`5760`,width:`5760`,\"data-og-height\":`3240`,height:`3240`,\"data-path\":`images/version-control/export-project-menu.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gravity-8db392ea/QDELYG7K2AKjCFHf/images/version-control/export-project-menu.webp?w=280\u0026fit=max\u0026auto=format\u0026n=QDELYG7K2AKjCFHf\u0026q=85\u0026s=a35b5de714323b61a8eff796557e58d6 280w, https://mintcdn.com/gravity-8db392ea/QDELYG7K2AKjCFHf/images/version-control/export-project-menu.webp?w=560\u0026fit=max\u0026auto=format\u0026n=QDELYG7K2AKjCFHf\u0026q=85\u0026s=d302525d20115e9e70b1830530702610 560w, https://mintcdn.com/gravity-8db392ea/QDELYG7K2AKjCFHf/images/version-control/export-project-menu.webp?w=840\u0026fit=max\u0026auto=format\u0026n=QDELYG7K2AKjCFHf\u0026q=85\u0026s=415bd7bdfbba225e2f5887039f7cde76 840w, https://mintcdn.com/gravity-8db392ea/QDELYG7K2AKjCFHf/images/version-control/export-project-menu.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=QDELYG7K2AKjCFHf\u0026q=85\u0026s=5b2ce84c929b36ae26b418519ce13588 1100w, https://mintcdn.com/gravity-8db392ea/QDELYG7K2AKjCFHf/images/version-control/export-project-menu.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=QDELYG7K2AKjCFHf\u0026q=85\u0026s=bdfde7f6df2fa251bca26873e9c3baae 1650w, https://mintcdn.com/gravity-8db392ea/QDELYG7K2AKjCFHf/images/version-control/export-project-menu.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=QDELYG7K2AKjCFHf\u0026q=85\u0026s=3159c3caf2874c3e68daf96c2c037bd6 2500w`})})}),_jsxs(Step,{title:`Export`,children:[_jsxs(_components.p,{children:[`A dialog summarizes what the file will contain. Leave `,_jsx(_components.strong,{children:`Include run\nhistory`}),` off for a file meant for version control. Click `,_jsx(_components.strong,{children:`Export`}),`. The\nbrowser downloads `,_jsx(_components.code,{children:`\u003cproject-name>.dsl.toml`}),`.`]}),_jsx(Frame,{caption:`Leave run history off for version control`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/gravity-8db392ea/QDELYG7K2AKjCFHf/images/version-control/export-project-dialog.webp?fit=max\u0026auto=format\u0026n=QDELYG7K2AKjCFHf\u0026q=85\u0026s=414090aa45bb0af9317e3f5578bddd5a`,alt:`The Export project dialog over the Projects page. It says the download holds the project definition as a TOML file without deliverables. Below are an Include run history switch, turned off, and Cancel and Export buttons`,\"data-og-width\":`5760`,width:`5760`,\"data-og-height\":`3240`,height:`3240`,\"data-path\":`images/version-control/export-project-dialog.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gravity-8db392ea/QDELYG7K2AKjCFHf/images/version-control/export-project-dialog.webp?w=280\u0026fit=max\u0026auto=format\u0026n=QDELYG7K2AKjCFHf\u0026q=85\u0026s=f5016eff6ad15ca899cd1162a3124b94 280w, https://mintcdn.com/gravity-8db392ea/QDELYG7K2AKjCFHf/images/version-control/export-project-dialog.webp?w=560\u0026fit=max\u0026auto=format\u0026n=QDELYG7K2AKjCFHf\u0026q=85\u0026s=58701b2f301fa4b930721022edee01fc 560w, https://mintcdn.com/gravity-8db392ea/QDELYG7K2AKjCFHf/images/version-control/export-project-dialog.webp?w=840\u0026fit=max\u0026auto=format\u0026n=QDELYG7K2AKjCFHf\u0026q=85\u0026s=cbadfad39dc3b96b070a2ac6cd1dc2f5 840w, https://mintcdn.com/gravity-8db392ea/QDELYG7K2AKjCFHf/images/version-control/export-project-dialog.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=QDELYG7K2AKjCFHf\u0026q=85\u0026s=8565c581aa0ce113c34a97e0f835e111 1100w, https://mintcdn.com/gravity-8db392ea/QDELYG7K2AKjCFHf/images/version-control/export-project-dialog.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=QDELYG7K2AKjCFHf\u0026q=85\u0026s=f0ae7f8dda4cfc502197642258c6e970 1650w, https://mintcdn.com/gravity-8db392ea/QDELYG7K2AKjCFHf/images/version-control/export-project-dialog.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=QDELYG7K2AKjCFHf\u0026q=85\u0026s=ceefd2a50940e0add54014c302676e2d 2500w`})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`include-run-history`,children:`Include run history`}),`\n`,_jsxs(_components.p,{children:[`Turn this on to append what ran and whether it failed, for each metric, notebook, and Workflow. The file gains a `,_jsx(_components.code,{children:`[meta]`}),` block with the export time and a `,_jsx(_components.code,{children:`history`}),` list per item: run times, status, and error messages, no payloads. `,_jsx(_components.strong,{children:`Runs per item`}),` caps each list, 50 by default and 500 at most.`]}),`\n`,_jsx(_components.p,{children:`The timestamp makes every export unique, so keep history off for version control. Files with history are for incident review and audit sampling. Import accepts them but drops the history.`}),`\n`,_jsx(Heading,{level:`2`,id:`from-the-api`,children:`From the API`}),`\n`,_jsx(_components.p,{children:`The export endpoint is the same one the app uses. Authenticate with a bearer token, then request the file.`}),`\n`,_jsx(Heading,{level:`3`,id:`get-a-token`,children:`Get a token`}),`\n`,_jsx(_components.p,{children:`Exchange a username and password for a token at the login endpoint. The token is valid for four weeks.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ORION_URL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://your-tenant.runorion.com\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`TOKEN`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -sf`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$ORION_URL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/api/auth/login\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"username=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$ORION_USER`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"password=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$ORION_PASSWORD`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` jq`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -r`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .access_token`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The password login endpoint requires a stored Orion password. An SSO-only\naccount without one cannot use this endpoint. Run this example as a\ndedicated account with an Orion password. See `,_jsx(_components.a,{href:`/version-control/git-snapshots#prerequisites`,children:`Export Orion Snapshots to\nGit`}),`.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`download-the-file`,children:`Download the file`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,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:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -sf`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$ORION_URL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/api/projects/\u003cproject-id>/dsl-export/\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -o`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` finance-kpis.dsl.toml`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The project ID is the last segment of the project’s URL in the app, `,_jsx(_components.code,{children:`/projects/\u003cproject-id>`}),`.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Keep the trailing slash on `,_jsx(_components.code,{children:`/dsl-export/`}),`. A different path can return a\nredirect instead of the TOML file; `,_jsx(_components.code,{children:`curl -f`}),` alone does not reject redirects.`]})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Query parameter`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`include_history`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`false`})}),_jsxs(_components.td,{children:[`Also export run history. Adds a `,_jsx(_components.code,{children:`[meta]`}),` block with a timestamp`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`history_limit`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`50`})}),_jsx(_components.td,{children:`Most recent runs kept per item when history is on. Between 1 and 500`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`The response body is the TOML document with content type `,_jsx(_components.code,{children:`application/toml`}),`. Two response headers are set:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Content-Disposition`}),` gives the filename: the project name as a slug, plus `,_jsx(_components.code,{children:`.dsl.toml`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`X-Dsl-Export-Summary`}),` counts what was left out or could not be resolved, for example `,_jsx(_components.code,{children:`excluded_metrics=3`}),` when three private metrics were skipped`]}),`\n`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`Missing, invalid, or expired token`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`The account does not have admin capability on this project`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`No project with that ID`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`history_limit`}),` outside 1 to 500`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`sample-export`,children:`Sample Export`}),`\n`,_jsx(_components.p,{children:`An abridged export. SQL and Python are stored as multi-line strings, exactly as written, so a diff of this file shows query changes line by line.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`62`,language:`toml`,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:`toml`,children:_jsxs(_components.code,{language:`toml`,numberOfLines:`62`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`project`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`slug`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"finance-kpis\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Finance KPIs\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`description`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Monthly close metrics for the finance team\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[[`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`datasource_selections`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`datasource`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Snowflake Production\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`datasource_type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"snowflake\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`snapshot_version`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[[`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`metrics`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`slug`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"net-revenue\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Net Revenue\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`description`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Net revenue for the trailing 30 days\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`visibility`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"shared\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`state`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`is_pinned`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value_type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"number\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`schedule_enabled`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`schedule_cron`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0 6 * * *\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`python_code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`result = round(float(df[\"net_revenue\"].iloc[0]), 2)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"\"`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[[`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`metrics`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`sources`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`variable_name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"df\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`source_type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"query\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`execution_order`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`datasource`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Snowflake Production\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`datasource_type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"snowflake\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`metrics`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`sources`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`query_config`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`query`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`SELECT SUM(amount) AS net_revenue`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`FROM finance.revenue`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`WHERE booked_at >= DATEADD(day, -30, CURRENT_DATE)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"\"`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[[`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`workflows`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`slug`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"monthly-close-digest\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Monthly Close Digest\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`visibility`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"shared_board\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`schedule_enabled`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`schedule_cron`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0 8 1 * *\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`schema_version`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1.0\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`toml`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`schema_version = \"1.0\"`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`[[steps.metrics]]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`id = \"net-revenue\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`metric_id = \"2f1c9c2e-3b6d-4d7a-9a1e-6c1f4d2b8e10\"`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`[[steps.reports]]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`id = \"close-summary\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`format = \"markdown\"`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`[steps.reports.recipe]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`metric_ids = [\"2f1c9c2e-3b6d-4d7a-9a1e-6c1f4d2b8e10\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"\"`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`workflows`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`refs`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`metrics`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`2f1c9c2e-3b6d-4d7a-9a1e-6c1f4d2b8e10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"net-revenue\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The Workflow body keeps the IDs it was saved with, and the `,_jsx(_components.code,{children:`refs`}),` table maps each one to a slug in the same file. Import uses that map to connect the Workflow to the metrics it recreates.`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next Steps`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Export Orion Snapshots to Git (Beta)`,icon:`code-merge`,href:`/version-control/git-snapshots`,children:_jsx(_components.p,{children:`Schedule snapshots and review exported differences in pull requests`})}),_jsx(Card,{title:`Import a Project`,icon:`file-import`,href:`/version-control/import`,children:_jsx(_components.p,{children:`Create a project from a committed file`})})]})]})}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":"Export a Project","description":"Download a project's definition as one TOML file","icon":"file-export","href":"/version-control/export"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What the File Contains","slug":"what-the-file-contains","depth":2,"children":[]},{"title":"What Is Not Included","slug":"what-is-not-included","depth":2,"children":[]},{"title":"Who Can Export","slug":"who-can-export","depth":2,"children":[]},{"title":"From the App","slug":"from-the-app","depth":2,"children":[{"title":"Include run history","slug":"include-run-history","depth":3,"children":[]}]},{"title":"From the API","slug":"from-the-api","depth":2,"children":[{"title":"Get a token","slug":"get-a-token","depth":3,"children":[]},{"title":"Download the file","slug":"download-the-file","depth":3,"children":[]}]},{"title":"Sample Export","slug":"sample-export","depth":2,"children":[]},{"title":"Next Steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"gravity-8db392ea","siteName":"Orion Public Docs","title":"Export a Project - Orion Public Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-18T18:37:44.415Z","originalFileLocation":"version-control/export.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Download a project\u0026#x27;s definition as one TOML file\">\u003cmeta data-mint-head name=\"application-name\" content=\"Orion Public Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gravity-8db392ea/UtPVDZ47XLdW1r-w/_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/gravity-8db392ea/UtPVDZ47XLdW1r-w/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gravity-8db392ea/UtPVDZ47XLdW1r-w/_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/gravity-8db392ea/UtPVDZ47XLdW1r-w/_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/gravity-8db392ea/UtPVDZ47XLdW1r-w/_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/gravity-8db392ea/UtPVDZ47XLdW1r-w/_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/gravity-8db392ea/UtPVDZ47XLdW1r-w/_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/gravity-8db392ea/UtPVDZ47XLdW1r-w/_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/gravity-8db392ea/UtPVDZ47XLdW1r-w/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Export a Project - Orion Public Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Download a project\u0026#x27;s definition as one TOML file\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Orion Public Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.runorion.com/version-control/export\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gravity-8db392ea.mintlify.site/_mintlify/api/og/v2?division=Version+Control\u0026amp;title=Export+a+Project\u0026amp;description=Download+a+project%27s+definition+as+one+TOML+file\u0026amp;theme=196978094e3352db22f3232d\u0026amp;signature=cebcad7efb189bf37a42453ee641e9eadbd93dcb0a1e683155708ac30e20b536\">\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=\"Export a Project - Orion Public Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Download a project\u0026#x27;s definition as one TOML file\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gravity-8db392ea.mintlify.site/_mintlify/api/og/v2?division=Version+Control\u0026amp;title=Export+a+Project\u0026amp;description=Download+a+project%27s+definition+as+one+TOML+file\u0026amp;theme=196978094e3352db22f3232d\u0026amp;signature=cebcad7efb189bf37a42453ee641e9eadbd93dcb0a1e683155708ac30e20b536\">\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/gravity-8db392ea/UtPVDZ47XLdW1r-w/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Orion Public Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0d9488\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.runorion.com/version-control/export\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/version-control/export.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://bygravity.com/#organization\",\"name\":\"Gravity\",\"url\":\"https://bygravity.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://bygravity.com/gravity-logo.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.runorion.com#website\",\"name\":\"Orion Public Docs\",\"url\":\"https://docs.runorion.com\",\"publisher\":{\"@id\":\"https://bygravity.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.runorion.com/version-control/export#webpage\",\"url\":\"https://docs.runorion.com/version-control/export\",\"name\":\"Export a Project\",\"description\":\"Download a project's definition as one TOML file\",\"dateModified\":\"2026-11-18T18:37:44.415Z\",\"isPartOf\":{\"@id\":\"https://docs.runorion.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.runorion.com/version-control/export#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.runorion.com/version-control/export#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Version Control\",\"item\":\"https://docs.runorion.com/version-control/history-and-review\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Export a Project\",\"item\":\"https://docs.runorion.com/version-control/export\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.runorion.com/version-control/export#article\",\"headline\":\"Export a Project\",\"name\":\"Export a Project\",\"description\":\"Download a project's definition as one TOML file\",\"url\":\"https://docs.runorion.com/version-control/export\",\"mainEntityOfPage\":{\"@id\":\"https://docs.runorion.com/version-control/export#webpage\"},\"dateModified\":\"2026-11-18T18:37:44.415Z\",\"publisher\":{\"@id\":\"https://bygravity.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.runorion.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Orion Public Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Gravity\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/version-control/export.md","siteName":"Orion Public Docs","nav":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://bygravity.com"},{"anchor":"Blog","icon":"newspaper","href":"https://bygravity.com/resources"}]},"tabs":[{"tab":"Docs","groups":[{"group":"Getting Started","pages":[{"title":"Welcome to Orion","icon":"compass","href":""},{"title":"Quickstart","icon":"rocket","href":"/quickstart"}]},{"group":"Data Sources","pages":[{"title":"Data Sources Management","icon":"database","href":"/configuration/data-sources"},{"title":"Connecting Data Sources","icon":"plug","href":"/connecting-data-sources"}]},{"group":"Core Concepts","pages":[{"title":"Projects","icon":"folder","href":"/core-concepts/projects"},{"title":"Warp Drive","icon":"bolt","href":"/core-concepts/warp-drive"},{"title":"Context","icon":"book-open","href":"/core-concepts/knowledge-base"},{"title":"Structured Context","icon":"table-list","href":"/core-concepts/structured-context"},{"title":"Workflows","icon":"repeat","href":"/core-concepts/workflows"},{"title":"Search","icon":"magnifying-glass","href":"/core-concepts/search"},{"title":"Portals","icon":"door-open","href":"/core-concepts/portals"},{"title":"Views","icon":"layer-group","href":"/core-concepts/views"}]},{"group":"Profile \u0026 Settings","pages":[{"title":"User Onboarding \u0026 Invitations","icon":"user-plus","href":"/profile-settings/user-onboarding"},{"title":"Profile Management","icon":"user","href":"/profile-settings/profile-management"},{"title":"Integrations \u0026 Connectors","icon":"plug-circle-plus","href":"/profile-settings/integrations"},{"title":"Email Digest","icon":"envelope","href":"/profile-settings/email-digest"}]},{"group":"Chat","pages":[{"title":"Basics \u0026 Navigation","icon":"map","href":"/chat/basics-navigation"},{"title":"Running Analyses","icon":"chart-mixed","href":"/chat/running-analyses"},{"title":"Analysis Notebooks","icon":"laptop-code","href":"/chat/analysis-notebooks"},{"title":"Share Chat Conversations","icon":"share-nodes","href":"/chat/share-conversations"},{"title":"Rooms","icon":"users","href":"/chat/rooms"},{"title":"Inbox","icon":"inbox","href":"/chat/inbox"},{"title":"File Uploads","icon":"file-upload","href":"/chat/file-uploads"},{"title":"Memory","icon":"brain","href":"/chat/memory"},{"title":"Observatory Cards","icon":"comment-dots","href":"/chat/observatory-cards"},{"title":"Best Practices","icon":"lightbulb","href":"/chat/best-practices"},{"title":"Templates","icon":"bookmark","href":"/chat/templates"}]},{"group":"Metrics","pages":[{"title":"Metrics","icon":"arrow-trend-up","href":"/metrics/overview"},{"title":"Managing Metrics","icon":"sliders","href":"/metrics/manage"},{"title":"Metrics Catalog","icon":"gauge","href":"/metrics/catalog"}]},{"group":"Dashboards","pages":[{"title":"Dashboards","icon":"table-columns","href":"/dashboards/overview"},{"title":"Filter and Explore","icon":"filter","href":"/dashboards/explore"},{"title":"Investigate","icon":"magnifying-glass-chart","href":"/dashboards/investigate"},{"title":"Edit a Dashboard","icon":"pen-to-square","href":"/dashboards/edit"},{"title":"Slice Cards","icon":"wave-square","href":"/dashboards/slice-cards"},{"title":"Publish and Share","icon":"share-nodes","href":"/dashboards/publish"}]},{"group":"Workflows","pages":[{"title":"Create a Workflow","icon":"plus","href":"/workflows/create"},{"title":"Outputs and Delivery","icon":"paper-plane","href":"/workflows/outputs"},{"title":"Manage Workflows","icon":"sliders","href":"/workflows/manage"},{"title":"Advanced Workflows","icon":"code-branch","href":"/workflows/advanced"},{"title":"Workflow Best Practices","icon":"lightbulb","href":"/workflows/best-practices"}]},{"group":"Context","pages":[{"title":"Context Pages","icon":"book","href":"/knowledge-base/overview"},{"title":"Creating \u0026 Managing Pages","icon":"square-plus","href":"/knowledge-base/creating-pages"},{"title":"External Wiki Integrations","icon":"puzzle-piece","href":"/knowledge-base/wiki-integrations"},{"title":"Best Practices","icon":"list-check","href":"/knowledge-base/best-practices"},{"title":"Metrics Catalog","icon":"signs-post","href":"/knowledge-base/metrics-catalog"}]},{"group":"Configuration","pages":[{"title":"Global Configuration","icon":"gear","href":"/configuration/global-configuration"},{"title":"Company Information","icon":"building","href":"/configuration/company-information"},{"title":"User Management","icon":"users","href":"/configuration/user-management"},{"title":"Groups","icon":"user-group","href":"/configuration/groups"},{"title":"Sudo","icon":"user-secret","href":"/configuration/sudo"},{"title":"SSO","icon":"key","href":"/configuration/sso"},{"title":"MCP Connectors","icon":"plug-circle-bolt","href":"/configuration/mcp-connectors"}]},{"group":"Version Control","pages":[{"title":"History and Review","icon":"clock-rotate-left","href":"/version-control/history-and-review"},{"title":"Sync Your Workspace to GitHub","sidebarTitle":"Sync to Git","tag":"Beta","icon":"github","href":"/version-control/sync-to-git"},{"title":"Export Orion Snapshots to Git","sidebarTitle":"Git snapshots","tag":"Beta","description":"Keep exported definitions in Git and review changes through pull requests","icon":"code-merge","href":"/version-control/git-snapshots"},{"title":"Export a Project","icon":"file-export","href":"/version-control/export"},{"title":"Import a Project","description":"Create a project from an exported TOML file","icon":"file-import","href":"/version-control/import"}]},{"group":"MCP Server","pages":[{"title":"MCP Server","icon":"server","href":"/mcp/overview"},{"title":"Setup","icon":"wrench","href":"/mcp/setup"},{"title":"Gemini Enterprise","icon":"google","href":"/mcp/gemini-enterprise"},{"title":"Tools Reference","icon":"screwdriver-wrench","href":"/mcp/tools"},{"title":"Troubleshooting","icon":"bug","href":"/mcp/troubleshooting"}]}]}]},"basePath":"","title":"Export a Project - Orion Public Docs","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-DMn5ZJp6.js","DynamicMarkdown-5yMTCLas.js","zoom-image-lightbox-BUkqX3JF.js","lightbox-handle-r17bVUz3.js"]}