Have your agent define a reusable warehouse metric and check its meaning.
/deepline-analytics Define [metric] in a test workspace. Compare its semantic query with direct SQL, then propose promoting the model.
The agent defines a small semantic model using the supported Snowflake connector and compares a representative semantic query with direct SQL for the same population.Provide a connected Snowflake warehouse, a test workspace, one physical table with its identity column, a known query result, and a precise business definition.Semantic queries read the stored model. Save the prior model, validate the proposed YAML, and save it in the test workspace before comparing queries. Promote the reviewed model only after the comparison passes.
Compare the rendered SQL and returned values for the same population. Check automatic base filters and any joins, nulls and timezones. A successful YAML dry run does not establish warehouse table existence or metric correctness.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Deepline","colors":{"primary":"#0055FF","light":"#66A3FF","dark":"#003DB3"},"logo":{"light":"https://mintcdn.com/deepline2/6wGHylQ4SineC3sv/images/deepline-logo-light.svg?fit=max\u0026auto=format\u0026n=6wGHylQ4SineC3sv\u0026q=85\u0026s=94fcfda53e1bc29d4b5d875d4940e3a2","dark":"https://mintcdn.com/deepline2/6wGHylQ4SineC3sv/images/deepline-logo-dark.svg?fit=max\u0026auto=format\u0026n=6wGHylQ4SineC3sv\u0026q=85\u0026s=67578207ee1a7592b2ad861d8a75eae3","href":"https://code.deepline.com"},"favicon":{"light":"https://mintcdn.com/deepline2/6wGHylQ4SineC3sv/images/deepline-favicon-light.svg?fit=max\u0026auto=format\u0026n=6wGHylQ4SineC3sv\u0026q=85\u0026s=71798ef1d84c676ccbd169fdccea73d7","dark":"https://mintcdn.com/deepline2/6wGHylQ4SineC3sv/images/deepline-favicon-dark.svg?fit=max\u0026auto=format\u0026n=6wGHylQ4SineC3sv\u0026q=85\u0026s=43340d1c393ca8071b885f1b325e66fc"},"navbar":{"primary":{"type":"button","label":"Get started","href":"https://code.deepline.com/sign-in"}},"seo":{"metatags":{"canonical":"https://deepline.com/docs"},"indexing":"all"},"fonts":{"body":{"family":"Geist"}},"styling":{"codeblocks":{"languages":{"custom":["/languages/deepline-prompt.json"]}},"latex":true},"integrations":{"gtm":{"tagId":"GTM-PMWN936N"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"deepline2","hasAudioNarration":false,"actualSubdomain":"deepline2","customDomains":["deepline.com"],"gitSource":{"type":"github","owner":"getaero-io","repo":"deepline-api","deployBranch":"mintlify-deploy","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af0033522f1a816a1b6a599","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"Technical reference","count":4271},{"language":"default","tag":"Reference","count":4271},{"language":"default","tag":"Integrations","count":4120},{"language":"default","tag":"Enrichment","count":1445},{"language":"default","tag":"Sequencing","count":957},{"language":"default","tag":"CRM","count":867},{"language":"default","tag":"Zoho CRM","count":387},{"language":"default","tag":"Call Intelligence","count":216},{"language":"default","tag":"ScrapeCreators","count":192},{"language":"default","tag":"Lemlist","count":187}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"llms-txt-v2","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":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"code-wrapping.css","content":"pre,pre code,.code-block pre,.code-block pre code{white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;max-width:100%}pre code,.code-block pre code{width:100%;min-width:0}:not(pre)>code{white-space:pre-wrap;overflow-wrap:anywhere}"}],"page":{"pagePath":"human/semantic-layer","slug":"/human/semantic-layer","pageMetadata":{"title":"Define warehouse metrics | Human guide","sidebarTitle":"Define warehouse metrics","description":"Have your agent define a reusable warehouse metric and check its meaning.","href":"/human/semantic-layer"},"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: \"Have your agent define a reusable warehouse metric and check its meaning.\"\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`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`deepline-prompt`,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:`deepline-prompt`,children:_jsxs(_components.code,{language:`deepline-prompt`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`/deepline-analytics`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Define [metric] in a test workspace. Compare its semantic query with direct SQL, then propose promoting the model.`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The agent defines a small semantic model using the supported Snowflake connector and compares a representative semantic query with direct SQL for the same population.`}),`\n`,_jsx(_components.p,{children:`Provide a connected Snowflake warehouse, a test workspace, one physical table with its identity column, a known query result, and a precise business definition.`}),`\n`,_jsx(_components.p,{children:`Semantic queries read the stored model. Save the prior model, validate the proposed YAML, and save it in the test workspace before comparing queries. Promote the reviewed model only after the comparison passes.`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Compare the rendered SQL and returned values for the same population. Check automatic base filters and any joins, nulls and timezones. A successful YAML dry run does not establish warehouse table existence or metric correctness.`})}),`\n`,_jsx(Heading,{level:`2`,id:`related-guides`,children:`Related guides`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/semantic-layer-reference`,children:`Semantic-layer reference`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/human/templates#review-and-operate-a-workflow`,children:`Review and operate a workflow`}),` covers authorization, pilots, and recovery.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.a,{href:`/semantic-layer`,children:`Agent guide: CLI and SDK instructions →`})})]})}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":{"codeStyling":{"languages":{"custom":["/languages/deepline-prompt.json"]}},"config":{},"pageMetadata":{"title":"Define warehouse metrics | Human guide","sidebarTitle":"Define warehouse metrics","description":"Have your agent define a reusable warehouse metric and check its meaning.","href":"/human/semantic-layer"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Related guides","slug":"related-guides","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/deepline2/c9b8d20d4b5d6679/rudderstack.js"],"subdomain":"deepline2","siteName":"Deepline","title":"Define warehouse metrics | Human guide - Deepline","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T21:03:03.046Z","originalFileLocation":"human/semantic-layer.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=\"Have your agent define a reusable warehouse metric and check its meaning.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Deepline\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/deepline2/5WIoCG6CDdpOVKsv/_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=\"/docs/mintlify-assets/_mintlify/favicons/deepline2/5WIoCG6CDdpOVKsv/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/deepline2/5WIoCG6CDdpOVKsv/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/deepline2/5WIoCG6CDdpOVKsv/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/deepline2/5WIoCG6CDdpOVKsv/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/deepline2/5WIoCG6CDdpOVKsv/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/deepline2/5WIoCG6CDdpOVKsv/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/deepline2/5WIoCG6CDdpOVKsv/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/deepline2/5WIoCG6CDdpOVKsv/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Define warehouse metrics | Human guide - Deepline\">\u003cmeta data-mint-head property=\"og:description\" content=\"Have your agent define a reusable warehouse metric and check its meaning.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Deepline\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://deepline.com/docs/human/semantic-layer\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://deepline2.mintlify.site/docs/_mintlify/api/og/v2?division=Work+with+data\u0026amp;title=Define+warehouse+metrics+%7C+Human+guide\u0026amp;description=Have+your+agent+define+a+reusable+warehouse+metric+and+check+its+meaning.\u0026amp;theme=89915d81c3f97aa9197144b1\u0026amp;signature=0f0e07bc232a060e22ba6d31e7d8018e8d1116f0ae0558d5966298719af0880c\">\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=\"Define warehouse metrics | Human guide - Deepline\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Have your agent define a reusable warehouse metric and check its meaning.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://deepline2.mintlify.site/docs/_mintlify/api/og/v2?division=Work+with+data\u0026amp;title=Define+warehouse+metrics+%7C+Human+guide\u0026amp;description=Have+your+agent+define+a+reusable+warehouse+metric+and+check+its+meaning.\u0026amp;theme=89915d81c3f97aa9197144b1\u0026amp;signature=0f0e07bc232a060e22ba6d31e7d8018e8d1116f0ae0558d5966298719af0880c\">\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=\"/docs/mintlify-assets/_mintlify/favicons/deepline2/5WIoCG6CDdpOVKsv/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Deepline\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0055FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://deepline.com/docs/human/semantic-layer\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/human/semantic-layer.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://deepline.com/#organization\",\"name\":\"Deepline\",\"url\":\"https://deepline.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/deepline2/6wGHylQ4SineC3sv/images/deepline-logo-light.svg?fit=max\u0026auto=format\u0026n=6wGHylQ4SineC3sv\u0026q=85\u0026s=94fcfda53e1bc29d4b5d875d4940e3a2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://deepline.com/docs#website\",\"name\":\"Deepline\",\"url\":\"https://deepline.com/docs\",\"publisher\":{\"@id\":\"https://deepline.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://deepline.com/docs/human/semantic-layer#webpage\",\"url\":\"https://deepline.com/docs/human/semantic-layer\",\"name\":\"Define warehouse metrics | Human guide\",\"description\":\"Have your agent define a reusable warehouse metric and check its meaning.\",\"dateModified\":\"2026-11-02T21:03:03.046Z\",\"isPartOf\":{\"@id\":\"https://deepline.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://deepline.com/docs/human/semantic-layer#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://deepline.com/docs/human/semantic-layer#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Work with data\",\"item\":\"https://deepline.com/docs/human/guides/validate-incoming-csv-files\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Define warehouse metrics | Human guide\",\"item\":\"https://deepline.com/docs/human/semantic-layer\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://deepline.com/docs/human/semantic-layer#article\",\"headline\":\"Define warehouse metrics | Human guide\",\"name\":\"Define warehouse metrics | Human guide\",\"description\":\"Have your agent define a reusable warehouse metric and check its meaning.\",\"url\":\"https://deepline.com/docs/human/semantic-layer\",\"mainEntityOfPage\":{\"@id\":\"https://deepline.com/docs/human/semantic-layer#webpage\"},\"dateModified\":\"2026-11-02T21:03:03.046Z\",\"publisher\":{\"@id\":\"https://deepline.com/#organization\"},\"isPartOf\":{\"@id\":\"https://deepline.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Deepline\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Deepline","nav":{"global":null,"tabs":[{"tab":"Get started","icon":"rocket","pages":[{"title":"Get started","href":"/use-with-an-agent"}]},{"tab":"How-to guides","icon":"list-check","dropdowns":[{"dropdown":"Human","icon":"user","groups":[{"group":"Start here","pages":[{"title":"Connect integrations | Human guide","sidebarTitle":"Connect integrations","href":"/human/integrations"},{"title":"Choose a prebuilt Play | Human guide","sidebarTitle":"Choose a prebuilt Play","href":"/human/sdk-v2/prebuilt-plays"},{"title":"Use a CSV as Play input | Human guide","sidebarTitle":"Use a CSV as Play input","href":"/human/sdk-v2/batch-csv"},{"title":"Run Plays and view results | Human guide","sidebarTitle":"Run Plays and view results","href":"/human/sdk-v2/calling-plays"},{"title":"Visualize a saved result | Human guide","sidebarTitle":"Visualize a saved result","href":"/human/sdk-v2/visualize-data"},{"title":"Cost control | Human guide","sidebarTitle":"Cost control","href":"/human/cost-control"},{"title":"Troubleshoot Deepline | Human guide","sidebarTitle":"Troubleshoot Deepline","href":"/human/troubleshooting"},{"title":"Recover a tool request | Human guide","sidebarTitle":"Recover a tool request","href":"/human/sdk-v2/tool-execution-recovery"},{"title":"Find your workflow | Human guide","sidebarTitle":"Find your workflow","href":"/human/templates"}]},{"group":"Building Your Own Plays","pages":[{"title":"Build a Play | Human guide","sidebarTitle":"Build a Play","href":"/human/sdk-v2/plays"},{"title":"Schedule or trigger a Play | Human guide","sidebarTitle":"Schedule or trigger a Play","href":"/human/sdk-v2/webhooks-and-schedules"},{"title":"Set up a Monitor | Human guide","sidebarTitle":"Set up a Monitor","href":"/human/plays/set-up-a-monitor"},{"title":"Process Monitor events | Human guide","sidebarTitle":"Process Monitor events","href":"/human/guides/monitor-to-play"},{"title":"Poll funding updates | Human guide","sidebarTitle":"Poll funding updates","href":"/human/recipes/poll-funding-updates"},{"title":"Deploy from GitHub | Human guide","sidebarTitle":"Deploy from GitHub","href":"/human/sdk-v2/git-deploys"},{"title":"Deploy with GitHub Actions | Human guide","sidebarTitle":"Deploy with GitHub Actions","href":"/human/sdk-v2/github-deployments"}]},{"group":"Migrations","pages":[{"title":"Migrate from Clay | Human guide","sidebarTitle":"Migrate from Clay","href":"/human/migrate-from-clay"}]},{"group":"Find and enrich data","pages":[{"title":"Find companies | Human guide","sidebarTitle":"Find companies","href":"/human/recipes/search-free-companies"},{"title":"Enrich companies | Human guide","sidebarTitle":"Enrich companies","href":"/human/plays/task-enrich-company"},{"title":"Find contacts by role | Human guide","sidebarTitle":"Find contacts by role","href":"/human/plays/task-find-decision-makers"},{"title":"Find LinkedIn profiles | Human guide","sidebarTitle":"Find LinkedIn profiles","href":"/human/plays/task-find-linkedin-profile"},{"title":"Find work emails | Human guide","sidebarTitle":"Find work emails","href":"/human/plays/email-waterfall"},{"title":"Find personal emails | Human guide","sidebarTitle":"Find personal emails","href":"/human/plays/task-find-personal-email"},{"title":"Find phone numbers | Human guide","sidebarTitle":"Find phone numbers","href":"/human/plays/task-find-mobile-phone"},{"title":"Research accounts | Human guide","sidebarTitle":"Research accounts","href":"/human/recipes/research-workflow"}]},{"group":"Qualify and route leads","pages":[{"title":"Score accounts | Human guide","sidebarTitle":"Score accounts","href":"/human/plays/play-qualify-lead-fit"},{"title":"Review account signals | Human guide","sidebarTitle":"Review account signals","href":"/human/plays/signal-playbooks"},{"title":"Qualify website visitors | Human guide","sidebarTitle":"Qualify website visitors","href":"/human/recipes/warm-outbound-web-intent"},{"title":"Route inbound leads | Human guide","sidebarTitle":"Route inbound leads","href":"/human/guides/inbound-lead-routing"}]},{"group":"Manage CRM and accounts","pages":[{"title":"Repair CRM records | Human guide","sidebarTitle":"Repair CRM records","href":"/human/guides/crm-data-quality-automation"},{"title":"Review job changes | Human guide","sidebarTitle":"Review job changes","href":"/human/plays/play-job-change-alerts"},{"title":"Update CRM after calls | Human guide","sidebarTitle":"Update CRM after calls","href":"/human/guides/post-call-crm-automation"},{"title":"Build an account plan | Human guide","sidebarTitle":"Build an account plan","href":"/human/guides/sales-account-planning-template"}]},{"group":"Campaigns and outreach","pages":[{"title":"Research competitors | Human guide","sidebarTitle":"Research competitors","href":"/human/plays/play-ad-intelligence"},{"title":"Verify emails before sending | Human guide","sidebarTitle":"Verify emails before sending","href":"/human/guides/automated-email-verification"},{"title":"Draft outreach | Human guide","sidebarTitle":"Draft outreach","href":"/human/plays/play-personalize-outreach"},{"title":"Add leads to a sequencer | Human guide","sidebarTitle":"Add leads to a sequencer","href":"/human/features/email-sequencer-integration"},{"title":"Build ad audiences | Human guide","sidebarTitle":"Build ad audiences","href":"/human/ads-audiences"}]},{"group":"Work with data","pages":[{"title":"Validate CSV files | Human guide","sidebarTitle":"Validate CSV files","href":"/human/guides/validate-incoming-csv-files"},{"title":"Query a database | Human guide","sidebarTitle":"Query a database","description":"Ask your agent to inspect and query the right customer data.","href":"/human/database-access"},{"title":"Define warehouse metrics | Human guide","sidebarTitle":"Define warehouse metrics","href":"/human/semantic-layer"}]},{"group":"Integrate Plays","pages":[{"title":"Call Plays from Python or HTTP | Human guide","sidebarTitle":"Call Plays from Python or HTTP","description":"Have your agent build a Python or backend caller without managing the calling code yourself.","href":"/human/sdk-v2/http-and-python"},{"title":"Integrate a Play into your app | Human guide","sidebarTitle":"Integrate a Play into your app","href":"/human/sdk-v2/production-integration"},{"title":"Enrich trial signups | Human guide","sidebarTitle":"Enrich trial signups","href":"/human/guides/free-trial-signup-enrichment"},{"title":"Choose a workspace for each project | Human guide","sidebarTitle":"Choose a workspace for each project","href":"/human/sdk-v2/multi-org"}]}]},{"dropdown":"Agent","icon":"robot","groups":[{"group":"Start here","pages":[{"title":"Connect integrations | Agent guide","sidebarTitle":"Connect integrations","href":"/integrations"},{"title":"Choose a prebuilt Play | Agent guide","sidebarTitle":"Choose a prebuilt Play","href":"/sdk-v2/prebuilt-plays"},{"title":"Use a CSV as Play input | Agent guide","sidebarTitle":"Use a CSV as Play input","href":"/sdk-v2/batch-csv"},{"title":"Run Plays and view results | Agent guide","sidebarTitle":"Run Plays and view results","href":"/sdk-v2/calling-plays"},{"title":"Visualize a saved result | Agent guide","sidebarTitle":"Visualize a saved result","href":"/sdk-v2/visualize-data"},{"title":"Cost control | Agent guide","sidebarTitle":"Cost control","icon":"shield-halved","href":"/cost-control"},{"title":"Troubleshoot Deepline | Agent guide","sidebarTitle":"Troubleshoot Deepline","href":"/troubleshooting"},{"title":"Recover a tool request | Agent guide","sidebarTitle":"Recover a tool request","href":"/sdk-v2/tool-execution-recovery"},{"title":"Find your workflow | Agent guide","sidebarTitle":"Find your workflow","href":"/templates"}]},{"group":"Building Your Own Plays","pages":[{"title":"Build a Play | Agent guide","sidebarTitle":"Build a Play","href":"/sdk-v2/plays"},{"title":"Schedule or trigger a Play | Agent guide","sidebarTitle":"Schedule or trigger a Play","href":"/sdk-v2/webhooks-and-schedules"},{"title":"Set up a Monitor | Agent guide","sidebarTitle":"Set up a Monitor","href":"/plays/set-up-a-monitor"},{"title":"Process Monitor events | Agent guide","sidebarTitle":"Process Monitor events","href":"/guides/monitor-to-play"},{"title":"Poll funding updates | Agent guide","sidebarTitle":"Poll funding updates","href":"/recipes/poll-funding-updates"},{"title":"Deploy from GitHub | Agent guide","sidebarTitle":"Deploy from GitHub","href":"/sdk-v2/git-deploys"},{"title":"Deploy with GitHub Actions | Agent guide","sidebarTitle":"Deploy with GitHub Actions","href":"/sdk-v2/github-deployments"}]},{"group":"Migrations","pages":[{"title":"Migrate from Clay | Agent guide","sidebarTitle":"Migrate from Clay","href":"/migrate-from-clay"}]},{"group":"Find and enrich data","pages":[{"title":"Find companies | Agent guide","sidebarTitle":"Find companies","href":"/recipes/search-free-companies"},{"title":"Enrich companies | Agent guide","sidebarTitle":"Enrich companies","href":"/plays/task-enrich-company"},{"title":"Find contacts by role | Agent guide","sidebarTitle":"Find contacts by role","href":"/plays/task-find-decision-makers"},{"title":"Find LinkedIn profiles | Agent guide","sidebarTitle":"Find LinkedIn profiles","href":"/plays/task-find-linkedin-profile"},{"title":"Find work emails | Agent guide","sidebarTitle":"Find work emails","href":"/plays/email-waterfall"},{"title":"Find personal emails | Agent guide","sidebarTitle":"Find personal emails","href":"/plays/task-find-personal-email"},{"title":"Find phone numbers | Agent guide","sidebarTitle":"Find phone numbers","href":"/plays/task-find-mobile-phone"},{"title":"Research accounts | Agent guide","sidebarTitle":"Research accounts","href":"/recipes/research-workflow"}]},{"group":"Qualify and route leads","pages":[{"title":"Score accounts | Agent guide","sidebarTitle":"Score accounts","href":"/plays/play-qualify-lead-fit"},{"title":"Review account signals | Agent guide","sidebarTitle":"Review account signals","href":"/plays/signal-playbooks"},{"title":"Qualify website visitors | Agent guide","sidebarTitle":"Qualify website visitors","href":"/recipes/warm-outbound-web-intent"},{"title":"Route inbound leads | Agent guide","sidebarTitle":"Route inbound leads","href":"/guides/inbound-lead-routing"}]},{"group":"Manage CRM and accounts","pages":[{"title":"Repair CRM records | Agent guide","sidebarTitle":"Repair CRM records","href":"/guides/crm-data-quality-automation"},{"title":"Review job changes | Agent guide","sidebarTitle":"Review job changes","href":"/plays/play-job-change-alerts"},{"title":"Update CRM after calls | Agent guide","sidebarTitle":"Update CRM after calls","href":"/guides/post-call-crm-automation"},{"title":"Build an account plan | Agent guide","sidebarTitle":"Build an account plan","href":"/guides/sales-account-planning-template"}]},{"group":"Campaigns and outreach","pages":[{"title":"Research competitors | Agent guide","sidebarTitle":"Research competitors","href":"/plays/play-ad-intelligence"},{"title":"Verify emails before sending | Agent guide","sidebarTitle":"Verify emails before sending","href":"/guides/automated-email-verification"},{"title":"Draft outreach | Agent guide","sidebarTitle":"Draft outreach","href":"/plays/play-personalize-outreach"},{"title":"Add leads to a sequencer | Agent guide","sidebarTitle":"Add leads to a sequencer","href":"/features/email-sequencer-integration"},{"title":"Build ad audiences | Agent guide","sidebarTitle":"Build ad audiences","href":"/ads-audiences"}]},{"group":"Work with data","pages":[{"title":"Validate CSV files | Agent guide","sidebarTitle":"Validate CSV files","href":"/guides/validate-incoming-csv-files"},{"title":"Query a database | Agent guide","sidebarTitle":"Query a database","href":"/database-access"},{"title":"Define warehouse metrics | Agent guide","sidebarTitle":"Define warehouse metrics","href":"/semantic-layer"}]},{"group":"Integrate Plays","pages":[{"title":"Call Plays from Python or HTTP | Agent guide","sidebarTitle":"Call Plays from Python or HTTP","href":"/sdk-v2/http-and-python"},{"title":"Integrate a Play into your app | Agent guide","sidebarTitle":"Integrate a Play into your app","href":"/sdk-v2/production-integration"},{"title":"Enrich trial signups | Agent guide","sidebarTitle":"Enrich trial signups","href":"/guides/free-trial-signup-enrichment"},{"title":"Choose a workspace for each project | Agent guide","sidebarTitle":"Choose a workspace for each project","href":"/sdk-v2/multi-org"}]}]}]},{"tab":"About Deepline","icon":"lightbulb","pages":[{"title":"About Deepline","href":"/introduction"}]},{"tab":"Technical reference","icon":"book-open","pages":[{"title":"Technical reference","href":"/api-reference"}]}]},"basePath":"","title":"Define warehouse metrics | Human guide - Deepline","buildId":"dpl_BSPUBxEoKhhK7HzXVDPxdPvWx4xc","deploymentId":"dpl_BSPUBxEoKhhK7HzXVDPxdPvWx4xc","dynamics":[],"chunks":[]}