This section explains the main concepts in Langtail. If you are new to LLMs or prompt development, start from this glossary to familiarize yourself with the terminology.
A single execution of a deployment. This allows you to see some metadata, the request to Langtail, the request to the provider, and the response from the provider.
Magic buttons are kind of an easter egg hidden all over a Langtail UI. This button will usually help you enhance your prompts, generate test cases, and do other useful stuff via LLM. Let us know how many you’ve found!
A single version of a prompt which includes everything except for the messages entered in the playground. A user can revert back to a version at any time.
Company or organization that develops, trains, and offers access to the underlying language model, such as OpenAI (for GPT models), Google (for LaMDA), or Anthropic (for Claude).
A single custom function definition. Based on the user message, the provider can invoke this function to get external data or provide extra functionality.
Settings for a workspace where you can manage members and provider keys.
Was this page helpful?
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Langtail Docs","colors":{"primary":"#4f46e5","light":"#6366F1","dark":"#4338CA"},"favicon":"/images/favicon.svg","logo":{"light":"https://mintcdn.com/langtail-64/21vrq2LQuE9wZl3n/images/logo/light.svg?fit=max\u0026auto=format\u0026n=21vrq2LQuE9wZl3n\u0026q=85\u0026s=9a2020ca308f997e25f1af399ddc13fa","dark":"https://mintcdn.com/langtail-64/21vrq2LQuE9wZl3n/images/logo/dark.svg?fit=max\u0026auto=format\u0026n=21vrq2LQuE9wZl3n\u0026q=85\u0026s=42611dc0b61af027330cd7fb358de292"},"appearance":{"default":"dark","strict":true},"navbar":{"links":[{"label":"Join Discord","href":"https://discord.com/invite/PpNqWYdBCS"}],"primary":{"type":"button","label":"Open Langtail","href":"https://app.langtail.com"}},"footer":{"socials":{"twitter":"https://twitter.com/langtail","youtube":"https://www.youtube.com/@langtail","linkedin":"https://www.linkedin.com/company/langtail"}},"integrations":{"mixpanel":{"projectToken":"d93a0106154a1a514d81ce1f02019340"}},"navigation":{"global":{"anchors":[{"anchor":"Community","href":"https://discord.com/invite/PpNqWYdBCS","icon":"discord"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"langtail-64","hasAudioNarration":false,"actualSubdomain":"langtail-64","customDomains":["langtail.com"],"gitSource":{"type":"github","owner":"langtail","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e61791916e8ce404e694","collectionId":"1fb896f4-8d90-4a02-aeda-af568773cb06","schemaVersion":"v2"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6a21e61791916e8ce404e694:success","clientVersion":"0.0.3939","searchFilterCounts":[{"language":"default","tag":"Documentation","count":37},{"language":"default","tag":"Concepts and Examples","count":18},{"language":"default","tag":"References","count":12},{"language":"default","tag":"Threads","count":5},{"language":"default","tag":"Assistant messages in threads","count":5},{"language":"default","tag":"Playground","count":5},{"language":"default","tag":"Deployments","count":4},{"language":"default","tag":"OpenAI Proxy","count":4},{"language":"default","tag":"Tests","count":3},{"language":"default","tag":"Introduction","count":3}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"introduction/main-concepts-in-langtail","slug":"/introduction/main-concepts-in-langtail","pageMetadata":{"title":"Main concepts in Langtail","sidebarTitle":"Main concepts in Langtail","description":null,"href":"/introduction/main-concepts-in-langtail"},"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={p:`p`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`This section explains the main concepts in Langtail. If you are new to LLMs or prompt development, start from this glossary to familiarize yourself with the terminology.`}),`\n`,_jsx(Heading,{level:`3`,id:`api-keys`,children:`API keys`}),`\n`,_jsx(_components.p,{children:`API Keys used to authenticate to Langtail. Can be generated here or from Deployments tab.`}),`\n`,_jsx(Heading,{level:`3`,id:`assertion`,children:`Assertion`}),`\n`,_jsx(_components.p,{children:`To validate the outputs of your language models and prompts, Langtail provides three powerful assertion types: Text, Javascript and LLMs.`}),`\n`,_jsx(Heading,{level:`3`,id:`config`,children:`Config`}),`\n`,_jsx(_components.p,{children:`A set of different prompt parameters that will be used in the test.`}),`\n`,_jsx(Heading,{level:`3`,id:`deploy`,children:`Deploy`}),`\n`,_jsx(_components.p,{children:`Creates a deployment of the selected prompt version.`}),`\n`,_jsx(Heading,{level:`3`,id:`deployment`,children:`Deployment`}),`\n`,_jsx(_components.p,{children:`A prompt version that is available on the Langtail API.`}),`\n`,_jsx(Heading,{level:`3`,id:`environment`,children:`Environment`}),`\n`,_jsx(_components.p,{children:`An alias to a deployment. For example, the production API URL stays the same but is served by different deployments over time.`}),`\n`,_jsx(Heading,{level:`3`,id:`log`,children:`Log`}),`\n`,_jsx(_components.p,{children:`A single execution of a deployment. This allows you to see some metadata, the request to Langtail, the request to the provider, and the response from the provider.`}),`\n`,_jsx(Heading,{level:`3`,id:`magic-button-`,children:`Magic button ✨`}),`\n`,_jsx(_components.p,{children:`Magic buttons are kind of an easter egg hidden all over a Langtail UI. This button will usually help you enhance your prompts, generate test cases, and do other useful stuff via LLM. Let us know how many you’ve found!`}),`\n`,_jsx(Heading,{level:`3`,id:`member`,children:`Member`}),`\n`,_jsx(_components.p,{children:`A user in Langtail.`}),`\n`,_jsx(Heading,{level:`3`,id:`message`,children:`Message`}),`\n`,_jsx(_components.p,{children:`A specific type of template that is only used in the playground and not deployed with the prompt version.`}),`\n`,_jsx(Heading,{level:`3`,id:`metric`,children:`Metric`}),`\n`,_jsx(_components.p,{children:`Aggregated data about activity in the prompt or project.`}),`\n`,_jsx(Heading,{level:`3`,id:`model`,children:`Model`}),`\n`,_jsx(_components.p,{children:`A LLM model that will be used to run the prompt.`}),`\n`,_jsx(Heading,{level:`3`,id:`output`,children:`Output`}),`\n`,_jsx(_components.p,{children:`The result of running a single test case. Either Success or Fail.`}),`\n`,_jsx(Heading,{level:`3`,id:`parameter`,children:`Parameter`}),`\n`,_jsx(_components.p,{children:`A single setting for the prompt. For example, model or temperature.`}),`\n`,_jsx(Heading,{level:`3`,id:`playground`,children:`Playground`}),`\n`,_jsx(_components.p,{children:`An interface to easily edit and run a prompt. You can add templates, messages, variables, tools, and modify parameters.`}),`\n`,_jsx(Heading,{level:`3`,id:`preview-deployment`,children:`Preview deployment`}),`\n`,_jsx(_components.p,{children:`A specific environment called preview.`}),`\n`,_jsx(Heading,{level:`3`,id:`production-deployment`,children:`Production deployment`}),`\n`,_jsx(_components.p,{children:`A specific environment called production.`}),`\n`,_jsx(Heading,{level:`3`,id:`project`,children:`Project`}),`\n`,_jsx(_components.p,{children:`A collection of prompts. Also contains project-level API keys (shared across prompts) and an aggregated view of metrics and logs (from all prompts).`}),`\n`,_jsx(Heading,{level:`3`,id:`prompt`,children:`Prompt`}),`\n`,_jsx(_components.p,{children:`A collection of parameters, templates, messages, variables, and tools. Sent as a single request to the model.`}),`\n`,_jsx(Heading,{level:`3`,id:`prompt-version`,children:`Prompt version`}),`\n`,_jsx(_components.p,{children:`A single version of a prompt which includes everything except for the messages entered in the playground. A user can revert back to a version at any time.`}),`\n`,_jsx(Heading,{level:`3`,id:`provider`,children:`Provider`}),`\n`,_jsx(_components.p,{children:`Company or organization that develops, trains, and offers access to the underlying language model, such as OpenAI (for GPT models), Google (for LaMDA), or Anthropic (for Claude).`}),`\n`,_jsx(Heading,{level:`3`,id:`provider-key`,children:`Provider key`}),`\n`,_jsx(_components.p,{children:`API key used to authenticate to the provider .`}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`The response from the provider.`}),`\n`,_jsx(Heading,{level:`3`,id:`staging`,children:`Staging`}),`\n`,_jsx(_components.p,{children:`deployment\tA specific environment called staging.`}),`\n`,_jsx(Heading,{level:`3`,id:`template`,children:`Template`}),`\n`,_jsx(_components.p,{children:`A text string that is part of a prompt. Valid types are system, assistant, user, function, and tool.`}),`\n`,_jsx(Heading,{level:`3`,id:`test`,children:`Test`}),`\n`,_jsx(_components.p,{children:`A collection of configs, assertions and test cases. When run, each individual case is compared against every config and assertion and shows an output.`}),`\n`,_jsx(Heading,{level:`3`,id:`test-case`,children:`Test case`}),`\n`,_jsx(_components.p,{children:`A user message and/or variable values which are executed with the prompt version that is being tested. When run, it returns an output.`}),`\n`,_jsx(Heading,{level:`3`,id:`tool`,children:`Tool`}),`\n`,_jsx(_components.p,{children:`A single custom function definition. Based on the user message, the provider can invoke this function to get external data or provide extra functionality.`}),`\n`,_jsx(Heading,{level:`3`,id:`variable`,children:`Variable`}),`\n`,_jsx(_components.p,{children:`Text that can be inserted into a template and changed dynamically when run.`}),`\n`,_jsx(Heading,{level:`3`,id:`workspace`,children:`Workspace`}),`\n`,_jsx(_components.p,{children:`A collection of projects.`}),`\n`,_jsx(Heading,{level:`3`,id:`workspace-settings`,children:`Workspace settings`}),`\n`,_jsx(_components.p,{children:`Settings for a workspace where you can manage members and provider keys.`})]})}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":"Main concepts in Langtail","sidebarTitle":"Main concepts in Langtail","description":null,"href":"/introduction/main-concepts-in-langtail"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"API keys","slug":"api-keys","depth":3,"children":[]},{"title":"Assertion","slug":"assertion","depth":3,"children":[]},{"title":"Config","slug":"config","depth":3,"children":[]},{"title":"Deploy","slug":"deploy","depth":3,"children":[]},{"title":"Deployment","slug":"deployment","depth":3,"children":[]},{"title":"Environment","slug":"environment","depth":3,"children":[]},{"title":"Log","slug":"log","depth":3,"children":[]},{"title":"Magic button ✨","slug":"magic-button-","depth":3,"children":[]},{"title":"Member","slug":"member","depth":3,"children":[]},{"title":"Message","slug":"message","depth":3,"children":[]},{"title":"Metric","slug":"metric","depth":3,"children":[]},{"title":"Model","slug":"model","depth":3,"children":[]},{"title":"Output","slug":"output","depth":3,"children":[]},{"title":"Parameter","slug":"parameter","depth":3,"children":[]},{"title":"Playground","slug":"playground","depth":3,"children":[]},{"title":"Preview deployment","slug":"preview-deployment","depth":3,"children":[]},{"title":"Production deployment","slug":"production-deployment","depth":3,"children":[]},{"title":"Project","slug":"project","depth":3,"children":[]},{"title":"Prompt","slug":"prompt","depth":3,"children":[]},{"title":"Prompt version","slug":"prompt-version","depth":3,"children":[]},{"title":"Provider","slug":"provider","depth":3,"children":[]},{"title":"Provider key","slug":"provider-key","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Staging","slug":"staging","depth":3,"children":[]},{"title":"Template","slug":"template","depth":3,"children":[]},{"title":"Test","slug":"test","depth":3,"children":[]},{"title":"Test case","slug":"test-case","depth":3,"children":[]},{"title":"Tool","slug":"tool","depth":3,"children":[]},{"title":"Variable","slug":"variable","depth":3,"children":[]},{"title":"Workspace","slug":"workspace","depth":3,"children":[]},{"title":"Workspace settings","slug":"workspace-settings","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"langtail-64","siteName":"Langtail Docs","title":"Main concepts in Langtail - Langtail Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T00:48:06.196Z","originalFileLocation":"introduction/main-concepts-in-langtail.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";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=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Langtail Docs\">\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/langtail-64/gNTkU_HUz-gakvd9/_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/langtail-64/gNTkU_HUz-gakvd9/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/langtail-64/gNTkU_HUz-gakvd9/_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/langtail-64/gNTkU_HUz-gakvd9/_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/langtail-64/gNTkU_HUz-gakvd9/_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/langtail-64/gNTkU_HUz-gakvd9/_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/langtail-64/gNTkU_HUz-gakvd9/_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/langtail-64/gNTkU_HUz-gakvd9/_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/langtail-64/gNTkU_HUz-gakvd9/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Main concepts in Langtail - Langtail Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Langtail Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://langtail.com/docs/introduction/main-concepts-in-langtail\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://langtail-64.mintlify.app/_mintlify/api/og/v2?division=Introduction\u0026amp;title=Main+concepts+in+Langtail\u0026amp;theme=89c270717b2ceb66172a0814\u0026amp;signature=2ef3a0b64c5ed89a85a0dcf4a4014349c183a4c554fa9c01b419aed108346987\">\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=\"Main concepts in Langtail - Langtail Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://langtail-64.mintlify.app/_mintlify/api/og/v2?division=Introduction\u0026amp;title=Main+concepts+in+Langtail\u0026amp;theme=89c270717b2ceb66172a0814\u0026amp;signature=2ef3a0b64c5ed89a85a0dcf4a4014349c183a4c554fa9c01b419aed108346987\">\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/langtail-64/gNTkU_HUz-gakvd9/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Langtail Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4f46e5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://langtail.com/docs/introduction/main-concepts-in-langtail\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/introduction/main-concepts-in-langtail.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://langtail.com/#organization\",\"name\":\"Langtail Docs\",\"url\":\"https://langtail.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/langtail-64/21vrq2LQuE9wZl3n/images/logo/light.svg?fit=max\u0026auto=format\u0026n=21vrq2LQuE9wZl3n\u0026q=85\u0026s=9a2020ca308f997e25f1af399ddc13fa\"}},{\"@type\":\"WebSite\",\"@id\":\"https://langtail.com/docs#website\",\"name\":\"Langtail Docs\",\"url\":\"https://langtail.com/docs\",\"publisher\":{\"@id\":\"https://langtail.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://langtail.com/docs/introduction/main-concepts-in-langtail#webpage\",\"url\":\"https://langtail.com/docs/introduction/main-concepts-in-langtail\",\"name\":\"Main concepts in Langtail\",\"dateModified\":\"2026-01-07T00:48:06.196Z\",\"isPartOf\":{\"@id\":\"https://langtail.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://langtail.com/docs/introduction/main-concepts-in-langtail#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://langtail.com/docs/introduction/main-concepts-in-langtail#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Introduction\",\"item\":\"https://langtail.com/docs/introduction/what-is-langtail\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Main concepts in Langtail\",\"item\":\"https://langtail.com/docs/introduction/main-concepts-in-langtail\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://langtail.com/docs/introduction/main-concepts-in-langtail#article\",\"headline\":\"Main concepts in Langtail\",\"name\":\"Main concepts in Langtail\",\"url\":\"https://langtail.com/docs/introduction/main-concepts-in-langtail\",\"mainEntityOfPage\":{\"@id\":\"https://langtail.com/docs/introduction/main-concepts-in-langtail#webpage\"},\"dateModified\":\"2026-01-07T00:48:06.196Z\",\"publisher\":{\"@id\":\"https://langtail.com/#organization\"},\"isPartOf\":{\"@id\":\"https://langtail.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Langtail Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Langtail Docs","nav":{"global":{"anchors":[{"anchor":"Community","href":"https://discord.com/invite/PpNqWYdBCS","icon":"discord"}]},"anchors":[{"anchor":"Documentation","icon":"book-open","groups":[{"group":"Introduction","pages":[{"title":"What is Langtail?","href":"/introduction/what-is-langtail"},{"title":"Getting started","description":null,"href":"/introduction/getting-started"},{"title":"Main concepts in Langtail","sidebarTitle":"Main concepts in Langtail","href":"/introduction/main-concepts-in-langtail"}]},{"group":"Concepts and Examples","pages":[{"title":"Concepts and Examples Overview","sidebarTitle":"Overview","description":null,"href":"/concepts-and-examples/overview"},{"group":"Playground","pages":[{"title":"Playground Overview","sidebarTitle":"Overview","href":"/concepts-and-examples/playground/overview"},{"title":"Prompt Templating","href":"/concepts-and-examples/playground/templating"},{"title":"Assistants \u0026 Threads","sidebarTitle":"Assistants \u0026 Threads","href":"/concepts-and-examples/playground/assistants-threads"},{"title":"Variables","href":"/concepts-and-examples/playground/variables"},{"title":"Tools","href":"/concepts-and-examples/playground/tools"}]},{"group":"Tests","pages":[{"title":"Tests Overview","sidebarTitle":"Overview","href":"/concepts-and-examples/tests/overview"},{"title":"Basic Tests","href":"/concepts-and-examples/tests/basic-tests"},{"title":"Advanced tests","sidebarTitle":"Advanced tests","href":"/concepts-and-examples/tests/adv-tests"}]},{"group":"Deployments","pages":[{"title":"Deployments Overview","sidebarTitle":"Overview","href":"/concepts-and-examples/deployments/overview"},{"title":"Deploy Prompt","href":"/concepts-and-examples/deployments/deploy-prompt"},{"title":"API keys and Env Variables","href":"/concepts-and-examples/deployments/api-keys"}]},{"group":"Logs and Metrics","pages":[{"title":"Logs and Metrics Overview","sidebarTitle":"Overview","href":"/concepts-and-examples/logs-and-metrics/overview"}]},{"group":"OpenAI Proxy","pages":[{"title":"Integrate via Langtail SDK","href":"/concepts-and-examples/proxy/integrate-sdk"},{"title":"Integrate via OpenAI library","href":"/concepts-and-examples/proxy/openai"},{"title":"Integrate via REST API","href":"/concepts-and-examples/proxy/rest"},{"title":"Integrate via Langchain","href":"/concepts-and-examples/proxy/langchain"}]},{"group":"SDKs","pages":[{"title":"TypeScript SDK","href":"/concepts-and-examples/sdks/typescript"}]}]},{"group":"References","pages":[{"group":"Deployments","pages":[{"title":"Invoke Deployed Prompt","openapi":"POST /{workspace}/{project}/{prompt}/{environment}","href":"/api-reference/endpoint/invoke-deployed-prompt"}]},{"group":"Assistants","pages":[{"title":"Invoke Assistant","openapi":"POST /{workspace}/{project}/{assistant}/{environment}","href":"/api-reference/endpoint/invoke-assistant"}]},{"group":"Threads","pages":[{"title":"List Threads","openapi":"GET /v2/threads","href":"/api-reference/endpoint/threads"},{"title":"Create a Thread","openapi":"POST /v2/threads","href":"/api-reference/endpoint/create-thread"},{"title":"Thread by ID","openapi":"GET /v2/threads/{threadId}","href":"/api-reference/endpoint/thread"},{"title":"Delete a Thread by ID","openapi":"DELETE /v2/threads/{threadId}","href":"/api-reference/endpoint/delete-thread"},{"title":"Update a Thread by ID","openapi":"POST /v2/threads/{threadId}","href":"/api-reference/endpoint/update-thread"}]},{"group":"Assistant messages in threads","pages":[{"title":"List Thread Messages","openapi":"GET /v2/threads/{threadId}/messages","href":"/api-reference/endpoint/thread-messages"},{"title":"Create Thread Message","openapi":"POST /v2/threads/{threadId}/messages","href":"/api-reference/endpoint/create-thread-message"},{"title":"Get Thread Message","openapi":"GET /v2/threads/{threadId}/messages/{messageId}","href":"/api-reference/endpoint/thread-message"},{"title":"Update Thread Message","openapi":"POST /v2/threads/{threadId}/messages/{messageId}","href":"/api-reference/endpoint/update-message"},{"title":"Delete Thread Message","openapi":"DELETE /v2/threads/{threadId}/messages/{messageId}","href":"/api-reference/endpoint/delete-thread-message"}]}]},{"group":"Media \u0026 Presentations","pages":[{"title":"Make Chatbots Better | WebExpo Talk","sidebarTitle":"Make Chatbots Better","href":"/media-presentations/web-expo"},{"title":"Deepnote | Case study","url":"https://langtail.com/customers/deepnote","href":"/media-presentations/deepnote-case"}]},{"group":"Support \u0026 Community","pages":[{"title":"Changelog","href":"/support/changelog"},{"title":"Get Help","href":"/support/get-help"}]}]}]},"title":"Main concepts in Langtail - Langtail Docs","buildId":"dpl_BZjP68ZaDe5vDy8GbUWzyTGSKsg7","deploymentId":"dpl_BZjP68ZaDe5vDy8GbUWzyTGSKsg7","dynamics":[],"chunks":[]}