appwrite/docs/references/documentsdb/get-collection-usage.md
2026-03-19 20:30:42 +05:30

354 B

Get usage metrics and statistics for a collection. Returning the total number of documents. The response includes both current totals and historical data over time. Use the optional range parameter to specify the time window for historical data: 24h (last 24 hours), 30d (last 30 days), or 90d (last 90 days). If not specified, range defaults to 30 days.