---
title: "Download usage metrics report for datasets as CSV."
method: GET
path: "/reports/metrics/datasets"
tags: ["reporting"]
---

# Download usage metrics report for datasets as CSV.

`GET /reports/metrics/datasets`

Download usage metrics report for datasets as a CSV file.
Must be a server admin to access the report. Supports ISO8601 date range filters.

## Query parameters

- `since` string
- `until` string

## Response `200`

A CSV with usage metrics

- string, binary

## Other responses

- `401` — Not authorized

## Changes

- **2021-07-16** `a30d6f31f27f` — 2 warning, 2 info
  - deleted the `path` request parameter `since`
  - deleted the `path` request parameter `until`
  - added the new optional `query` request parameter `since`
  - added the new optional `query` request parameter `until`
- **2020-11-02** `156ced872972` — 2 breaking
  - added the new path request parameter `since`
  - added the new path request parameter `until`
- **2020-09-29** `8bd7fd33f496` — 2 warning
  - deleted the `query` request parameter `since`
  - deleted the `query` request parameter `until`

[Change history](https://skmtc.dev/clowder-framework/apis/clowder/changes/reports/metrics/datasets/get.md)

---

[API](https://skmtc.dev/clowder-framework/apis/clowder.md) · [All operations](https://skmtc.dev/clowder-framework/apis/clowder/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/clowder-framework/clowder/revisions/bcd187478e0d/schema)
