---
title: "Get Volume Snapshot Content"
method: POST
path: "/telemetry/volumes/{volume_id}/snapshot_content"
tags: ["Ops IQ"]
---

# Get Volume Snapshot Content

`POST /telemetry/volumes/{volume_id}/snapshot_content`

## Request

- Base URL: `https://am1.portal.api.nasuni.com`
- URL: `https://am1.portal.api.nasuni.com/telemetry/volumes/{volume_id}/snapshot_content`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nasuni/apis/portal-api/docs/telemetry/volumes/:volume_id/snapshot_content/post.ts> (a function with typed inputs; its response is checked against the schema)

Get object counts telemetry for a volume.

## Path parameters

- `volume_id` string, required

## Request body

- VolumeTelemetryRequestDto: Request DTO for volume telemetry data (volume_id is in URL path).
  - `period` string, required: Time period in ISO 8601 format. Examples: 'PT1H' (last 1 hour), 'P1D' (last 1 day), '2025-01-01T00:00:00Z/2025-01-02T00:00:00Z' (specific interval), or millisecond timestamps '1730390400000/1730476800000'. Minimum range: 6 minutes.
  - `serial_numbers` string[], required: Appliance serial numbers to filter data - ensures stability across DR events
  - `chart_width` integer, nullable: Chart width in pixels (100-5200) - affects sampling density
  - `smart_sampling` boolean, nullable: Enable optimized dataset for trend analysis with faster load times

## Response `200`

Successful Response

- VolumeTelemetryObjectCountsDto: List of volume object counts records
  - `metadata` object: Telemetry metadata (help text, metric definitions)
  - `items` VolumeTelemetryObjectCountsRecord[], required: List of object count records (files and directories)
    - `appliance` string, required: Appliance name/description
    - `serial_number` string, required: Appliance serial number
    - `time` integer, required: Timestamp in milliseconds
    - `non_gl_file_count` integer, nullable: Count of non-Global File Lock files
    - `gl_file_count` integer, nullable: Count of Global File Lock files (excluded from time-to-protect)
    - `directory_count` integer, required: Count of directories
    - `volume_version` integer, required: Sequential snapshot version number

## Other responses

- `401`: Not authenticated
- `403`: Insufficient permissions or license
- `404`: Resource not found
- `408`: Request timeout
- `413`: Payload too large
- `422`: Invalid input data
- `429`: Too many requests (rate limit exceeded)
- `500`: Internal server error

---

[API](https://skmtc.dev/nasuni/apis/portal-api.md) - [All operations](https://skmtc.dev/nasuni/apis/portal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nasuni/apis/portal-api/revisions/2a505bec6d14?raw)
