<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Usage Values Not Being Returned in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/usage-values-not-being-returned/m-p/1659379#M11743</link>
    <description>&lt;P&gt;I'm wondering why usage values are not returned for certain item types, specifically hosted tile layers, when using the Python API?&amp;nbsp; When viewing the Usage tab for these items, counts appear. However, when using the Python API, either the counts are way off, or not even returned.&lt;/P&gt;&lt;P&gt;Is this a known limitation based on item type?&lt;/P&gt;&lt;P&gt;Below are a few examples:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example 1: Hosted Tile Layer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Item usage via the item page&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mpboyle_0-1761064238832.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142307i4F5EC1A1F5CE8428/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mpboyle_0-1761064238832.png" alt="mpboyle_0-1761064238832.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Item usage via the Python API. The usage values ("num") are not close.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mpboyle_2-1761064545278.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142309i31755D641B705675/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mpboyle_2-1761064545278.png" alt="mpboyle_2-1761064545278.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example 2: Hosted Vector Tile Layer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Item usage via the item page&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mpboyle_3-1761064605438.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142310iBAC87637D90C5DF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mpboyle_3-1761064605438.png" alt="mpboyle_3-1761064605438.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Item usage via the Python API. The data key is an empty list.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mpboyle_4-1761064756133.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142315i501B342BC2292D5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mpboyle_4-1761064756133.png" alt="mpboyle_4-1761064756133.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example 3: Hosted Feature Layer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Item usage via the item page&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mpboyle_5-1761064966523.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142318iA5526A6DC61216DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mpboyle_5-1761064966523.png" alt="mpboyle_5-1761064966523.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Item usage via the Python API --- matches the item page&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mpboyle_6-1761065053271.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142319iA50DA91F6D95C3E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mpboyle_6-1761065053271.png" alt="mpboyle_6-1761065053271.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Oct 2025 16:46:57 GMT</pubDate>
    <dc:creator>mpboyle</dc:creator>
    <dc:date>2025-10-21T16:46:57Z</dc:date>
    <item>
      <title>Usage Values Not Being Returned</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/usage-values-not-being-returned/m-p/1659379#M11743</link>
      <description>&lt;P&gt;I'm wondering why usage values are not returned for certain item types, specifically hosted tile layers, when using the Python API?&amp;nbsp; When viewing the Usage tab for these items, counts appear. However, when using the Python API, either the counts are way off, or not even returned.&lt;/P&gt;&lt;P&gt;Is this a known limitation based on item type?&lt;/P&gt;&lt;P&gt;Below are a few examples:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example 1: Hosted Tile Layer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Item usage via the item page&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mpboyle_0-1761064238832.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142307i4F5EC1A1F5CE8428/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mpboyle_0-1761064238832.png" alt="mpboyle_0-1761064238832.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Item usage via the Python API. The usage values ("num") are not close.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mpboyle_2-1761064545278.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142309i31755D641B705675/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mpboyle_2-1761064545278.png" alt="mpboyle_2-1761064545278.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example 2: Hosted Vector Tile Layer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Item usage via the item page&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mpboyle_3-1761064605438.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142310iBAC87637D90C5DF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mpboyle_3-1761064605438.png" alt="mpboyle_3-1761064605438.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Item usage via the Python API. The data key is an empty list.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mpboyle_4-1761064756133.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142315i501B342BC2292D5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mpboyle_4-1761064756133.png" alt="mpboyle_4-1761064756133.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example 3: Hosted Feature Layer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Item usage via the item page&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mpboyle_5-1761064966523.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142318iA5526A6DC61216DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mpboyle_5-1761064966523.png" alt="mpboyle_5-1761064966523.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Item usage via the Python API --- matches the item page&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mpboyle_6-1761065053271.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/142319iA50DA91F6D95C3E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mpboyle_6-1761065053271.png" alt="mpboyle_6-1761065053271.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 16:46:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/usage-values-not-being-returned/m-p/1659379#M11743</guid>
      <dc:creator>mpboyle</dc:creator>
      <dc:date>2025-10-21T16:46:57Z</dc:date>
    </item>
  </channel>
</rss>

