---
title: "get statistic data"
method: GET
path: "/api/v1/statistics"
tags: ["Info"]
---

# get statistic data

`GET /api/v1/statistics`

get statistic data

## Response `200`

OK

- object
  - `data` ResponseStatisticDataResponse
    - `component` string
    - `content` ResponseStatisticData
      - `backupPolicies` ModelsOBBackupPolicy[]
        - `archiveDestType` string
        - `archiveSwitchPieceInterval` string
        - `bakDataDestType` string
        - `bakDataFullCrontab` string
        - `bakDataIncrCrontab` string
        - `encryptBakData` boolean
        - `name` string
        - `namespace` string
        - `runningFlow` string
        - `runningTask` string
        - `status` string
        - `taskStatus` string
        - `tenantCR` string
        - `tenantName` string
        - `uid` string
      - `clusters` ModelsOBCluster[]
        - `clusterId` integer
        - `clusterMode` string
        - `clusterName` string
        - `configuredBackupVolume` boolean
        - `configuredMonitor` boolean
        - `cpu` integer
        - `dataStorage` ModelsStorageSpec
          - `storageClass` string
          - `storageSize` integer
        - `image` string
        - `independentPVC` boolean
        - `memory` integer
        - `name` string
        - `namespace` string
        - `redoLogStorage` ModelsStorageSpec
          - `storageClass` string
          - `storageSize` integer
        - `runningFlow` string
        - `runningTask` string
        - `singlePVC` boolean
        - `status` string
        - `sysLogStorage` ModelsStorageSpec
          - `storageClass` string
          - `storageSize` integer
        - `taskStatus` string
        - `uid` string
        - `zones` ModelsOBZoneStatus[]
          - `replica` integer
          - `status` string
          - `zoneName` string
      - `servers` ModelsOBServer[]
        - `clusterCR` string
        - `clusterId` integer
        - `clusterName` string
        - `cni` string
        - `image` string
        - `name` string
        - `namespace` string
        - `podIPHash` string
        - `podPhase` string
        - `runningFlow` string
        - `runningTask` string
        - `serviceIPHash` string
        - `status` string
        - `taskStatus` string
        - `uid` string
        - `zoneName` string
      - `tenants` ModelsOBTenant[]
        - `archiveDestType` string
        - `bakDataDestType` string
        - `clusterName` string
        - `name` string
        - `namespace` string
        - `primaryTenant` string
        - `runningFlow` string
        - `runningTask` string
        - `status` string
        - `taskStatus` string
        - `tenantName` string
        - `tenantRole` string
        - `topology` ModelsOBTenantResourcePool[]
          - `IOPSWeight` integer
          - `logDiskSize` integer
          - `maxCPU` integer
          - `maxIOPS` integer
          - `memorySize` integer
          - `minCPU` integer
          - `minIOPS` integer
          - `priority` integer
          - `type` string
          - `unitNumber` integer
          - `zone` string
        - `uid` string
        - `unitNumber` integer
      - `version` string
      - `warningEvents` ModelsK8sEvent[]
        - `count` integer
        - `firstTimestamp` string
        - `kind` string
        - `lastTimestamp` string
        - `message` string
        - `name` string
        - `namespace` string
        - `reason` string
        - `resourceName` string
      - `zones` ModelsOBZone[]
        - `clusterCR` string
        - `clusterId` integer
        - `clusterName` string
        - `image` string
        - `name` string
        - `namespace` string
        - `runningFlow` string
        - `runningTask` string
        - `status` string
        - `taskStatus` string
        - `uid` string
    - `time` string
  - `message` string
  - `successful` boolean

## Other responses

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

## Changes

- **2024-03-14** `649de0f2e535` — 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/statistics/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/a1f88c6eb956/schema)
