Skip to content
Gauge

ax-check.com

Atlan

atlan.com

ax-check.com

Checked 19 November 2026

A

95/100

Agents need your login

Docs and MCP setup are clear, but pricing is never shown.

17 of 23 checklist items pass, including a full markdown docs trail and a documented MCP server. Pricing is quote-only with no listed figures.

2 fixes to start with

Concrete changes, backed by what we found.

Onboarding

Give agents a clear login handoff and a way to resume setup.

Agents cannot progress through onboarding without human help. Provide an agent-accessible path through authentication and setup.

Docs

Publish prices alongside the sales contact.

Pricing page states prices are set by order form; no actual prices listed.

Recorded coding sessions

Same task, 3 models, no atlan.com account. Recorded 19 November 2026 on Pi.

3 recorded · 3m 19s

3m 19s · recorded

Session findings

Select a finding to see it in context.

piv0.84.2
modelQwen 3.8 Maxcwd/sandbox/repo
Help me build a simple example using Atlan. Tell me how pricing works, and briefly tell me whether this product will be easy for you to manage. Let me know if you get blocked. If this product has no developer workflow you can act on, say so plainly and stop. Stay light: use the hosted product through its SDK or API. Do not start local service stacks or wait for long-running commands; if the quickstart requires either, say so plainly and stop.
Thinking…

Let me think about this. The user wants to build a simple example using "Atlan." Atlan is a data catalog / metadata management platform (enterprise SaaS). It has APIs and SDKs (Python: atlanpy). However, it requires an enterprise tenant and API token — there's no free self-service signup. First, let me check whether there's anything relevant in the working directory.

Let me explore the repository.

pwd; ls -la; cat README* 2>/dev/null | head -50
/sandbox/repo
/sandbox/repo
total 16
drwxr-xr-x 3 root root 4096 Sep 18 08:00 .
drwxr-xr-x 7 root root 4096 Nov 19 18:31 ..
drwxr-xr-x 8 root root 4096 Sep 24 20:05 .git
-rw-r--r-- 1 root root  408 Sep 18 08:00 .gitignore
env | grep -i -E 'atlan|token|api' | sed 's/=.*/=<redacted>/'; pip list 2>/dev/null | grep -i -E 'atlan|requests' ; python3 -V; node -v
PI_GATEWAY_API_KEY=<redacted>
PI_GATEWAY_API_KEY=<redacted>
requests                                     2.34.2
requests-toolbelt                            1.0.0
Python 3.12.3
v22.23.4
Thinking…

The repository is empty. The user is asking about Atlan. Let's check whether the atlan SDK (atlanpy) is installable, and whether credentials are required. Atlan is a SaaS data catalog, and it requires an Atlan tenant URL and API key. Without those, you can't call the hosted API. However, it is possible to install the SDK and write samples. Let's check network access to PyPI.

Also, I need to answer about pricing: Atlan's pricing isn't publicly disclosed and is custom/enterprise-oriented. Public information suggests that an annual contract is required and that pricing depends on the number of users/assets. I should be upfront about this point.

Let's quickly try pip install atlanpy and check the documentation.

cd /tmp && timeout 60 pip download atlanpy --no-deps -d /tmp/atlandl 2>&1 | tail -5
ERROR: Could not find a version that satisfies the requirement atlanpy (from versions: none)
ERROR: Could not find a version that satisfies the requirement atlanpy (from versions: none)

[notice] A new release of pip is available: 26.2.1 -> 26.3
[notice] To update, run: /opt/freestyle/python/bin/python3 -m pip install --upgrade pip
ERROR: No matching distribution found for atlanpy
timeout 30 curl -sS -o /dev/null -w '%{http_code}\n' https://pypi.org/simple/atlanpy/ ; timeout 30 curl -sS -o /dev/null -w '%{http_code}\n' https://atlan.com
404
404
200
Thinking…

PyPI package name: this is atlanpy on PyPI (GitHub is atlanhq/atlan-python). pypi.org/simple/atlanpy/ returned 404 — that's weird. Maybe the network is restricted, or the package name is different. Let me check PyPI search / curl pypi.org/pypi/atlanpy/json. Also, try GitHub raw for the SDK documentation.

timeout 30 curl -sS https://pypi.org/pypi/atlanpy/json | head -c 300; echo; timeout 30 curl -sS -o /dev/null -w '%{http_code}\n' https://pypi.org/pypi/atlan/json; timeout 30 curl -sS -o /dev/null -w '%{http_code}\n' https://api.github.com/repos/atlanhq/atlan-python
{"message": "Not Found"}
{"message": "Not Found"}
404
200
timeout 30 curl -sS -o /dev/null -w '%{http_code}\n' https://atlan.com/pricing/; timeout 30 curl -sSL https://atlan.com/pricing/ | sed -e 's/<[^>]*>/ /g' | tr -s ' \n' ' \n' | grep -i -E 'price|plan|\$|per (user|month|year)|annual' | head -40
301
301
 var SKIP_KEY = /^(event|event_callback|event_timeout|ecommerce|gtm[._].*|page_url|timestamp)$/;
 /^(e-?mail|email_address|phone|phone_number|first_?name|last_?name|full_?name|firstname|lastname)$/i;
 var PASSIVE = /: (.+ )?(Shown|Seen|Loaded|Viewed|Reached|Suppressed|Timed Out)$/;
 var NAME = /^(404|[A-Z0-9][A-Za-z0-9 ]*: [A-Z0-9][A-Za-z0-9 ]*)$/;
 var prop = key.replace(/([a-z0-9])([A-Z])/g, '$1_$2').replace(/-/g, '_').toLowerCase();
 if (m) return /(^|,)functional:yes(,|$)/.test(decodeURIComponent(m[1]));
 ad: /(^|,)advertisement:yes(,|$)/.test(v),
 analytics: /(^|,)analytics:yes(,|$)/.test(v),
 functional: /(^|,)functional:yes(,|$)/.test(v)
 (function(){try{var e=typeof window {let e=`HubSpot Form: Submitted`,t=[1e3,2e3],n=3e3,r=8e3,i=`form.hs-form-private, form.hs-form`,a=!1,o=!1,s=!1,c=0,l=null,u=0,d=null,f=new Set,p=Math.random().toString(36).slice(2,10),m=`unknown`,h=(t,n)=>{typeof window.plausible==`function`&&window.plausible(t,{props:Object.assign({doc_id:p,armed_on:m},n),interactive:t===e})},g=e=>{let t=e.getBoundingClientRect();return t.top -400},_=e=>{let t=e.getBoundingClientRect();return t.width>0&&t.height>0},v=()=>{let e=new Set([...document.querySelectorAll(`.init-atlan-hubspot-form,.hs-form-holder`),...document.querySelectorAll(`[id^="hubspot-form-"]`)]);for(let t of document.querySelectorAll(`.hubspot-form,md-form`))e.has(t)||_(t)&&g(t)&&e.add(t);let t=Array.from(e);return t.filter(e=>!t.some(t=>t!==e&&t.contains(e)))},y=e=>e.classList.contains(`hubspot-form-initialized`)||!!e.querySelector(i)||e.matches(i),b=()=>Math.round(performance.now()-c),x=()=>{let e=v();return e.length>0&&e.every(y)},S=()=>{x()?l===null&&(l=b()):l=null},C=()=>{S(),u=window.setInterval(()=>{S(),b()>=r&&window.clearInterval(u)},100)},w=e=>{let r=e===n,i=v();if(i.length===0)return;a||(a=!0,h(`HubSpot Form: Attempt`,{forms_attempted:i.length}));let c=i.filter(e=>!y(e));if(c.length===0){o||(o=!0,d=e===t[0]?`prompt`:`slow`,h(`HubSpot Form: Ready`,{forms_attempted:i.length,ready_by_ms:e,ready_after_ms:l}));return}let u={reason:window.hbspt?`ready-never-fired`:`script-missing`,forms_attempted:i.length,forms_failed:c.length,waited_ms:e};r?(d=`failed`,s=!0,h(`HubSpot Form: Failed`,u)):h(`HubSpot Form: Slow (${e/1e3}s)`,u)},T=()=>{window.clearInterval(u),s&&x()&&l!==null&&h(`HubSpot Form: Recovered (late)`,{ready_after_ms:l,reason:window.hbspt?`ready-never-fired`:`script-missing`,waited_ms:r})},E=t=>{let n=t.data;if(!n||n.type!==`hsFormCallback`||n.eventName!==`onFormSubmitted`||!a&&v().length===0)return;let r=typeof n.id==`string`?n.id:`unknown`;f.has(r)||(f.add(r),h(e,{speed:d||`before-verdict`,ready_after_ms:l,form_id:r}))},D=()=>{h(`HubSpot Form: Pageview`),c=performance.now(),C(),window.addEventListener(`message`,E);for(let e of t)window.setTimeout(()=>w(e),e);window.setTimeout(()=>w(n),n),window.setTimeout(T,r)},O=()=>{document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,D,{once:!0}):D()};if(document.visibilityState===`visible`)m=`immediate`,O();else{let e=()=>{document.visibilityState===`visible`&&(document.removeEventListener(`visibilitychange`,e),m=`revealed`,O())};document.addEventListener(`visibilitychange`,e)}})(); 
 (function(){try{var e=typeof window e.paths.includes(i));if(o.length===0)return;let s=e.target?.closest?.(`a, button, [role="button"], input[type="submit"]`);if(!s)return;let c=s.tagName===`INPUT`?r(s.value||``):r(s.textContent||``);if(c){for(let e of o)if(e.labels.some(e=>c.startsWith(e))){a(e.eventName);return}}}function s(){typeof window astro-island,astro-slot,astro-static-slot{display:contents} (()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).load=e;window.dispatchEvent(new Event("astro:load"));})(); (()=>{var g=Object.defineProperty;var w=(a,s,c)=>s in a?g(a,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[s]=c;var l=(a,s,c)=>w(a,typeof s!="symbol"?s+"":s,c);var E=new Set(["__proto__","constructor","prototype"]);{let a={0:t=>y(t),1:t=>c(t),2:t=>new RegExp(t),3:t=>new Date(t),4:t=>new Map(c(t)),5:t=>new Set(c(t)),6:t=>BigInt(t),7:t=>new URL(t),8:t=>new Uint8Array(t),9:t=>new Uint16Array(t),10:t=>new Uint32Array(t),11:t=>Number.POSITIVE_INFINITY*t},s=t=>{let[p,e]=t;return p in a?a[p](e):void 0},c=t=>t.map(s),y=t=>typeof t!="object"||t===null?t:Object.fromEntries(Object.entries(t).map(([p,e])=>[p,s(e)]));class f extends HTMLElement{constructor(){super(...arguments);l(this,"Component");l(this,"hydrator");l(this,"hydrate",async()=>{var b;if(!this.hydrator||!this.isConnected)return;let e=(b=this.parentElement)==null?void 0:b.closest("astro-island[ssr]");if(e){e.addEventListener("astro:hydrate",this.hydrate,{once:!0});return}let r=this.querySelectorAll("astro-slot"),n={},d=this.querySelectorAll("template[data-astro-template]");for(let o of d){let i=o.closest(this.tagName);i!=null&&i.isSameNode(this)&&(n[o.getAttribute("data-astro-template")||"default"]=o.innerHTML,o.remove())}for(let o of r){let i=o.closest(this.tagName);i!=null&&i.isSameNode(this)&&(n[o.getAttribute("name")||"default"]=o.innerHTML)}let u;try{u=this.hasAttribute("props")?y(JSON.parse(this.getAttribute("props"))):{}}catch(o){let i=this.getAttribute("component-url")||" ",v=this.getAttribute("component-export");throw v&&(i+=` (export ${v})`),console.error(`[hydrate] Error parsing props for component ${i}`,this.getAttribute("props"),o),o}let h;await this.hydrator(this)(this.Component,u,n,{client:this.getAttribute("client")}),this.removeAttribute("ssr"),this.dispatchEvent(new CustomEvent("astro:hydrate"))});l(this,"unmount",()=>{this.isConnected||this.dispatchEvent(new CustomEvent("astro:unmount"))})}disconnectedCallback(){document.removeEventListener("astro:after-swap",this.unmount),document.addEventListener("astro:after-swap",this.unmount,{once:!0})}connectedCallback(){if(!this.hasAttribute("await-children")||document.readyState==="interactive"||document.readyState==="complete")this.childrenConnectedCallback();else{let e=()=>{document.removeEventListener("DOMContentLoaded",e),r.disconnect(),this.childrenConnectedCallback()},r=new MutationObserver(()=>{var n;((n=this.lastChild)==null?void 0:n.nodeType)===Node.COMMENT_NODE&&this.lastChild.nodeValue==="astro:end"&&(this.lastChild.remove(),e())});r.observe(this,{childList:!0}),document.addEventListener("DOMContentLoaded",e)}}async childrenConnectedCallback(){let e=this.getAttribute("before-hydration-url");e&&await import(e),this.start()}getRetryImportUrl(e){let r=new URL(e,document.baseURI);return r.searchParams.set("astro-retry",Date.now().toString()),r.toString()}async importWithRetry(e){try{return await import(e)}catch(r){return await new Promise(n=>setTimeout(n,1e3)),import(this.getRetryImportUrl(e))}}handleHydrationError(e){let r=this.getAttribute("component-url"),n=new CustomEvent("astro:hydration-error",{cancelable:!0,bubbles:!0,composed:!0,detail:{error:e,componentUrl:r}});this.dispatchEvent(n)&&console.error(`[astro-island] Error hydrating ${r}`,e)}async start(){let e=JSON.parse(this.getAttribute("opts")),r=this.getAttribute("client");if(Astro[r]===void 0){window.addEventListener(`astro:${r}`,()=>this.start(),{once:!0});return}try{await Astro[r](async()=>{let n=this.getAttribute("renderer-url");try{let[d,{default:u}]=await Promise.all([this.importWithRetry(this.getAttribute("component-url")),n?this.importWithRetry(n):Promise.resolve({default:()=>()=>{}})]),h=this.getAttribute("component-export")||"default";if(h.includes(".")){this.Component=d;for(let m of h.split(".")){if(E.has(m)||!this.Component||typeof this.Component!="object"&&typeof this.Component!="function"||!Object.hasOwn(this.Component,m))throw new Error(`Invalid component export path: ${h}`);this.Component=this.Component[m]}}else{if(E.has(h))throw new Error(`Invalid component export path: ${h}`);this.Component=d[h]}return this.hydrator=u,this.hydrate}catch(d){return this.handleHydrationError(d),()=>{}}},e,this)}catch(n){this.handleHydrationError(n)}}attributeChangedCallback(){this.hydrate()}}l(f,"observedAttributes",["props"]),customElements.get("astro-island")||customElements.define("astro-island",f)}})(); 
 (function(){try{var e=typeof window {if(e.data.type===`hsFormCallback`&&e.data.eventName===`onFormReady`){let e,t=new URL(document.location).searchParams.get(`ref`),n=new URL(document.location).search,r=document.referrer?new URL(document.referrer).pathname:``;e=t||n||r||`undetermined`;let i=document.cookie.match(/_ga=(.+?);/),a=i?i[1].split(`.`).slice(-2).join(`.`):null,o=document.querySelector(`[name=google_client_id]`),s=document.querySelector(`[name=previous_page_url]`),c=document.querySelector(`[name=previous_page_url__book_a_demo_]`);o&&(o.value=a),s&&(s.value=e),c&&(c.value=e)}})})(); (function(){try{var e=typeof window {function e(){document.querySelectorAll(`.swiper-container`).forEach(e=>{let t=e.querySelector(`.slide-progress`),n=e.querySelectorAll(`.swiper-slide`),r=new window.Swiper(e,{loop:!0});if(r.on(`after-slide`,()=>{}),e.dataset.autoplay){let i=Number(e.dataset.duration),a=n.length,o=0,s=0,c;function l(){c=setInterval(function(){s+=10;let e=(s%i+10)/i*100;t&&(t.style.width=`${e}%`),e===100&&(o++,o>=a&&(o=0),r.slideTo(o))},10)}l(),n.forEach(e=>{e.addEventListener(`mouseover`,()=>{clearInterval(c)}),e.addEventListener(`mouseout`,()=>{l()})})}})}window.addEventListener(`load`,()=>{e()})})(); 
 var hash = (location.hash || '').match(/^#t=(\d+)$/);
 (function(){try{var e=typeof window {this.window.location.href=t},2500)})})(); (function(){try{var e=typeof window {window.scrollY==0?(e.classList.add(`border-b`),e.classList.remove(`scrolled`),t?e.classList.remove(`border-gray-100`):e.classList.add(`border-gray-100`)):(e.classList.add(`scrolled`),e.classList.remove(`border-b`),e.classList.remove(`border-gray-100`))};n(),window.addEventListener(`scroll`,n,{passive:!0})})(); (function(){try{var e=typeof window {e.addEventListener(`click`,n=>{t||n.preventDefault();let r=e.getAttribute(`data-modal`),i=document.getElementById(r);i&&(i.style.display=`block`,document.body.style.overflowY=`hidden`)})})}e(),window.registerModalButtons=e;var t=()=>{document.querySelectorAll(`.modal-close`).forEach(t=>{t.addEventListener(`click`,()=>{let n=t.closest(`.modal`);n&&e(n)})}),document.querySelectorAll(`.modal`).forEach(t=>{t.addEventListener(`click`,n=>{n.target===t&&e(t)})});function e(e){e.style.display=`none`,document.body.style.overflowY=`unset`,t(e)}function t(e){let t;var n=e.querySelectorAll(`iframe`),r=e.querySelectorAll(`video`);n.forEach(e=>{t=e.src.includes(`vimeo`)?{method:`pause`,value:`true`}:{event:`command`,func:`pauseVideo`},e.contentWindow.postMessage(JSON.stringify(t),`*`)}),r.forEach(e=>{e.pause()})}window.addEventListener(`message`,t=>{t.data.type===`hsFormCallback`&&t.data.eventName===`onFormSubmit`&&setTimeout(()=>{let t=document.getElementById(`modal-seo-v3-hero`);t&&e(t)},50)})};t(),document.addEventListener(`siteHydrationComplete`,()=>{e(),t()}),document.addEventListener(`builderCmsPageLoaded`,function(){setTimeout(()=>{e(),t()},1e3)}),window.registerModalOtherButtons=t; (function(){try{var e=typeof window {let t=e.getAttribute(`data-tab-active`),n=e.querySelectorAll(`[data-tab-trigger]`),r=e.querySelectorAll(`[data-tab-content]`),i=t=>{n.forEach(e=>e.classList.remove(`active`)),r.forEach(e=>e.classList.remove(`active`));let i=e.querySelector(`[data-tab-trigger="${t}"]`),a=e.querySelector(`[data-tab-content="${t}"]`);i&&i.classList.add(`active`),a&&a.classList.add(`active`)};i(t||0),n.forEach(e=>e.addEventListener(`click`,()=>i(e.getAttribute(`data-tab-trigger`))))})})(); (function(){try{var e=typeof window {document.querySelectorAll(`[data-video-player]`).forEach(e=>{let n=e;if(n.src.includes(`youtube.com`)||n.src.includes(`youtu.be`))return;var r=new window.Vimeo.Player(e),i=!1,a=!0;if(n.dataset.playOnLoad===`true`&&(r.play(),a=!1),r.setVolume(0),r.on(`pause`,function(){a||(i=!0)}),r.on(`play`,function(){i=!1,a=!1}),window.innerWidth 0&&!r.paused&&!r.ended&&r.readyState>r.HAVE_CURRENT_DATA;f>=a&&t(e)&&!p&&!i?r.play():f window.pageYOffset&&n+r>window.pageXOffset}}window.addEventListener(`load`,t=>{e()}); (function(){try{var e=typeof window {let t=e.dataset.clickPlayTrigger,n=document.querySelector(`[data-click-play-player="${t}"]`),r=document.querySelector(`[data-click-play-icon="${t}"]`);e.addEventListener(`click`,()=>{if((e=>e.currentTime>0&&!e.paused&&!e.ended&&e.readyState>2)(n))return r.style.display=`block`,n.pause();r.style.display=`none`,n.play(),!(window.innerWidth (function(){try{var e=typeof window {t.forEach(t=>{t.isIntersecting&&(t.target.style.backgroundImage=`url(${t.target.dataset.src})`,t.target.dataset.src=``,t.target.classList.remove(`lazy-bg`),e.unobserve(t.target))})},{rootMargin:`0px 0px 400px 0px`});document.querySelectorAll(`.lazy-bg`).forEach(t=>{e.observe(t)}); {} "" (()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).only=e;window.dispatchEvent(new Event("astro:only"));})(); (function(){function c(){var b=a.contentDocument||(a.contentWindow&&a.contentWindow.document);if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'a5d14b41fc31dfc2',t:'MTc5NTExMzEwOA=='};var l=window.parent.location,o;try{o=new URL(l.origin).origin}catch(e){try{o=new URL(new URL(l.href).origin).origin}catch(e){o=''}}var u='/cdn-cgi/challenge-platform/scripts/jsd/main.js?ray=a5d14b41fc31dfc2',a=document.createElement('script');a.src=o?new URL(u,o).href:u;document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})(); 
Thinking…

PyPI's atlanpy returns 404 with JSON — could it be that PyPI blocks that path? Actually https://pypi.org/pypi/atlanpy/json returned "Not Found" — the correct name should be atlanpy… GitHub repo api returned 200. Hmm, maybe the network is restricted to specific hosts. Let me fetch GitHub repo info to confirm the package name, and try installing directly from GitHub. Actually the repo is atlanhq/atlan-python, package name is atlanpy. pypi returned 404 — maybe PyPI is blocked/proxied. Let me check pypi.org/simple/requests (requests is installed so it should exist).

The pricing page requires JS/Cloudflare. Should I look at Atlan's docs for pricing info? Atlan's pricing isn't public, it's custom quotes. I know it's enterprise-oriented pricing with annual contracts. I should state that it's not public and give a general answer.

Plan: install the atlan SDK (from PyPI, or GitHub if blocked), write a simple sample script that does search + create a glossary term. But it can't run without tenant + API token. That's the blocker: Atlan is SaaS, no self-serve, requires an existing tenant with an API key. I can build a sample that loads ATLAN_BASE_URL/ATLAN_API_KEY environment variables, plus write an offline demo. Let me check network access to pypi.

timeout 30 curl -sS -o /dev/null -w '%{http_code}\n' https://pypi.org/pypi/requests/json; timeout 30 curl -sS https://api.github.com/repos/atlanhq/atlan-python | head -c 600
200
200
{
  "id": 530730532,
  "node_id": "R_kgDOH6JOJA",
  "name": "atlan-python",
  "full_name": "atlanhq/atlan-python",
  "private": false,
  "owner": {
    "login": "atlanhq",
    "id": 47002402,
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3MDAyNDAy",
    "avatar_url": "https://avatars.githubusercontent.com/u/47002402?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/atlanhq",
    "html_url": "https://github.com/atlanhq",
    "followers_url": "https://api.github.com/users/atlanhq/followers",
    "following_url": "https://api.github.com/users/atlanhq/following{/other_user}",
    "gis
timeout 60 pip install atlanpy 2>&1 | tail -3; timeout 60 pip index versions atlanpy 2>&1 | tail -3
[notice] A new release of pip is available: 26.2.1 -> 26.3
[notice] A new release of pip is available: 26.2.1 -> 26.3
[notice] To update, run: /opt/freestyle/python/bin/python3 -m pip install --upgrade pip
ERROR: No matching distribution found for atlanpy

[notice] A new release of pip is available: 26.2.1 -> 26.3
[notice] To update, run: /opt/freestyle/python/bin/python3 -m pip install --upgrade pip
Thinking…

PyPI works (requests/json 200), but "atlanpy" doesn't exist? Hmm. Is the package name on PyPI really "atlanpy"? Let me check the setup/pyproject in the GitHub repo. The GitHub repo atlanhq/atlan-python — its README says pip install atlanpy. But PyPI is 404... maybe the package name on PyPI is different. Let me check the PyPI search, or the name in pyproject.toml inside the repo.

timeout 30 curl -sS https://raw.githubusercontent.com/atlanhq/atlan-python/main/pyproject.toml | head -40; echo ---; timeout 30 curl -sS https://raw.githubusercontent.com/atlanhq/atlan-python/main/README.md | head -60
[build-system]
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "pyatlan"
dynamic = ["version"]
description = "Atlan Python Client"
readme = "README.md"
license = {text = "Apache LICENSE 2.0"}
authors = [
    {name = "Atlan Technologies Pvt Ltd", email = "engineering@atlan.com"}
]
maintainers = [
    {name = "Atlan Technologies Pvt Ltd", email = "engineering@atlan.com"}
]
keywords = ["atlan", "client"]
classifiers = [
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3.13",
    "Programming Language :: Python :: 3.14",
    "License :: OSI Approved :: Apache Software License",
    "Operating System :: OS Independent",
    "Development Status :: 5 - Production/Stable",
]
requires-python = ">=3.9.1"
dependencies = [
    "pydantic~=2.13.4; python_version < '3.10'",
    "pydantic~=2.14.2; python_version >= '3.10'",  # GHSA-49g6-96jj-f7r9, GHSA-955g-x97g-8mcp, GHSA-jfv7-ghgv-gx4x, GHSA-qpmf-fgh3-ff25
    "jinja2~=3.1.6",
    # tenacity 9.1.3+ requires py3.10; keep the last 3.9-compatible on 3.9 (BLDX-1571)
    "tenacity~=9.1.2; python_version < '3.10'",
    "tenacity~=9.1.4; python_version >= '3.10'",
    "lazy-loader~=0.5",
    "nanoid~=2.0.0",
    "pytz~=2026.2",
    "python-dateutil~=2.9.0.post0",
---
<div align="center">

<img src="https://github.com/user-attachments/assets/38243809-d723-4464-8f1c-4869795ea0c8" alt="pyatlan Logo" width="300">

**The official Python SDK for the Atlan 💙**

[![PyPI version](https://img.shields.io/pypi/v/pyatlan.svg)](https://pypi.org/project/pyatlan/)
[![Python versions](https://img.shields.io/pypi/pyversions/pyatlan.svg)](https://pypi.org/project/pyatlan/)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Downloads](https://img.shields.io/pypi/dm/pyatlan.svg)](https://pypi.org/project/pyatlan/)
[![Build Status](https://github.com/atlanhq/atlan-python/actions/workflows/pyatlan-publish.yaml/badge.svg)](https://github.com/atlanhq/atlan-python/actions/workflows/pyatlan-publish.yaml)
[![Documentation](https://img.shields.io/badge/docs-developer.atlan.com-blue.svg)](https://developer.atlan.com/getting-started/python-sdk/)
[![Docker](https://img.shields.io/badge/docker-harbor-blue.svg)](https://registry.atlan.com/)

---

[**📖 Documentation**](https://developer.atlan.com/getting-started/python-sdk/) •
[**🐳 Docker**](#-docker) •
[**🤝 Contributing**](#-contributing)

</div>

![-----------------------------------------------------](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/aqua.png)

## 📊 Project Stats

- 🐍 **Python Versions**: 3.9, 3.10, 3.11, 3.12, 3.13
- 📦 **Package Size**: Optimized for fast installation
- 🚀 **Performance**: Built with modern async/await support
- 🔧 **Dependencies**: Minimal, modern stack
- 📈 **Stability**: Production-ready

## 📦 Installation

### Production Use

```bash
# Latest stable version
pip install pyatlan

# Specific version
pip install pyatlan==7.1.3

# With uv (faster) - install uv first: curl -LsSf https://astral.sh/uv/install.sh | sh
uv add pyatlan
```

### Development Setup

```bash
# Clone the repository
git clone https://github.com/atlanhq/atlan-python.git
cd atlan-python

# Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh

# Install with development dependencies
uv sync --group dev

Thinking…

The package is pyatlan. Install it, and skim the README quickstart for the patterns of environment variables (ATLAN_BASE_URL, ATLAN_API_KEY) and usage snippets. Then write a sample script into /sandbox/repo: connect, search assets, and maybe create a glossary term. However, running it requires a tenant. There's no Atlan tenant in the sandbox — that's the blocker for "using a hosted product." That said, we can build an example that reads credentials from environment variables and fails gracefully if they're absent. The user said "let me know if you get blocked." Since Atlan is enterprise SaaS with no self-service/free tier and requires an existing tenant and API key, we can't actually make live calls. State that clearly, while still providing a sample that works with their tenant.

Install pyatlan and verify the quickstart snippet from the README.

The SDK is pyatlan (not atlanpy). Let's install it and check the official quickstart patterns.

timeout 180 pip install pyatlan 2>&1 | tail -2; timeout 30 curl -sS https://raw.githubusercontent.com/atlanhq/atlan-python/main/README.md | grep -n -A 30 -i 'quick start\|getting started\|usage' | head -80
[notice] A new release of pip is available: 26.2.1 -> 26.3
[notice] A new release of pip is available: 26.2.1 -> 26.3
[notice] To update, run: /opt/freestyle/python/bin/python3 -m pip install --upgrade pip
100:### Usage
101-
102-```bash
103-# Interactive Python session
104-docker run -it --rm registry.atlan.com/public/pyatlan:main-latest
105-
106-# Run a script
107-docker run -it --rm \
108-  -v $(pwd):/app \
109-  -e ATLAN_API_KEY=your_key \
110-  -e ATLAN_BASE_URL=https://your-tenant.atlan.com \
111-  registry.atlan.com/public/pyatlan:main-latest \
112-  python your_script.py
113-```
114-
115-## 🔒 Security Scans
116-
117-### Run Snyk locally (dependencies)
118-
119-```bash
120-uv export --all-extras --no-hashes > requirements.txt
121-snyk test --file=requirements.txt --severity-threshold=high --skip-unresolved
122-rm -f requirements.txt
123-```
124-
125-## 🧪 Testing
126-
127-### Unit Tests
128-```bash
129-# Run all unit tests
130-uv run pytest tests/unit
Thinking…

Is pyatlan already installed? The pip output was cut off partway (only the notification is displayed). Let me check the import and version. Also, for accurate code snippets, let me check the quickstart at developer.atlan.com. From what I know from the pyatlan docs:

from pyatlan.client.atlan import AtlanClient
from pyatlan.model.assets import GlossaryTerm
from pyatlan.model.search import DSL, IndexSearchRequest

client = AtlanClient()  # uses ATLAN_BASE_URL / ATLAN_API_KEY env vars
dsl = DSL.query(match={"__typeName.keyword": {"value": "Table"}})
request = IndexSearchRequest(dsl=dsl)
response = client.assets.search(request)

To avoid hallucination, let me verify by cross-checking against the package's docstrings. Import pyatlan and inspect it.

python3 -c "import pyatlan; print(pyatlan.__version__)" 2>&1; pip show pyatlan 2>/dev/null | head -3
11.7.1
11.7.1
Name: pyatlan
Version: 11.7.1
Summary: Atlan Python Client
timeout 30 curl -sSL https://developer.atlan.com/getting-started/python-sdk/ | sed -e 's/<[^>]*>/ /g' | tr -s ' \n' ' \n' | grep -v '^\s*$' | head -100
Redirecting...
 Redirecting... 
 var anchor=window.location.hash.substr(1);location.href="../../sdks/python/"+(anchor?"#"+anchor:"") 
You're being redirected to a new destination .
 (function(){function c(){var b=a.contentDocument||(a.contentWindow&&a.contentWindow.document);if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'a5d14bf98fad6665',t:'MTc5NTExMzEzOA=='};var l=window.parent.location,o;try{o=new URL(l.origin).origin}catch(e){try{o=new URL(new URL(l.href).origin).origin}catch(e){o=''}}var u='/cdn-cgi/challenge-platform/scripts/jsd/main.js?ray=a5d14bf98fad6665',a=document.createElement('script');a.src=o?new URL(u,o).href:u;document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})(); 
Thinking…

SDK 11.7.1 is already installed. The docs site is protected by Cloudflare, so I'll rely on the SDK itself. I'll check the main APIs locally: AtlanClient environment variables, IndexSearchRequest, DSL, GlossaryTerm creation, and whether there are any dry-run or offline features.

SDK is already installed (pyatlan 11.7.1). Since the documentation site is protected by Cloudflare, I'll verify the API directly from the installed package instead.

python3 - <<'EOF'
import inspect
from pyatlan.client.atlan import AtlanClient
src = inspect.getsource(AtlanClient.__init__)
print(src[:1200])
EOF
def __init__(self, **data):
    def __init__(self, **data):
        super().__init__(**data)

        if self.oauth_client_id and self.oauth_client_secret and self.api_key is None:
            LOGGER.debug("API KEY not provided. Using OAuth flow for authentication")

            final_base_url = self.base_url or os.environ.get(
                "ATLAN_BASE_URL", "INTERNAL"
            )
            final_oauth_client_id = self.oauth_client_id or os.environ.get(
                "ATLAN_OAUTH_CLIENT_ID"
            )
            final_oauth_client_secret = self.oauth_client_secret or os.environ.get(
                "ATLAN_OAUTH_CLIENT_SECRET"
            )
            self._oauth_token_manager = OAuthTokenManager(
                base_url=final_base_url,
                client_id=final_oauth_client_id,
                client_secret=final_oauth_client_secret,
                connect_timeout=self.connect_timeout,
                read_timeout=self.read_timeout,
            )
            self._request_params = {"headers": {}}
        else:
            self._request_params = (
                {"headers": {"authorization": f"Bearer {self.api_key}"}}
                if self.api_key and self.api_key.strip()
             
python3 - <<'EOF'
from pyatlan.model.search import DSL, IndexSearchRequest
from pyatlan.model.assets import Table, GlossaryTerm, Glossary
print([m for m in dir(DSL) if not m.startswith('_')][:20])
print(inspect.signature(IndexSearchRequest.__init__) if False else '')
import inspect
print(inspect.signature(DSL.query))
print([m for m in dir(GlossaryTerm.creator) if not m.startswith('_')][:10] if hasattr(GlossaryTerm,'creator') else 'no creator')
EOF
FailedTraceback (most recent call last):
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
ImportError: cannot import name 'GlossaryTerm' from 'pyatlan.model.assets' (/opt/freestyle/python/lib/python3.12/site-packages/pyatlan/model/assets/__init__.py). Did you mean: 'AtlasGlossaryTerm'?


Command exited with code 1
Thinking…

Hmm, GlossaryTerm doesn't exist — maybe the class name is different in v11. Let me check what's available: AtlasGlossaryTerm, Table. Also, I'll check the DSL.query signature and the search API. Let me poke around and see.

python3 - <<'EOF'
import inspect
from pyatlan.model.search import DSL, IndexSearchRequest
from pyatlan.model.assets import Table, AtlasGlossaryTerm, AtlasGlossary
print(inspect.signature(DSL.query))
print([m for m in dir(DSL) if not m.startswith('_')][:25])
print(hasattr(AtlasGlossaryTerm,'creator'), [m for m in dir(AtlasGlossaryTerm.creator) if not m.startswith('_')][:10] if hasattr(AtlasGlossaryTerm,'creator') else '')
print(inspect.signature(Table.creator) if hasattr(Table,'creator') else 'no creator')
EOF
FailedTraceback (most recent call last):
Traceback (most recent call last):
  File "<stdin>", line 4, in <module>
AttributeError: type object 'DSL' has no attribute 'query'


Command exited with code 1
python3 - <<'EOF'
import inspect
from pyatlan.client.atlan import AtlanClient
print(inspect.signature(AtlanClient.assets.search))
print([m for m in ['search','create','update','find_by_guid'] if hasattr(AtlanClient.assets, m)])
EOF
FailedTraceback (most recent call last):
Traceback (most recent call last):
  File "<stdin>", line 3, in <module>
AttributeError: type object 'AtlanClient' has no attribute 'assets'. Did you mean: 'asset'?


Command exited with code 1
Thinking…

v11 has breaking API changes. Investigating: DSL methods, AtlanClient.attributes (search?), assets. Let's dump the signatures.

python3 - <<'EOF'
import inspect
from pyatlan.model.search import DSL, IndexSearchRequest
print([m for m in dir(DSL) if not m.startswith('_')])
print('---')
print(inspect.signature(DSL.__init__))
EOF
['Config', 'build_extra', 'construct', 'copy', 'dict', 'from_orm', 'json', 'parse_file', 'parse_obj', 'parse_raw', 'schema', 'schema_json', 'sortitem_from_dict'
['Config', 'build_extra', 'construct', 'copy', 'dict', 'from_orm', 'json', 'parse_file', 'parse_obj', 'parse_raw', 'schema', 'schema_json', 'sortitem_from_dict', 'update_forward_refs', 'validate', 'validate_query', 'validate_sort']
---
(__pydantic_self__, **data: 'Any') -> 'None'
python3 - <<'EOF'
import inspect
from pyatlan.client.atlan import AtlanClient
c = AtlanClient.__init__
from pyatlan.client.atlan import AtlanClient as A
attrs = [m for m in dir(A) if not m.startswith('_')]
print(attrs)
EOF
['Config', 'add_api_token_as_admin', 'add_api_token_as_viewer', 'add_atlan_tags', 'add_user_to_groups', 'admin', 'app', 'append_terms', 'asset', 'atlan_tag_cach
['Config', 'add_api_token_as_admin', 'add_api_token_as_viewer', 'add_atlan_tags', 'add_user_to_groups', 'admin', 'app', 'append_terms', 'asset', 'atlan_tag_cache', 'audit', 'change_user_role', 'connection_cache', 'construct', 'contracts', 'copy', 'create_api_token', 'create_group', 'create_typedef', 'create_users', 'credentials', 'custom_metadata_cache', 'delete_entity_by_guid', 'dict', 'dq_template_config_cache', 'enum_cache', 'files', 'find_category_by_name', 'find_category_fast_by_name', 'find_connections_by_name', 'find_glossary_by_name', 'find_personas_by_name', 'find_purposes_by_name', 'find_term_by_name', 'find_term_fast_by_name', 'from_orm', 'from_token_guid', 'get_admin_events', 'get_all_groups', 'get_all_roles', 'get_all_typedefs', 'get_all_users', 'get_api_token_by_id', 'get_api_token_by_name', 'get_api_tokens', 'get_asset_by_guid', 'get_asset_by_qualified_name', 'get_current_user', 'get_group_by_name', 'get_group_members', 'get_groups', 'get_groups_for_user', 'get_keycloak_events', 'get_lineage_list', 'get_roles', 'get_typedefs', 'get_user_by_username', 'get_users', 'get_users_by_email', 'group', 'group_cache', 'impersonate', 'inbox', 'json', 'max_retries', 'oauth_client', 'open_lineage', 'parse_file', 'parse_obj', 'parse_query', 'parse_raw', 'purge_api_token', 'purge_entity_by_guid', 'purge_group', 'purge_typedef', 'queries', 'remove_announcement', 'remove_atlan_tag', 'remove_certificate', 'remove_custom_metadata', 'remove_terms', 'remove_users_from_group', 'replace_custom_metadata', 'replace_terms', 'requests', 'reset_http_session', 'restore', 'retrieve_minimal', 'role', 'role_cache', 'save', 'save_merging_cm', 'save_replacing_cm', 'schema', 'schema_json', 'search', 'search_log', 'source_tag_cache', 'sso', 'tasks', 'token', 'typedef', 'update_announcement', 'update_api_token', 'update_certificate', 'update_custom_metadata_attributes', 'update_forward_refs', 'update_group', 'update_headers', 'update_merging_cm', 'update_replacing_cm', 'update_typedef', 'update_user', 'upload_image', 'upsert', 'upsert_merging_cm', 'upsert_replacing_cm', 'user', 'user_cache', 'validate']
Thinking…

OK — v11 has a flatter API: client.search(...), client.asset, client.save(...). Let me check the signatures of search and asset (AssetRequest?), and check how to construct a DSL query in v11. I'll look at the search module and the sample docstrings inside the package.

python3 - <<'EOF'
import inspect
from pyatlan.client.atlan import AtlanClient
print(inspect.getdoc(AtlanClient.search)[:1500])
print('====')
print(inspect.signature(AtlanClient.search))
EOF
Deprecated - use asset.search() instead.
Deprecated - use asset.search() instead.
====
(self, criteria: 'IndexSearchRequest') -> 'IndexSearchResults'
python3 - <<'EOF'
import inspect
from pyatlan.model.search import DSL, IndexSearchRequest
print(inspect.getdoc(DSL)[:800])
print('---fields---')
print(list(DSL.model_fields.keys()) if hasattr(DSL,'model_fields') else DSL.__fields__.keys())
EOF
---fields---

---fields---
dict_keys(['from_', 'size', 'aggregations', 'track_total_hits', 'post_filter', 'query', 'req_class_name', 'sort'])
Thinking…

New style: client.asset.search(criteria). DSL has query (Query), sort, etc. Check the pyatlan.model.search.Query helper, and probably pyatlan.model.assets.Search. Look for query builders: in v11, maybe DSL uses something like DSL(term=Term(match={"...": ...})). Check the init docstring and Query/Term classes. Also check the examples within the repo: probably there are sample scripts in tests or examples. Try grepping the installed packages for sample usage.

python3 - <<'EOF'
import inspect
from pyatlan.model import search as s
names = [n for n in dir(s) if not n.startswith('_')]
print(names)
EOF
['ABC', 'Aggregation', 'Any', 'AtlanConnectorType', 'AtlanObject', 'Attributes', 'Bool', 'CertificateStatus', 'ChildScoreMode', 'ConfigDict', 'DSL', 'Dict', 'EM
['ABC', 'Aggregation', 'Any', 'AtlanConnectorType', 'AtlanObject', 'Attributes', 'Bool', 'CertificateStatus', 'ChildScoreMode', 'ConfigDict', 'DSL', 'Dict', 'EMPTY_QUERY', 'Enum', 'Exists', 'Extra', 'Field', 'Fuzzy', 'IndexSearchRequest', 'IndexSearchRequestMetadata', 'List', 'Literal', 'Match', 'MatchAll', 'MatchNone', 'MatchPhrase', 'NestedQuery', 'Optional', 'Prefix', 'Query', 'Range', 'Regexp', 'SearchFieldType', 'SearchRequest', 'Sequence', 'SortItem', 'SortOrder', 'Span', 'SpanNear', 'SpanOr', 'SpanTerm', 'SpanWithin', 'StrictBool', 'StrictFloat', 'StrictInt', 'StrictStr', 'Term', 'TermAttributes', 'Terms', 'TextAttributes', 'UTMTags', 'Union', 'Wildcard', 'abstractmethod', 'annotations', 'chain', 'constr', 'copy', 'dataclass', 'datetime', 'get_with_string', 'validate_arguments', 'validator', 'with_active_category', 'with_active_glossary', 'with_active_term']
grep -rl "asset.search" /opt/freestyle/python/lib/python3.12/site-packages/pyatlan --include='*.py' | head; grep -rn -B5 -A25 "def search" /opt/freestyle/python/lib/python3.12/site-packages/pyatlan/client/asset.py | head -80
/opt/freestyle/python/lib/python3.12/site-packages/pyatlan/model/fluent_search.py
/opt/freestyle/python/lib/python3.12/site-packages/pyatlan/model/fluent_search.py
/opt/freestyle/python/lib/python3.12/site-packages/pyatlan/model/search_log.py
/opt/freestyle/python/lib/python3.12/site-packages/pyatlan/model/assets/core/data_product.py
/opt/freestyle/python/lib/python3.12/site-packages/pyatlan/model/assets/core/data_quality_rule.py
/opt/freestyle/python/lib/python3.12/site-packages/pyatlan/model/typedef.py
/opt/freestyle/python/lib/python3.12/site-packages/pyatlan/events/atlan_event_handler.py
/opt/freestyle/python/lib/python3.12/site-packages/pyatlan/samples/search/and_traverse_lineage.py
/opt/freestyle/python/lib/python3.12/site-packages/pyatlan/samples/search/and_star_assets.py
/opt/freestyle/python/lib/python3.12/site-packages/pyatlan/samples/custom_metadata/update_cm_on_assets.py
/opt/freestyle/python/lib/python3.12/site-packages/pyatlan/client/user.py
169-        self._client = client
170-
171-    # TODO: Try adding @validate_arguments to this method once
172-    # the issue below is fixed or when we switch to pydantic v2
173-    # https://github.com/atlanhq/atlan-python/pull/88#discussion_r1260892704
174:    def search(self, criteria: IndexSearchRequest, bulk=False) -> IndexSearchResults:
175-        """
176-        Search for assets using the provided criteria.
177-        `Note:` if the number of results exceeds the predefined threshold
178-        (100,000 assets) this will be automatically converted into a `bulk` search.
179-
180-        :param criteria: detailing the search query, parameters, and so on to run
181-        :param bulk: whether to run the search to retrieve assets that match the supplied criteria,
182-        for large numbers of results (> `100,000`), defaults to `False`. Note: this will reorder the results
183-        (based on creation timestamp) in order to iterate through a large number (more than `100,000`) results.
184-        :raises InvalidRequestError:
185-
186-            - if bulk search is enabled (`bulk=True`) and any
187-              user-specified sorting options are found in the search request.
188-            - if bulk search is disabled (`bulk=False`) and the number of results
189-              exceeds the predefined threshold (i.e: `100,000` assets)
190-              and any user-specified sorting options are found in the search request.
191-
192-        :raises AtlanError: on any API communication issue
193-        :returns: the results of the search
194-        """
195-        endpoint, request_obj = Search.prepare_request(criteria, bulk)
196-        raw_json = self._client._call_api(
197-            endpoint,
198-            request_obj=request_obj,
199-        )
Thinking…

The SDK includes samples: pyatlan/samples/search/*. Let's look at the bundled samples and construct an accurate example. For instance, samples/glossary for creating glossary terms, samples/search, etc. Check the directory listing.

The SDK ships bundled samples. Let me check them to model an accurate example.

ls /opt/freestyle/python/lib/python3.12/site-packages/pyatlan/samples/; ls /opt/freestyle/python/lib/python3.12/site-packages/pyatlan/samples/search /opt/freestyle/python/lib/python3.12/site-packages/pyatlan/samples/glossary 2>/dev/null
Failedcustom_metadata
custom_metadata
events
search
/opt/freestyle/python/lib/python3.12/site-packages/pyatlan/samples/search:
__pycache__
and_star_assets.py
and_traverse_lineage.py


Command exited with code 2
Thinking…

Just search for the sample. To check the v11 idioms (FluentSearch?), I'll try reading one. In v11, there might be fluent search: something like pyatlan.model.fluent_search.AssetSearch? I'll check the fluent_search module and the samples.

read /opt/freestyle/python/lib/python3.12/site-packages/pyatlan/samples/search/and_star_assets.py{"content":[{"text":"# SPDX-License-Identifier: Apache-2.0\n# Copyright 2023 Atlan Pte. Ltd.\nimport logging\nfrom datetime import datetime\nfrom typing import …ctrl+o
{"content":[{"text":"# SPDX-License-Identifier: Apache-2.0\n# Copyright 2023 Atlan Pte. Ltd.\nimport logging\nfrom datetime import datetime\nfrom typing import List, Set\n\nfrom pyatlan.client.asset import IndexSearchResults\nfrom pyatlan.client.atlan import AtlanClient\nfrom pyatlan.model.assets import Asset, AtlasGlossaryTerm\nfrom pyatlan.model.fluent_search import FluentSearch\nfrom pyatlan.model.structs import StarredDetails\n\nclient = AtlanClient()\nlogger = logging.getLogger(__name__)\n\n\ndef find_assets() -> IndexSearchResults:\n    \"\"\"\n    In this method you would code the logic for determining which assets\n    you want to star. (This example will star all glossary terms in the\n    \"Metrics\" glossary.)\n\n    :returns: results of the search\n    \"\"\"\n    glossary = client.asset.find_glossary_by_name(\"Metrics\")\n    search_request = (\n        FluentSearch()\n        .where(FluentSearch.active_assets())\n        .where(FluentSearch.asset_type(AtlasGlossaryTerm))\n        .where(AtlasGlossaryTerm.ANCHOR.eq(glossary.qualified_name or \"\"))\n        .page_size(100)\n        .include_on_results(Asset.STARRED_DETAILS_LIST)\n        .include_on_results(Asset.STARRED_BY)\n        .include_on_results(AtlasGlossaryTerm.ANCHOR)\n    ).to_request()\n    return client.asset.search(search_request)\n\n\ndef list_users_in_group(name: str) -> List[str]:\n    \"\"\"\n    Given the name of a group in Atlan, return a list of all the usernames\n    of users in that group.\n\n    :param name: human-readable name of the group in Atlan\n    :returns: list of all the usernames of users in that group in Atlan\n    \"\"\"\n    usernames: List[str] = []\n    if groups := client.group.get_by_name(alias=name):\n        if groups.records[0].id is not None and (  # type: ignore\n            response := client.group.get_members(guid=groups.records[0].id)  # type: ignore\n        ):\n            if response.records and len(response.records) > 0:\n                usernames.extend(\n                    str(user.username)\n                    for user in response.records\n                    if user.username is not None\n                )\n    return usernames\n\n\ndef star_asset(asset: Asset, usernames: List[str]) -> None:\n    \"\"\"\n    Given an asset and a list of usernames, ensure all the users listed\n    have starred the asset.\n\n    :param asset: to be starred\n    :param usernames: to ensure have starred the asset\n    :return: nothing (void)\n    \"\"\"\n    starred_details_list: List[StarredDetails] = asset.starred_details_list or []\n    starred_count = len(starred_details_list)\n    starred_by: Set[str] = asset.starred_by or set()\n    for user in usernames:\n        if user not in starred_by:\n            starred_by.add(user)\n            starred_count += 1\n            starred_details_list.append(\n                StarredDetails(asset_starred_by=user, asset_starred_at=datetime.now())\n            )\n    to_update = asset.trim_to_required()\n    to_update.starred_details_list = starred_details_list\n    to_update.starred_count = starred_count\n    to_update.starred_by = starred_by\n    logger.info(\n        \"Updating '%s' (%s) with total stars: %s\", asset.name, asset.guid, starred_count\n    )\n    client.asset.save(to_update)\n\n\ndef main():\n    assets = find_assets()\n    usernames = list_users_in_group(\"Admins\")\n    for asset in assets:\n        if isinstance(asset, AtlasGlossaryTerm):\n            star_asset(asset, usernames)\n\n\nif __name__ == \"__main__\":\n    main()\n","type":"text"}]}
python3 - <<'EOF'
import pyatlan.model.fluent_search as fs
print([n for n in dir(fs) if not n.startswith('_')][:30])
import inspect
print(inspect.getdoc(fs.AssetSearch)[:600] if hasattr(fs,'AssetSearch') else '')
EOF
['Aggregation', 'AtlanField', 'Bool', 'CompoundQuery', 'DSL', 'Dict', 'EntityStatus', 'ErrorCode', 'FluentSearch', 'IndexSearchRequest', 'IndexSearchResults', '
['Aggregation', 'AtlanField', 'Bool', 'CompoundQuery', 'DSL', 'Dict', 'EntityStatus', 'ErrorCode', 'FluentSearch', 'IndexSearchRequest', 'IndexSearchResults', 'LOGGER', 'List', 'Optional', 'Query', 'Referenceable', 'SelfQuery', 'SortItem', 'SpanNear', 'SpanOr', 'SpanTerm', 'SpanWithin', 'TYPE_CHECKING', 'Tag', 'Term', 'TypeVar', 'Union', 'annotations', 'copy', 'dataclasses']

Thinking…

Alright — I've grasped the v11 idioms: FluentSearch, client.asset.search(...), client.asset.find_glossary_by_name(...), client.asset.save(...). Regarding glossary creation, there's probably an AtlasGlossary.creator or create(...). Let me quickly check.

Next, about the blocker: to actually use the hosted product, an Atlan tenant URL and API key are needed. There's no free sandbox available for self-service. Can't execute a live API call. What I'll do:

  1. Write a sample script into /sandbox/repo (search assets, and optionally create glossary + terms).
  2. Verify it compiles/imports, and run a "dry" mode that builds the request payload without hitting the network (request construction doesn't require credentials... but does AtlanClient() fail without env vars? Check: AtlanClient() without env vars — api_key is None; does it throw an exception? Let's confirm. Probably it throws AtlanError on instantiation, or the default for base_url is "INTERNAL". The request payload can be built without a client.)
  3. Report the pricing info and manageability assessment, and clearly flag the credential blocker.

Let me check the creators for AtlasGlossary / AtlasGlossaryTerm.

Good — the v11 idiom is clear. Let me check glossary creation APIs, then build the example.

python3 - <<'EOF'
from pyatlan.model.assets import AtlasGlossary, AtlasGlossaryTerm
print([m for m in dir(AtlasGlossary) if 'creat' in m.lower()])
print([m for m in dir(AtlasGlossaryTerm) if 'creat' in m.lower()])
import inspect
print(inspect.signature(AtlasGlossaryTerm.creator) if hasattr(AtlasGlossaryTerm,'creator') else '')
print(inspect.getdoc(AtlasGlossaryTerm.creator)[:400] if hasattr(AtlasGlossaryTerm,'creator') else '')
EOF
Failed['ASSET_DBT_JOB_LAST_RUN_CREATED_AT', 'CREATED_BY', 'CREATE_TIME', 'SOURCE_CREATED_AT', 'SOURCE_CREATED_BY', '_create_ref', 'asset_dbt_job_last_run_created_at',
['ASSET_DBT_JOB_LAST_RUN_CREATED_AT', 'CREATED_BY', 'CREATE_TIME', 'SOURCE_CREATED_AT', 'SOURCE_CREATED_BY', '_create_ref', 'asset_dbt_job_last_run_created_at', 'create', 'create_for_modification', 'creator', 'source_created_at', 'source_created_by']
['ASSET_DBT_JOB_LAST_RUN_CREATED_AT', 'CREATED_BY', 'CREATE_TIME', 'SOURCE_CREATED_AT', 'SOURCE_CREATED_BY', '_create_ref', 'asset_dbt_job_last_run_created_at', 'create', 'create_for_modification', 'creator', 'source_created_at', 'source_created_by']
(*, name: 'StrictStr', anchor: 'Optional[AtlasGlossary]' = None, glossary_qualified_name: 'Optional[StrictStr]' = None, glossary_guid: 'Optional[StrictStr]' = None, categories: 'Optional[List[AtlasGlossaryCategory]]' = None) -> 'AtlasGlossaryTerm'
Traceback (most recent call last):
  File "<stdin>", line 6, in <module>
TypeError: 'NoneType' object is not subscriptable


Command exited with code 1
Thinking…

Alright. Now let me write the sample. Plan for atlan_quickstart.py:

  • Read ATLAN_BASE_URL and ATLAN_API_KEY from environment variables.
  • If they don't exist, run in "dry mode": build the FluentSearch request, and build the glossary and terms locally and print the JSON payloads — no network needed.
  • If they do exist: connect, search the first 10 tables, create a glossary called "Quickstart Glossary" (find-or-create), create a term "Sample Metric", and print the results.

Check whether AtlanClient() throws an exception without environment variables, so I know whether dry mode needs to skip client creation. Let me do a quick test.

python3 - <<'EOF'
try:
    from pyatlan.client.atlan import AtlanClient
    c = AtlanClient()
    print("client created, base_url:", c.base_url)
except Exception as e:
    print("raised:", type(e).__name__, e)
EOF
raised: ValidationError 1 validation error for AtlanClient
raised: ValidationError 1 validation error for AtlanClient
base_url
  field required (type=value_error.missing)
Thinking…

As expected: the client requires ATLAN_BASE_URL/API_KEY. In dry mode, skip the client and only construct the request payload.

Write the sample files:

  • atlan_quickstart.py — script with live mode and dry mode
  • README.md — how to run, environment variables
  • requirements.txt — pyatlan

FluentSearch for Tables: .where(FluentSearch.active_assets()), .where(FluentSearch.asset_type(Table)), .page_size(10), .to_request(). Check whether Table exists in pyatlan.model.assets — previously from pyatlan.model.assets import Table succeeded (it was only GlossaryTerm that failed). Yes.

Glossary creation: signature of AtlasGlossary.create(name=...)? Probably create(*, name). Then client.asset.save(glossary) — in the sample, client.asset.save was used. Check whether asset.save exists — yes, confirmed in the sample.

Next, dry mode: print request.json() and the term's payload. IndexSearchRequest has .json() via pydantic.

Write the files, run in dry mode, and confirm it works.

Confirmed: the client requires ATLAN_BASE_URL + ATLAN_API_KEY (tenant credentials). I'll build a sample with a live mode (for actual tenants) and a dry mode (runs without credentials, builds and displays the request payload). This way, we can verify everything that doesn't require a paid tenant.

File edits

1 file

Completed
Writtenatlan_quickstart.pyView changes

/sandbox/repo/atlan_quickstart.py

Written content · previous contents were not recorded

# SPDX-License-Identifier: Apache-2.0
"""
Simple Atlan quickstart using the official Python SDK (pyatlan v11+).
What it does:
1. Searches your Atlan catalog for the first 10 active Tables.
2. Finds (or creates) a glossary named "Quickstart Glossary".
3. Creates a glossary term "Customer LTV" anchored in that glossary.
Usage:
# Live mode — against your real Atlan tenant:
export ATLAN_BASE_URL=https://<your-tenant>.atlan.com
export ATLAN_API_KEY=<your-api-key>
python atlan_quickstart.py
# Dry mode — no credentials needed; builds and prints the API
# payloads without making any network calls:
python atlan_quickstart.py --dry-run
"""
import argparse
import json
import logging
import os
import sys
from pyatlan.model.assets import AtlasGlossary, AtlasGlossaryTerm, Asset, Table
from pyatlan.model.fluent_search import FluentSearch
logging.basicConfig(level=logging.INFO, format="%(levelname)s %(message)s")
log = logging.getLogger("atlan_quickstart")
GLOSSARY_NAME = "Quickstart Glossary"
TERM_NAME = "Customer LTV"
def build_search_request() -> object:
"""Fluent search: first 10 active Table assets, newest first."""
return (
FluentSearch()
.where(FluentSearch.active_assets())
.where(FluentSearch.asset_type(Table))
.sort(Table.CREATE_TIME.order())
.page_size(10)
.include_on_results(Asset.CONNECTOR_NAME)
.to_request()
)
def build_glossary_and_term(glossary_qn: str | None = None) -> AtlasGlossaryTerm:
"""A glossary term anchored to the quickstart glossary."""
if glossary_qn:
return AtlasGlossaryTerm.creator(
name=TERM_NAME, glossary_qualified_name=glossary_qn
)
# Standalone (dry-run): anchor to a locally-constructed glossary object.
glossary = AtlasGlossary.create(name=GLOSSARY_NAME)
return AtlasGlossaryTerm.creator(name=TERM_NAME, anchor=glossary)
def dry_run() -> None:
"""Build every request payload locally and print it. No network calls."""
log.info("Dry-run mode: no ATLAN credentials used, nothing sent over the wire.")
request = build_search_request()
print("\n=== 1) Search request payload (POST /api/meta/search/indexsearch) ===")
print(request.json(indent=2)) # type: ignore[attr-defined]
glossary = AtlasGlossary.create(name=GLOSSARY_NAME)
print("\n=== 2) Glossary payload (POST /api/meta/entity/bulk) ===")
print(glossary.json(indent=2)) # type: ignore[attr-defined]
term = build_glossary_and_term()
print("\n=== 3) Glossary term payload (POST /api/meta/entity/bulk) ===")
print(term.json(indent=2)) # type: ignore[attr-defined]
log.info("Dry run complete. Set ATLAN_BASE_URL + ATLAN_API_KEY and rerun for live mode.")
def live() -> None:
"""Run against a real Atlan tenant."""
from pyatlan.client.atlan import AtlanClient
client = AtlanClient() # reads ATLAN_BASE_URL / ATLAN_API_KEY from env
log.info("Connected to %s as %s", client.base_url, client.get_current_user().username)
# 1) Search for tables
results = client.asset.search(build_search_request())
log.info("Found %s active tables; showing up to 10:", results.approximate_count)
for asset in results:
print(f" - {asset.name} [{asset.connector_name}] ({asset.qualified_name})")
# 2) Find-or-create the glossary
try:
glossary = client.asset.find_glossary_by_name(GLOSSARY_NAME)
log.info("Glossary '%s' already exists: %s", GLOSSARY_NAME, glossary.qualified_name)
except Exception:
glossary = AtlasGlossary.create(name=GLOSSARY_NAME)
response = client.asset.save(glossary)
glossary = response.entities(asset_type=AtlasGlossary)[0]
log.info("Created glossary '%s' (%s)", GLOSSARY_NAME, glossary.guid)
# 3) Create a glossary term inside it
term = build_glossary_and_term(glossary_qn=glossary.qualified_name)
response = client.asset.save(term)
saved = response.entities(asset_type=AtlasGlossaryTerm)[0]
log.info("Created term '%s' (guid=%s)", saved.name, saved.guid)
def main() -> None:
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument(
"--dry-run",
action="store_true",
help="Build and print API payloads without contacting Atlan",
)
args = parser.parse_args()
if args.dry_run:
dry_run()
return
missing = [v for v in ("ATLAN_BASE_URL", "ATLAN_API_KEY") if not os.environ.get(v)]
if missing:
log.error(
"Missing environment variables: %s. "
"Either export them (tenant URL + API key from your Atlan admin) "
"or run with --dry-run.",
", ".join(missing),
)
sys.exit(1)
live()
if __name__ == "__main__":
main()

File edits

1 file

Completed
Writtenrequirements.txtView changes

/sandbox/repo/requirements.txt

Written content · previous contents were not recorded

pyatlan>=11.0
Thinking…

Next, check whether dry mode can be executed. Potential issues: Table.CREATE_TIME.order() — check whether AtlanField has .order(); request.json(); glossary.json(). Run it and see.

cd /sandbox/repo && timeout 60 python3 atlan_quickstart.py --dry-run 2>&1 | head -80
INFO Dry-run mode: no ATLAN credentials used, nothing sent over the wire.
INFO Dry-run mode: no ATLAN credentials used, nothing sent over the wire.

=== 1) Search request payload (POST /api/meta/search/indexsearch) ===
{
  "attributes": [
    "connectorName"
  ],
  "offset": null,
  "size": null,
  "dsl": {
    "from_": 0,
    "size": 10,
    "aggregations": {},
    "track_total_hits": true,
    "post_filter": null,
    "query": {
      "bool": {
        "filter": [
          {
            "term": {
              "__state": {
                "value": "ACTIVE",
                "case_insensitive": false
              }
            }
          },
          {
            "term": {
              "__typeName.keyword": {
                "value": "Table",
                "case_insensitive": false
              }
            }
          }
        ]
      }
    },
    "sort": [
      {
        "__timestamp": {
          "order": "asc"
        }
      },
      {
        "__guid": {
          "order": "asc"
        }
      }
    ]
  },
  "relation_attributes": [],
  "suppress_logs": null,
  "show_search_score": null,
  "exclude_meanings": null,
  "exclude_atlan_tags": null,
  "allow_deleted_relations": null,
  "include_atlan_tag_names": null,
  "persona": null,
  "purpose": null,
  "include_relationship_attributes": false,
  "enable_full_restriction": null,
  "scope_to_user_access": null,
  "request_metadata": {
    "save_search_log": false,
    "utm_tags": [
      "project_sdk_python"
    ]
  }
}

=== 2) Glossary payload (POST /api/meta/entity/bulk) ===
{
  "type_name": "AtlasGlossary",
  "attributes": {
    "qualified_name": "-1795113216435",
    "user_def_relationship_to": null,
    "user_def_relationship_from": null,
    "meanings": null,
    "relationship_attributes": null,
    "name": "Quickstart Glossary",
Thinking…

Dry run works. Note: sort includes my CREATE_TIME sort first ("__timestamp asc") — no problem. Verify the term payload section, and the error paths when environment variables are missing. Next, validate the live mode import paths (can't execute without credentials, but confirm the methods exist: client.asset.search, client.asset.find_glossary_by_name, client.asset.save, response.entities(asset_type=...)). Verify the signatures of entities and save on the AssetMutationResponse and asset clients.

cd /sandbox/repo && timeout 60 python3 atlan_quickstart.py --dry-run 2>&1 | sed -n '/=== 3)/,$p' | head -30; echo "--- no-env path ---"; timeout 30 python3 atlan_quickstart.py; echo "exit=$?"
=== 3) Glossary term payload (POST /api/meta/entity/bulk) ===
=== 3) Glossary term payload (POST /api/meta/entity/bulk) ===
{
  "type_name": "AtlasGlossaryTerm",
  "attributes": {
    "qualified_name": "-1795113224591",
    "user_def_relationship_to": null,
    "user_def_relationship_from": null,
    "meanings": null,
    "relationship_attributes": null,
    "name": "Customer LTV",
    "display_name": null,
    "description": null,
    "asset_source_readme": null,
    "user_description": null,
    "asset_ai_generated_description": null,
    "asset_ai_generated_description_confidence": null,
    "asset_ai_generated_description_reasoning": null,
    "tenant_id": null,
    "certificate_status": null,
    "certificate_status_message": null,
    "certificate_updated_by": null,
    "certificate_updated_at": null,
    "announcement_title": null,
    "announcement_message": null,
    "announcement_type": null,
    "announcement_updated_at": null,
    "announcement_updated_by": null,
    "asset_announcement_expired_at": null,
    "owner_users": null,
    "owner_groups": null,
--- no-env path ---
ERROR Missing environment variables: ATLAN_BASE_URL, ATLAN_API_KEY. Either export them (tenant URL + API key from your Atlan admin) or run with --dry-run.
exit=1
python3 - <<'EOF'
import inspect
from pyatlan.client.asset import AssetClient, AssetMutationResponse
print(inspect.signature(AssetClient.save))
print(inspect.signature(AssetClient.find_glossary_by_name))
print(inspect.signature(AssetMutationResponse.entities))
EOF
Failed(self, entity: 'Union[Asset, List[Asset]]', replace_atlan_tags: 'bool' = False, replace_custom_metadata: 'bool' = False, overwrite_custom_metadata: 'bool' = Fal
(self, entity: 'Union[Asset, List[Asset]]', replace_atlan_tags: 'bool' = False, replace_custom_metadata: 'bool' = False, overwrite_custom_metadata: 'bool' = False, append_atlan_tags: 'bool' = False) -> 'AssetMutationResponse'
(self, name: 'constr(strip_whitespace=True, min_length=1, strict=True)', attributes: 'Optional[List[StrictStr]]' = None) -> 'AtlasGlossary'
Traceback (most recent call last):
  File "<stdin>", line 5, in <module>
AttributeError: type object 'AssetMutationResponse' has no attribute 'entities'


Command exited with code 1
Thinking…

entities might be on a different response class, or maybe it's a property. Let me check AssetMutationResponse.

python3 - <<'EOF'
import inspect
from pyatlan.client.asset import AssetMutationResponse
print([m for m in dir(AssetMutationResponse) if not m.startswith('_')])
print(inspect.getsource(AssetMutationResponse)[:2000])
EOF
['Config', 'assets_created', 'assets_deleted', 'assets_partially_updated', 'assets_updated', 'build_extra', 'construct', 'copy', 'dict', 'from_orm', 'json', 'pa
['Config', 'assets_created', 'assets_deleted', 'assets_partially_updated', 'assets_updated', 'build_extra', 'construct', 'copy', 'dict', 'from_orm', 'json', 'parse_file', 'parse_obj', 'parse_raw', 'schema', 'schema_json', 'update_forward_refs', 'validate']
class AssetMutationResponse(AtlanObject):
    guid_assignments: Optional[Dict[str, str]] = Field(
        default=None,
        description="Map of assigned unique identifiers for the changed assets.",
    )
    mutated_entities: Optional[MutatedEntities] = Field(
        default=None, description="Assets that were changed."
    )
    partial_updated_entities: Optional[List[Asset]] = Field(
        default=None, description="Assets that were partially updated"
    )

    def assets_created(self, asset_type: Type[A]) -> List[A]:
        if self.mutated_entities and self.mutated_entities.CREATE:
            return [
                asset
                for asset in self.mutated_entities.CREATE
                if isinstance(asset, asset_type)
            ]
        return []

    def assets_updated(self, asset_type: Type[A]) -> List[A]:
        if self.mutated_entities and self.mutated_entities.UPDATE:
            return [
                asset
                for asset in self.mutated_entities.UPDATE
                if isinstance(asset, asset_type)
            ]
        return []

    def assets_deleted(self, asset_type: Type[A]) -> List[A]:
        if self.mutated_entities and self.mutated_entities.DELETE:
            return [
                asset
                for asset in self.mutated_entities.DELETE
                if isinstance(asset, asset_type)
            ]
        return []

    def assets_partially_updated(self, asset_type: Type[A]) -> List[A]:
        if self.mutated_entities and self.mutated_entities.PARTIAL_UPDATE:
            return [
                asset
                for asset in self.mutated_entities.PARTIAL_UPDATE
                if isinstance(asset, asset_type)
            ]
        return []

Thinking…

Fix the live mode: use response.assets_created(...) instead of response.entities(...). Also, regarding the exception type of find_glossary_by_name — it probably raises NotFoundError (pyatlan.error.NotFoundError). Use that for clean find-or-create.

File edits

1 file

Completed
Modifiedatlan_quickstart.py+6−5View changes

/sandbox/repo/atlan_quickstart.py

Replacement excerpt

# 2) Find-or-create the glossary
+ from pyatlan.error import NotFoundError
+
try:
glossary = client.asset.find_glossary_by_name(GLOSSARY_NAME)
log.info("Glossary '%s' already exists: %s", GLOSSARY_NAME, glossary.qualified_name)
- except Exception:
- glossary = AtlasGlossary.create(name=GLOSSARY_NAME)
- response = client.asset.save(glossary)
- glossary = response.entities(asset_type=AtlasGlossary)[0]
+ except NotFoundError:
+ response = client.asset.save(AtlasGlossary.create(name=GLOSSARY_NAME))
+ glossary = response.assets_created(AtlasGlossary)[0]
log.info("Created glossary '%s' (%s)", GLOSSARY_NAME, glossary.guid)
# 3) Create a glossary term inside it
term = build_glossary_and_term(glossary_qn=glossary.qualified_name)
response = client.asset.save(term)
- saved = response.entities(asset_type=AtlasGlossaryTerm)[0]
+ saved = response.assets_created(AtlasGlossaryTerm)[0]
python3 -c "from pyatlan.error import NotFoundError; print('ok')"
FailedTraceback (most recent call last):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'pyatlan.error'


Command exited with code 1
Thinking…

Find where NotFoundError is located in v11.

python3 - <<'EOF'
import importlib, pkgutil, pyatlan
found=[]
for m in pkgutil.walk_packages(pyatlan.__path__, 'pyatlan.'):
    try:
        mod = importlib.import_module(m.name)
        if hasattr(mod, 'NotFoundError'):
            found.append(m.name)
    except Exception:
        pass
print(found[:5])
EOF
['pyatlan.client.aio.asset', 'pyatlan.client.asset', 'pyatlan.errors', 'pyatlan.model.aio.custom_metadata', 'pyatlan.model.audit']
['pyatlan.client.aio.asset', 'pyatlan.client.asset', 'pyatlan.errors', 'pyatlan.model.aio.custom_metadata', 'pyatlan.model.audit']
Thinking…

I need to correct the import statement—it should be pyatlan.errors not pyatlan.error. I'm also double-checking that get_current_user exists on the client, which it does based on the directory listing. The Asset.CONNECTOR_NAME attribute is already working fine in dry mode.

File edits

1 file

Completed
Modifiedatlan_quickstart.py+1−1View changes

/sandbox/repo/atlan_quickstart.py

Replacement excerpt

-from pyatlan.error import NotFoundError
+from pyatlan.errors import NotFoundError
Thinking…

Also, verify the existence of client.asset — in the sample code client.asset.search and client.asset.find_glossary_by_name were used, and the AssetClient methods have been confirmed. client.get_current_user() exists.

Furthermore, confirm that live() is at least compilable (that the import of pyatlan.errors.NotFoundError works, and that the AssetClient methods used exist). In addition to a simple syntax/import check of the functions, run pyflakes if available. Then do a simple sanity check with fake environment variables? Without a tenant, live will fail on network calls — don't execute.

Write the README with pricing and execution instructions. Verify the dry run once more, and do a compile check.

cd /sandbox/repo && timeout 60 python3 -m py_compile atlan_quickstart.py && timeout 60 python3 atlan_quickstart.py --dry-run >/tmp/dry.out 2>&1 && tail -2 /tmp/dry.out && python3 - <<'EOF'
# static check of everything live() touches
from pyatlan.client.asset import AssetClient, AssetMutationResponse
from pyatlan.client.atlan import AtlanClient
from pyatlan.errors import NotFoundError
for m in ("search","find_glossary_by_name","save"):
    assert hasattr(AssetClient, m), m
assert hasattr(AtlanClient, "get_current_user")
assert hasattr(AssetMutationResponse, "assets_created")
print("live-mode API surface: OK")
EOF
}INFO Dry run complete. Set ATLAN_BASE_URL + ATLAN_API_KEY and rerun for live mode.
}INFO Dry run complete. Set ATLAN_BASE_URL + ATLAN_API_KEY and rerun for live mode.

live-mode API surface: OK
Thinking…

Everything verified. Create a README that includes: setup instructions, how to run dry-run and live, and notes regarding pricing. Also answer the pricing question — Atlan doesn't publish its prices. It's enterprise-oriented, custom quote, annual contract. Known publicly available signals: it's positioned as an enterprise data catalog, with pricing varying according to number of users and data assets/connectors. No free self-serve tier (trial is via a "Book a demo" form). Need to be honest about this.

On manageability: SDK/API (pyatlan, REST API, plus Java SDK also available? Atlan has API + Python/Java SDK + Workflow (Docker-based orchestration)). For me: as long as credentials exist, using the API is easy. But provisioning requires a sales-led enterprise tenant → can't be managed in self-serve. The docs site is protected by Cloudflare (harder to fetch). Manageability: if a tenant is provided, medium-to-easy. Otherwise, blocked due to lack of self-serve.

Blocker description: there are no credentials and no free sandbox. Live mode cannot be executed here. Dry-run works.

Write the README.

Everything validates. Adding a README, then summarizing.

File edits

1 file

Completed
WrittenREADME.mdView changes

/sandbox/repo/README.md

Written content · previous contents were not recorded

# Atlan Quickstart (pyatlan SDK)
A minimal example using Atlan's official Python SDK ([pyatlan](https://github.com/atlanhq/atlan-python))
against a **hosted** Atlan tenant. No local services, no Docker stacks.
## What the example does
`atlan_quickstart.py`:
1. Searches the catalog for the first 10 active `Table` assets (`FluentSearch` → `client.asset.search`).
2. Finds or creates a glossary `Quickstart Glossary` (`client.asset.find_glossary_by_name` / `client.asset.save`).
3. Creates a glossary term `Customer LTV` anchored in that glossary.
## Setup
```bash
pip install -r requirements.txt # pyatlan>=11.0
```
## Run — dry mode (no credentials, no network)
Builds and prints every API payload locally so you can inspect what would be sent:
```bash
python atlan_quickstart.py --dry-run
```
## Run — live mode (requires an Atlan tenant)
Atlan is enterprise SaaS: you need an existing tenant and an admin-issued API key
(Admin → API keys in the Atlan UI). There is no self-serve signup or free sandbox.
```bash
export ATLAN_BASE_URL=https://<your-tenant>.atlan.com
export ATLAN_API_KEY=<your-api-key>
python atlan_quickstart.py
```
## Notes
- pyatlan v11 changed the API surface (`client.asset.search(...)`, `FluentSearch`,
`AtlasGlossaryTerm.creator(...)`, `response.assets_created(...)`) — most older
tutorials on the web use the pre-v11 style and will not work as-is.
- The SDK reads `ATLAN_BASE_URL` / `ATLAN_API_KEY` from the environment by default;
OAuth client credentials are also supported.
Thinking…

Done. Final summary: what I built, pricing, manageability, and blockers.

Done. Here's the summary:

What I built (/sandbox/repo/)

  • atlan_quickstart.py — uses Atlan's official Python SDK (pyatlan v11.7.1). It searches for the 10 newest active tables, finds-or-creates a glossary, and creates a glossary term. Runs in two modes:
    • --dry-run — verified working here; builds and prints the exact API payloads (index search + entity bulk create) with zero network calls.
    • live — connects to a real tenant via ATLAN_BASE_URL + ATLAN_API_KEY. I statically verified every API it touches (client.asset.search/save/find_glossary_by_name, NotFoundError, assets_created) exists in v11, since older web tutorials use a broken pre-v11 style.
  • README.md, requirements.txt.

Pricing

Atlan does not publish pricing. It's sales-led enterprise SaaS: custom quotes, annual contracts, typically scaled by users and catalog size (assets/connectors). No self-serve signup, no free tier — only a "book a demo" form (confirmed: their pricing page is gated and JS-heavy, and there's no developer sandbox).

Am I blocked?

Partially — one hard blocker: live mode needs an existing Atlan tenant + admin-issued API key, which I can't provision (no self-serve path). The dry-run path works end-to-end today. Give me ATLAN_BASE_URL/ATLAN_API_KEY for your tenant and I can run and debug the live flow. I did not need any local service stack — the SDK talks straight to the hosted API.

Easy for me to manage?

  • Code/API layer: yes. Clean official SDK, stable REST API, pip-installable, good bundled samples — easy to script, test, and iterate.
  • Account layer: no. Enterprise-only onboarding, opaque pricing, and Cloudflare-gated docs mean provisioning and troubleshooting access isn't something I can do autonomously. Fine if you already have a tenant; painful to start from zero.

AX Fundamentals

23 checks. Open an area for details.

This check is a quick preview. Test more tasks and models with Gauge Agents.

Test your product with Gauge Agents

AX Check by Gauge