---
title: "List report stats"
method: GET
path: "/catalogs/reports/stats"
tags: ["catalog_reports"]
---

# List report stats

`GET /catalogs/reports/stats`

List aggregated numbers of issues for a catalog owned by the "operation user_account".
- By default, the "operation user_account" is the token user_account.

Optional: Business Access: Specify an `ad_account_id` (obtained via [List ad accounts](/docs/api/v5/#operation/ad_accounts/list)) to use the owner of that ad_account as the "operation user_account". In order to do this, the token user_account must have one of the following [Business Access](https://help.pinterest.com/en/business/article/share-and-manage-access-to-your-ad-accounts) roles on the ad_account: Owner, Admin, Catalogs Manager.

## Query parameters

- `ad_account_id` string
- `parameters` union, required — Report stats parameters
  - object — Parameters for retail report
    - `catalog_type` 'RETAIL', required
    - `report` union, required
      - object
        - `feed_id` string, required — ID of the feed entity.
        - `processing_result_id` string — Unique identifier of a feed processing result. It can be acquired from the "id" field of the "items" array within the response of the [List processing results for a given feed](/docs/api/v5/#operation/feed_processing_results/list). If not provided, default to most recent completed processing result.
        - `report_type` 'FEED_INGESTION_ISSUES', required
      - object
        - `catalog_id` string — Unique identifier of a catalog. If not given, oldest catalog will be used
        - `report_type` 'DISTRIBUTION_ISSUES', required
  - object — Parameters for hotel report
    - `catalog_type` 'HOTEL', required
    - `report` union, required
      - object
        - `feed_id` string, required — ID of the feed entity.
        - `processing_result_id` string — Unique identifier of a feed processing result. It can be acquired from the "id" field of the "items" array within the response of the [List processing results for a given feed](/docs/api/v5/#operation/feed_processing_results/list). If not provided, default to most recent completed processing result.
        - `report_type` 'FEED_INGESTION_ISSUES', required
      - object
        - `catalog_id` string — Unique identifier of a catalog. If not given, oldest catalog will be used
        - `report_type` 'DISTRIBUTION_ISSUES', required
- `bookmark` string
- `page_size` integer

## Response `200`

The request has succeeded.

- object
  - `bookmark` string, nullable
  - `items` CatalogsReportStats[], required
    - union — Diagnostics aggregated numbers
      - object
        - `catalog_id` string — ID of the catalog entity.
        - `code` integer — The event code that a diagnostics aggregated number references
        - `code_label` string — A human-friendly label for the event code (e.g, 'AVAILABILITY_INVALID')
        - `message` string — Title message describing the diagnostic issue
        - `occurrences` integer — Number of occurrences of the issue
        - `report_type` 'FEED_INGESTION_ISSUES'
        - `severity` 'WARN' | 'ERROR' — An ERROR means that items have been dropped, while a WARN denotes that items have been ingested despite an issue
      - object
        - `catalog_id` string — ID of the catalog entity.
        - `code` integer — The event code that a diagnostics aggregated number references
        - `code_label` string — A human-friendly label for the event code (e.g, 'SPAM')
        - `ineligible_for_ads` boolean — Indicates if issue makes items ineligible for ads distribution
        - `ineligible_for_organic` boolean — Indicates if issue makes items ineligible for organic distribution
        - `message` string — Title message describing the diagnostic issue
        - `occurrences` integer — Number of occurrences of the issue
        - `report_type` 'DISTRIBUTION_ISSUES'

## Other responses

- `400` — The request could not be understood by the server due to unexpected data.
- `401` — Authentication is required and has either failed or not been provided.
- `403` — The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource.
- `404` — The requested resource could not be found on this server.
- `429` — The user has sent too many requests in a given amount of time and is being rate limited.
- `default` — An unexpected error response.

---

[API](https://skmtc.net/pinterest/apis/pinterest-rest-api.md) · [All operations](https://skmtc.net/pinterest/apis/pinterest-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pinterest/pinterest-rest-api/revisions/b698c180678a/schema)
