---
title: "query platform log"
method: GET
path: "/platform/log"
tags: ["platform log"]
---

# query platform log

`GET /platform/log`

query platform log

## Query parameters

- `endTime` integer
- `level` string
- `message` string
- `page` integer
- `pageSize` integer
- `startTime` integer
- `traceId` string

## Response `200`

OK

- object
  - `code` integer
  - `data` object
    - `results` MessagePlatformLogItem[]
      - `id` string
      - `index` string
      - `level` string
      - `message` string
      - `microMethod` string
      - `timestamp` string
      - `traceId` string
    - `took` integer
  - `message` string
  - `page` ControllerPage
    - `page` integer
    - `pageSize` integer
    - `total` integer

## Other responses

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

## Changes

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

- **2022-03-15** `b80b68fc9b84` — 1 info
  - endpoint added
- **2022-03-15** `640249faed6d` — 1 breaking
  - api path removed without deprecation
- **2022-03-15** `e0a10868c80f` — 1 info
  - endpoint added
- **2022-03-15** `08f8e33087ac` — 1 breaking
  - api path removed without deprecation
- **2022-03-14** `b233b39afe9d` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/pingcap/apis/em-ui-api/changes/platform/log/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/631e4b26b7e8/schema)
