---
title: "queries all specs information"
method: GET
path: "/specs/"
tags: ["platform"]
---

# queries all specs information

`GET /specs/`

queries all specs information

## Response `200`

OK

- object
  - `code` integer
  - `data` object
    - `specs` StructsSpecInfo[]
      - `cpu` integer
      - `diskType` string — eg: NVMeSSD/SSD/SATA
      - `id` string — ID of the resource specification
      - `memory` integer — The amount of memory occupied by the instance, in GiB
      - `name` string — Name of the resource specification,eg: TiDB.c1.large
      - `purpose_type` string — eg:Compute/Storage/Schedule
      - `status` string — e.g. Online/Offline
  - `message` string

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

## Changes

- **2022-03-07** `e9e75c7c2edb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/pingcap/apis/em-ui-api/changes/specs/get.md)

---

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