---
title: "get attack logs"
method: GET
path: "/open/records"
tags: ["log/attack"]
---

# get attack logs

`GET /open/records`

## Query parameters

- `action` string
- `attack_type` string
- `end` integer
- `event_id` string
- `host` string
- `ip` string
- `ja4_fingerprint` string
- `page` integer
- `page_size` integer
- `port` string
- `start` integer
- `url` string

## Response `200`

OK

- object
  - `data` RecordGetDetectLogListRes
    - `data` ModelDetectLog[]
      - `action` integer — 0: 放行, 1: 阻断
      - `attack_type` integer
      - `city` string
      - `country` string
      - `created_at` string
      - `decode_path` string
      - `dst_ip` string
      - `dst_port` integer
      - `eventId` string
      - `event_id` string — to eliminate ambiguous
      - `host` string
      - `id` integer
      - `ja4_fingerprint` string
      - `lat` string
      - `lng` string
      - `location` string
      - `method` string
      - `module` string
      - `payload` string
      - `policy_name` string
      - `protocol` integer
      - `province` string
      - `query_string` string
      - `reason` string
      - `req_body` string
      - `req_header` string
      - `risk_level` integer
      - `rsp_body` string
      - `rsp_header` string
      - `rule_id` string
      - `rule_id_list` string[]
      - `short_rule_id` string
      - `site_uuid` string
      - `socket_ip` string
      - `src_ip` string
      - `src_port` integer
      - `status_code` integer
      - `timestamp` integer
      - `updated_at` string
      - `url_path` string
      - `website` string
    - `total` integer
  - `err` string
  - `msg` string

## Changes

- **2026-04-03** `2d20e20d0f6e` — 2 info
  - api tag `log/attack` added
  - api tag `attacks` removed
- **2026-04-01** `de6007edcff9` — 2 info
  - api tag `attacks` added
  - api tag `log/attack` removed

[Change history](https://skmtc.dev/chaitin/apis/mgt-api/changes/open/records/get.md)

---

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