---
title: "Filter port log"
method: POST
path: "/ports/{id}/log"
tags: ["Ports"]
---

# Filter port log

`POST /ports/{id}/log`

Returns port events for a requested time range with pagination.

## Request body

- object
  - `from` string, date-time
  - `to` string, date-time
  - `page` integer
  - `pageSize` integer

## Response `200`

Successful operation

- object
  - `data` PortLog[]
    - `action` string
    - `cause` string
    - `source` string
    - `extra` string
    - `createdAt` string, date-time
  - `page` integer
  - `pageSize` integer
  - `total` integer

## Other responses

- `401` — The bearer token is missing, invalid, or no longer active.
- `429` — The configured request limit has been exceeded.
- `500` — Error

---

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