---
title: "GET /get-commands"
method: GET
path: "/get-commands"
tags: ["Command API"]
---

# GET /get-commands

`GET /get-commands`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/get-commands`
- Auth: none declared

get the commands run in SSH sessions, by page

## Query parameters

- `owner` string, required
- `pageSize` string, required
- `p` string, required

## Response `200`

The Response object

- ObjectCommand
  - `action` string
  - `asset` string
  - `clientIp` string
  - `createdTime` string
  - `name` string
  - `owner` string
  - `rule` string
  - `session` string
  - `text` string
  - `user` string

## Changes

- **2026-10-22** `442522c4329d`: 1 info
  - endpoint added
- **2026-10-21** `104d8d920b38`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/casvisor/apis/casvisor-api/changes/get-commands/get.md)

---

[API](https://skmtc.dev/casvisor/apis/casvisor-api.md) - [All operations](https://skmtc.dev/casvisor/apis/casvisor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/casvisor/apis/casvisor-api/revisions/9c4dc1ebadbe?raw)
