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

# Templates Stats

> Get top templates by usage volume (last 90 days)

## Endpoint

`GET https://api.apifycloud.io/api/v1/analytics/{appId}/templates/stats`

## Authentication

Bearer token required.

Scope: `analytics:read`

## Response

```json theme={null}
{
  "data": [
    {
      "template_name": "hsm_odontologia_v0",
      "template_id": "uuid",
      "campaign_count": 12,
      "sent": 1200,
      "delivered": 1000,
      "read": 800,
      "failed": 200
    }
  ],
  "meta": {
    "timestamp": "2026-02-18T00:00:00.000Z"
  }
}
```

## Errors

* `403 forbidden` unauthorized for app or missing scope
* `400 validation_error` invalid path parameters
* `429 rate_limit_exceeded`
* `500 server_error`
