> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gcore.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CDN

> CDN resources, origins, rules, certificates, logs, and statistics.

Serve a site or files from an origin, and set cache, HTTPS, and request logs for that hostname.

The base URL is `https://api.gcore.com/cdn`.

## Delivery

A hostname pulls files from an origin group. A rule or a preset can override cache and security for one path.

* [CDN service](https://docs.gcore.com/api-reference/cdn/cdn-service/get-cdn-service-details.md) — see whether CDN is enabled, which features are on, and the account limits
* [CDN resources](https://docs.gcore.com/api-reference/cdn/cdn-resources/get-cdn-resources-list.md) — create the hostname, set where it pulls from, and change how responses are cached and delivered
* [Origins](https://docs.gcore.com/api-reference/cdn/origins/get-origin-groups-list.md) — group the servers that hold the original files
* [Rules](https://docs.gcore.com/api-reference/cdn/rules/get-rules-list.md) — override settings for one path or file type; an option left unset keeps the resource value
* [Rule templates](https://docs.gcore.com/api-reference/cdn/rule-templates/get-rule-templates-list.md) — save those overrides and apply them to another resource
* [Presets](https://docs.gcore.com/api-reference/cdn/presets/get-presets-list.md) — apply a fixed bundle of options; the included options stay locked until the bundle is removed
* [Aliases](https://docs.gcore.com/api-reference/cdn/aliases/get-aliases-list.md) — serve a second hostname with the same settings and a separate certificate
* [Origin shielding](https://docs.gcore.com/api-reference/cdn/origin-shielding/get-origin-shielding-locations.md) — send origin pulls through one location instead of every edge server

## HTTPS

A resource can use an uploaded certificate, one issued for that hostname, or a CA certificate when the CDN connects to the origin.

* [SSL certificates](https://docs.gcore.com/api-reference/cdn/ssl-certificates/get-ssl-certificates-list.md) — upload a certificate and see which hostnames use it
* [Let's Encrypt certificates](https://docs.gcore.com/api-reference/cdn/lets-encrypt-certificates/get-lets-encrypt-certificate-issuing-details.md) — issue, renew, or revoke a certificate and check whether issuance finished
* [CA certificates](https://docs.gcore.com/api-reference/cdn/ca-certificates/get-trusted-ca-certificates-list.md) — trust a CA when the CDN connects to the origin

## Logs and usage

Request history, exported logs, and consumption figures are separate calls.

* [CDN activity logs](https://docs.gcore.com/api-reference/cdn/cdn-activity-logs/get-cdn-activity-logs.md) — see who changed CDN settings, from the API or the Customer Portal
* [Log viewer](https://docs.gcore.com/api-reference/cdn/log-viewer/get-cdn-logs.md) — read recent requests; the field set and the time range are limited
* [Logs uploader](https://docs.gcore.com/api-reference/cdn/logs-uploader/get-policies-list.md) — send the full request log to external storage, with a format and a destination
* [Statistics](https://docs.gcore.com/api-reference/cdn/statistics/cdn-resource-statistics.md) — read traffic and request series, including shielding, exported logs, and extra hostnames
* [Advanced analytics](https://docs.gcore.com/api-reference/cdn/advanced-analytics/playground.md) — query visitors, traffic, and requests for the last 90 days by country, directory, browser, device, or operating system

## Cache and origin access

* [Tools](https://docs.gcore.com/api-reference/cdn/tools/purge-cache.md) — delete cached files, or load files onto edge servers before anyone requests them
* [Purge history](https://docs.gcore.com/api-reference/cdn/purge-history/get-purges-history-list.md) — see whether a purge finished
* [IP addresses list](https://docs.gcore.com/api-reference/cdn/ip-addresses-list/get-cdn-servers-ip-addresses.md) — the addresses that connect to the origin, for an origin firewall
