---
title: "Generate site content report"
method: GET
path: "/api/v1/contentreport/site/{site}"
tags: ["Content Report"]
---

# Generate site content report

`GET /api/v1/contentreport/site/{site}`

Generates a detailed report of the different Content Types living under a Site and the number of content items for each type. Useful for data analysis and deletion planning.

## Path parameters

- `site` string, required

## Query parameters

- `page` integer
- `per_page` integer
- `orderby` string
- `direction` string

## Response `200`

Content Report for the specified Site ID/Key, or an empty list if either the Site doesn't exist, or no content is found.

- ResponseSiteVariablesEntityView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` SiteVariableView[]
    - `id` string
    - `hostId` string
    - `name` string
    - `key` string
    - `value` string
    - `lastModifierId` string
    - `lastModDate` string, date-time
    - `lastModifierFullName` string
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
