> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://contentful.com/developers/docs/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://contentful.com/_mcp/server. # Get detailed asset bandwidth usage GET https://api.contentful.com/organizations/{organization_id}/usages-detailed/asset_bandwidth Returns the top 30 assets by bandwidth used for an organization over a given date range, ranked descending and grouped by asset and space. This is a fixed-shape leaderboard, not a general-purpose query endpoint — unlike [Get aggregated usage](/references/content-management-api/usage/get-usage-aggregated), it does not support `group`, `filter`, or `order` parameters, and covers a single metric (`asset_bandwidth`) only. `granularity` is locked to `P1D` (daily) — there is no monthly option. `date[gte]` and `date[lte]` are both required. The query window must not exceed 31 days and cannot extend into the future. Data is available from January 2026 onward, with a maximum lookback of 12 months. For organization-wide or space-scoped totals across other metrics, or for a longer date range, use [Get aggregated usage](/references/content-management-api/usage/get-usage-aggregated) instead. Available to Organization Admins and Organization Owners. Reference: https://contentful.com/developers/docs/references/content-management-api/usage/get-usage-asset-bandwidth-detailed ## Authentication - `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer `, where token is your auth token. ## Request ### Path parameters - `organization_id` (string, required) — Id of organization ### Query parameters - `date[gte]` (string, required) — Start of the query window (inclusive). Accepts `yyyy-mm-dd` or full ISO-8601. Window must not exceed 31 days and cannot extend into the future. Cannot be more than 12 months before the current day. - `date[lte]` (string, required) — End of the query window (inclusive). Accepts `yyyy-mm-dd` or full ISO-8601. Window must not exceed 31 days and cannot extend into the future. - `granularity` (enum, optional, default: P1D) — Bucket size in ISO-8601 duration format. Only `P1D` (daily) is supported today. Defaults to `P1D`. - Allowed values: `P1D` ## Response ### 200 OK - Request successful - `map from string to any` ## Examples **Response** ```json { "items": [ { "sys": { "asset": { "sys": { "id": "asset_1", "linkType": "Asset", "type": "Link" } }, "id": "asset_1-space_a", "space": { "sys": { "id": "yadj1kx9rmg0", "linkType": "Space", "type": "Link" } }, "type": "AssetBandwidthUsage" }, "usedBandwidth": 4500000 } ], "limit": 30, "sys": { "type": "Array" } } ``` **SDK Code** ```android Android SDK currently doesn't implement this endpoint. ``` ```java Java SDK currently doesn't implement this endpoint. ``` ```kotlin Kotlin SDK currently doesn't implement this endpoint. ``` ```swift Swift We currently don't provide a CMA SDK for this platform. ``` ```js-legacy JavaScript (legacy) import { createClient } from 'contentful-management' const client = createClient({ accessToken: '' }, { type: 'legacy' }) client.getUsageAssetBandwidthDetailed('', { 'date[gte]': '2025-01-01', 'date[lte]': '2025-01-31' }) ``` ```javascript JavaScript import { createClient } from 'contentful-management' const client = createClient({ accessToken: '' }) const usage = await client.usage.getAssetBandwidthUsageDetailed({ organizationId: '', query: { 'date[gte]': '2025-01-01', 'date[lte]': '2025-01-31' } }) ``` ```php PHP SDK currently doesn't implement this endpoint. ``` ```ruby Ruby SDK currently doesn't implement this endpoint. ``` ```python Python SDK currently doesn't implement this endpoint. ``` ```.net .NET SDK currently doesn't implement this endpoint. ```