---
title: "list inspection reports"
method: GET
path: "/api/v1/inspection/reports"
tags: ["Inspection"]
---

# list inspection reports

`GET /api/v1/inspection/reports`

list inspection reports

## Query parameters

- `namespace` string
- `name` string
- `obclusterName` string
- `scenario` string

## Response `200`

OK

- object
  - `data` InspectionReportBriefInfo[], required
    - `finishTime` integer
    - `name` string, required
    - `namespace` string, required
    - `obCluster` ResponseOBClusterMeta, required
      - `clusterId` integer, required
      - `clusterName` string, required
      - `deletionProtection` boolean, required
      - `mode` 'NORMAL' | 'STANDALONE' | 'SERVICE', required
      - `name` string, required
      - `namespace` string, required
      - `pvcIndependent` boolean, required
      - `supportStaticIP` boolean, required
      - `uid` string, required
    - `resultStatistics` InspectionResultStatistics, required
      - `criticalCount` integer
      - `failedCount` integer
      - `moderateCount` integer
      - `negligibleCount` integer
    - `scenario` 'basic' | 'performance', required
    - `startTime` integer
    - `status` 'successful' | 'failed' | 'running' | 'pending', required
  - `message` string, required
  - `successful` boolean, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

## Changes

> 28 revisions in range; 1 could not be searched.

- **2024-09-05** `3e1a27cd744f` — 1 info
  - endpoint added
- **2024-02-27** `643ae3c8d824` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/oceanbase/apis/oceanbase-dashboard-api/changes/api/v1/inspection/reports/get.md)

---

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