---
title: "Origin shielding usage statistics"
method: GET
path: "/cdn/statistics/shield_usage/series"
tags: ["CDN Statistics"]
---

# Origin shielding usage statistics

`GET /cdn/statistics/shield_usage/series`

Get origin shielding usage statistics for up to 365 days starting from today.

Request URL parameters should be added as a query string after the endpoint.

## Query parameters

- `from` string, required
- `to` string, required
- `resource` integer

## Response `200`

Successful.

- object[]
  - `active_from` string — Date and time when paid feature was enabled (ISO 8601/RFC 3339 format, UTC.)
  - `active_to` string, nullable — Date and time when paid feature was disabled (ISO 8601/RFC 3339 format, UTC.) It returns **null** if the paid feature is enabled.
  - `client_id` integer — Client ID.
  - `resource_id` integer — CDN resource ID.
  - `cname` string — CDN resource CNAME.

---

[API](https://skmtc.dev/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.dev/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
