{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Atlas","colors":{"primary":"#9A47D5","light":"#c498e3","dark":"#9A47D5"},"logo":{"light":"https://mintcdn.com/atlas-e6c381cc/CZyope2K7u39JYzl/logo/atlas-lightmode.png?fit=max\u0026auto=format\u0026n=CZyope2K7u39JYzl\u0026q=85\u0026s=8936437d0db9d56dba50ba9b17d3f4aa","dark":"https://mintcdn.com/atlas-e6c381cc/CZyope2K7u39JYzl/logo/atlas-darkmode.png?fit=max\u0026auto=format\u0026n=CZyope2K7u39JYzl\u0026q=85\u0026s=a47eb49a72beae5a86f8e2a12ed85a23"},"favicon":"/favicon.ico","api":{"playground":{"display":"interactive"},"examples":{"prefill":true}},"navbar":{"links":[{"href":"https://www.runonatlas.com/contact-us","label":"Support"}],"primary":{"type":"button","label":"Application","href":"https://app.runonatlas.com"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/runonatlas","discord":"https://discord.gg/ZjejsUX7"}},"contextual":{"options":["copy","chatgpt","claude","view"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/ZjejsUX7"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"atlas-e6c381cc","hasAudioNarration":false,"actualSubdomain":"atlas-e6c381cc","customDomains":["docs.runonatlas.com"],"gitSource":{"type":"github","owner":"runonatlas","repo":"atlas-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21f63eb595a58a20e51b55","collectionId":"a3937cec-6d4d-43f6-a185-34f34756a96a","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21f63eb595a58a20e51b55:success","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":19},{"language":"default","tag":"Get Started","count":10},{"language":"default","tag":"Customers","count":9},{"language":"default","tag":"Subscriptions","count":8},{"language":"default","tag":"Developer Portal","count":6},{"language":"default","tag":"Getting Started with Atlas","count":5},{"language":"default","tag":"SDK Documentation","count":4},{"language":"default","tag":"Advanced Atlas","count":3},{"language":"default","tag":"Events","count":1},{"language":"default","tag":"Invoices","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/customers/get-custom-pricing-unit-usage","slug":"/api-reference/customers/get-custom-pricing-unit-usage","pageMetadata":{"title":"Get custom pricing unit usage","description":"Get custom pricing unit usage for a customer by external ID (e.g. the customer ID in your system).","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/customers/external-id/{externalId}/customPricingUnits/{customPricingUnitId}/usage","href":"/api-reference/customers/get-custom-pricing-unit-usage","autogeneratedByOpenApi":true,"hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get custom pricing unit usage for a customer by external ID (e.g. the customer ID in your system).\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get custom pricing unit usage","description":"Get custom pricing unit usage for a customer by external ID (e.g. the customer ID in your system).","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/customers/external-id/{externalId}/customPricingUnits/{customPricingUnitId}/usage","href":"/api-reference/customers/get-custom-pricing-unit-usage","autogeneratedByOpenApi":true,"hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Get custom pricing unit usage for a customer by external ID (e.g. the customer ID in your system).","summary":"Get custom pricing unit usage","tags":["Customers"],"security":["26c85add-c369-46a8-8349-d4d722976c3a"],"parameters":["e7995178-76a8-4442-8ab3-02c89d10ae43","2778ab3c-5248-465c-bb63-618304ca6901"],"responses":{"200":"6f948731-9149-4f61-89d4-dea30d0159df","401":"83f2896b-1fa0-4d6e-b3a0-29d8f2adf598","404":"30b96605-6a98-47ca-8c4c-ada55e5a48de"},"method":"get","type":"path","servers":["3c9753c2-e6e2-45af-9d3e-d3e995223724"],"path":"/external/customers/external-id/{externalId}/customPricingUnits/{customPricingUnitId}/usage","baseUrlOptions":["https://platform.runonatlas.com"],"title":"Get custom pricing unit usage","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"e7995178-76a8-4442-8ab3-02c89d10ae43":{"schema":{"type":"string","minLength":1,"description":"The external ID of the customer (e.g. the customer ID in your system)","example":"external-customer-id-123","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"The external ID of the customer (e.g. the customer ID in your system)","name":"externalId","in":"path"},"2778ab3c-5248-465c-bb63-618304ca6901":{"schema":{"type":"string","description":"The ID of the custom pricing unit","example":"custom-pricing-unit-id-123","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"The ID of the custom pricing unit","name":"customPricingUnitId","in":"path"}},"responses":{"6f948731-9149-4f61-89d4-dea30d0159df":{"description":"The custom pricing unit usage for the customer.","content":{"application/json":{"schema":{"type":"object","properties":{"customPricingUnitId":{"type":"string","description":"The ID of the custom pricing unit","example":"atlas-internal-custom-pricing-unit-id-123","isRequired":true,"uniqueKey":"customPricingUnitId","typeLabel":"string"},"displayName":{"type":"string","description":"The display name of the custom pricing unit","example":"API Calls","isRequired":true,"uniqueKey":"displayName","typeLabel":"string"},"displayNameSingular":{"type":"string","description":"The display name singular of the custom pricing unit","example":"API Call","isRequired":true,"uniqueKey":"displayNameSingular","typeLabel":"string"},"shortName":{"oneOf":[{"type":"string","description":"The short name of the custom pricing unit","example":"calls","isRequired":true,"uniqueKey":"shortName.oneOf.0","typeLabel":"string"},{"type":"null","description":"The short name of the custom pricing unit","example":"calls","isRequired":true,"uniqueKey":"shortName.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"shortName","typeLabel":"string | null"},"totalAllocated":{"type":"number","description":"The total allocated amount of the custom pricing unit","example":1000,"isRequired":true,"uniqueKey":"totalAllocated","typeLabel":"number"},"totalUsed":{"type":"number","description":"The total used amount of the custom pricing unit","example":100,"isRequired":true,"uniqueKey":"totalUsed","typeLabel":"number"},"remaining":{"type":"number","description":"The remaining amount of the custom pricing unit","example":900,"isRequired":true,"uniqueKey":"remaining","typeLabel":"number"},"nextExpiring":{"oneOf":[{"type":"object","properties":{"amountRemaining":{"type":"number","description":"The amount remaining of the next expiring allocation block","example":100,"isRequired":true,"uniqueKey":"nextExpiring.oneOf.0.amountRemaining","typeLabel":"number"},"expiration":{"type":"string","format":"date","description":"The expiration date of the next expiring allocation block","example":"2025-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"nextExpiring.oneOf.0.expiration","typeLabel":"string\u003cdate>"}},"required":["amountRemaining","expiration"],"description":"The next expiring allocation block","isRequired":true,"uniqueKey":"nextExpiring.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"amountRemaining":{"type":"number","description":"The amount remaining of the next expiring allocation block","example":100},"expiration":{"type":"string","format":"date","description":"The expiration date of the next expiring allocation block","example":"2025-01-01T00:00:00.000Z"}},"required":["amountRemaining","expiration"],"description":"The next expiring allocation block","isRequired":true,"uniqueKey":"nextExpiring.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"nextExpiring","typeLabel":"object | null"}},"required":["customPricingUnitId","displayName","displayNameSingular","shortName","totalAllocated","totalUsed","remaining","nextExpiring"],"additionalProperties":false,"description":"The usage and amount remaining for all custom pricing units this customer has access to for the current billing period","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"customPricingUnitId":"atlas-internal-custom-pricing-unit-id-123","displayName":"API Calls","displayNameSingular":"API Call","shortName":"calls","totalAllocated":1000,"totalUsed":100,"remaining":900,"nextExpiring":{"amountRemaining":100,"expiration":"2025-01-01T00:00:00.000Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"83f2896b-1fa0-4d6e-b3a0-29d8f2adf598":{"description":"Invalid API key provided.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"30b96605-6a98-47ca-8c4c-ada55e5a48de":{"description":"Customer not found or custom pricing unit not found.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"26c85add-c369-46a8-8349-d4d722976c3a":{"apiKeyAuth":{"type":"apiKey","name":"x-api-key","in":"header","description":"You can obtain this key from the Atlas dashboard. It must be of type `secret`","scopes":[]}}},"servers":{"3c9753c2-e6e2-45af-9d3e-d3e995223724":{"url":"https://platform.runonatlas.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"x-api-key","in":"header","description":"You can obtain this key from the Atlas dashboard. It must be of type `secret`","scopes":[]},"schema":{"title":"x-api-key","type":"string","description":"You can obtain this key from the Atlas dashboard. It must be of type `secret`","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"x-api-key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"https://platform.runonatlas.com/external/schema"},"subdomain":"atlas-e6c381cc","siteName":"Atlas","title":"Get custom pricing unit usage - Atlas","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-19T16:23:28.724Z","originalFileLocation":"api-reference/customers/get-custom-pricing-unit-usage.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Get custom pricing unit usage for a customer by external ID (e.g. the customer ID in your system).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Atlas\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get custom pricing unit usage - Atlas\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get custom pricing unit usage for a customer by external ID (e.g. the customer ID in your system).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Atlas\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.runonatlas.com/api-reference/customers/get-custom-pricing-unit-usage\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://atlas-e6c381cc.mintlify.app/_mintlify/api/og/v2?division=Customers\u0026amp;title=Get+custom+pricing+unit+usage\u0026amp;description=Get+custom+pricing+unit+usage+for+a+customer+by+external+ID+%28e.g.+the+customer+ID+in+your+system%29.\u0026amp;theme=fad73015577ccd4d16edaa20\u0026amp;signature=64756b29612afc5f21239ab06f6a8c532ccbad69f1ce9b9c6faed711ee4c4d4a\">\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=\"Get custom pricing unit usage - Atlas\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get custom pricing unit usage for a customer by external ID (e.g. the customer ID in your system).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://atlas-e6c381cc.mintlify.app/_mintlify/api/og/v2?division=Customers\u0026amp;title=Get+custom+pricing+unit+usage\u0026amp;description=Get+custom+pricing+unit+usage+for+a+customer+by+external+ID+%28e.g.+the+customer+ID+in+your+system%29.\u0026amp;theme=fad73015577ccd4d16edaa20\u0026amp;signature=64756b29612afc5f21239ab06f6a8c532ccbad69f1ce9b9c6faed711ee4c4d4a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/atlas-e6c381cc/6DYCW_jaZNkVq4EJ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Atlas\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9A47D5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.runonatlas.com/api-reference/customers/get-custom-pricing-unit-usage\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/customers/get-custom-pricing-unit-usage.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.runonatlas.com/#organization\",\"name\":\"Atlas\",\"url\":\"https://docs.runonatlas.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/atlas-e6c381cc/CZyope2K7u39JYzl/logo/atlas-lightmode.png?fit=max\u0026auto=format\u0026n=CZyope2K7u39JYzl\u0026q=85\u0026s=8936437d0db9d56dba50ba9b17d3f4aa\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.runonatlas.com#website\",\"name\":\"Atlas\",\"url\":\"https://docs.runonatlas.com\",\"publisher\":{\"@id\":\"https://docs.runonatlas.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.runonatlas.com/api-reference/customers/get-custom-pricing-unit-usage#webpage\",\"url\":\"https://docs.runonatlas.com/api-reference/customers/get-custom-pricing-unit-usage\",\"name\":\"Get custom pricing unit usage\",\"description\":\"Get custom pricing unit usage for a customer by external ID (e.g. the customer ID in your system).\",\"dateModified\":\"2026-02-19T16:23:28.724Z\",\"isPartOf\":{\"@id\":\"https://docs.runonatlas.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.runonatlas.com/api-reference/customers/get-custom-pricing-unit-usage#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.runonatlas.com/api-reference/customers/get-custom-pricing-unit-usage#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Customers\",\"item\":\"https://docs.runonatlas.com/api-reference/customers/get-customers\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get custom pricing unit usage\",\"item\":\"https://docs.runonatlas.com/api-reference/customers/get-custom-pricing-unit-usage\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.runonatlas.com/api-reference/customers/get-custom-pricing-unit-usage#apireference\",\"headline\":\"Get custom pricing unit usage\",\"name\":\"Get custom pricing unit usage\",\"description\":\"Get custom pricing unit usage for a customer by external ID (e.g. the customer ID in your system).\",\"url\":\"https://docs.runonatlas.com/api-reference/customers/get-custom-pricing-unit-usage\",\"mainEntityOfPage\":{\"@id\":\"https://docs.runonatlas.com/api-reference/customers/get-custom-pricing-unit-usage#webpage\"},\"dateModified\":\"2026-02-19T16:23:28.724Z\",\"publisher\":{\"@id\":\"https://docs.runonatlas.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.runonatlas.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Atlas\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Atlas","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/ZjejsUX7"}]},"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":""}]},{"tab":"Developer Portal","pages":[{"title":"Developer Portal","href":"/developer-portal/how-does-atlas-work"}]},{"tab":"Advanced Atlas","pages":[{"title":"Advanced Atlas","href":"/advanced-atlas"}]},{"tab":"API Reference","groups":[{"group":"Events","pages":[{"title":"Ingest events","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema post /external/event/","href":"/api-reference/events/ingest-events"}]},{"group":"Customers","pages":[{"title":"Get customers","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/customers","href":"/api-reference/customers/get-customers"},{"title":"Create customer with default plan subscription","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema post /external/customers","href":"/api-reference/customers/create-customer-with-default-plan-subscription"},{"title":"Get customer transactions","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/customers/external-id/{externalId}/transactions","href":"/api-reference/customers/get-customer-transactions"},{"title":"Get customer with expanded data","description":"Get a customer by external ID with their active and upcoming subscriptions, custom pricing unit balances, and private plans.","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/customers/external-id/{externalId}/expanded","href":"/api-reference/customers/get-customer-with-expanded-data"},{"title":"Get custom pricing unit usage","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/customers/external-id/{externalId}/customPricingUnits/{customPricingUnitId}/usage","href":"/api-reference/customers/get-custom-pricing-unit-usage"},{"title":"Get customer by ID","description":"Get a customer by ID.","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/customers/{id}","href":"/api-reference/customers/get-customer-by-id"},{"title":"Create Stripe setup checkout session for payment method update","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema post /external/customers/external-id/{externalId}/stripe/checkout-sessions/setup","href":"/api-reference/customers/create-stripe-setup-checkout-session-for-payment-method-update"},{"title":"Upsert customer","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema post /external/customers/upsert","href":"/api-reference/customers/upsert-customer"},{"title":"Bulk upsert customers","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema post /external/customers/upsert/bulk","href":"/api-reference/customers/bulk-upsert-customers"}]},{"group":"Invoices","pages":[{"title":"Get invoice with line items","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/invoices/{invoiceId}/with-line-items","href":"/api-reference/invoices/get-invoice-with-line-items"}]},{"group":"Subscriptions","pages":[{"title":"Get subscriptions","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/subscriptions","href":"/api-reference/subscriptions/get-subscriptions"},{"title":"Create subscription","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema post /external/subscriptions","href":"/api-reference/subscriptions/create-subscription"},{"title":"Create multiple subscriptions","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema post /external/subscriptions/bulk","href":"/api-reference/subscriptions/create-multiple-subscriptions"},{"title":"Get subscription by ID","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/subscriptions/{id}","href":"/api-reference/subscriptions/get-subscription-by-id"},{"title":"Delete subscription","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema delete /external/subscriptions/{id}","href":"/api-reference/subscriptions/delete-subscription"},{"title":"Get subscription by ID with expanded data","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema get /external/subscriptions/{id}/expanded","href":"/api-reference/subscriptions/get-subscription-by-id-with-expanded-data"},{"title":"Cancel subscription","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema post /external/subscriptions/{id}/cancel","href":"/api-reference/subscriptions/cancel-subscription"},{"title":"Renew cancelled subscription","deprecated":null,"version":null,"openapi":"https://platform.runonatlas.com/external/schema post /external/subscriptions/{id}/renew","href":"/api-reference/subscriptions/renew-cancelled-subscription"}]}]}]},"basePath":"","title":"Get custom pricing unit usage - Atlas","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}