---
title: "GET /get-command-rules"
method: GET
path: "/get-command-rules"
tags: ["Command Rule API"]
---

# GET /get-command-rules

`GET /get-command-rules`

## Request

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

get all command rules

## Query parameters

- `owner` string, required

## Response `200`

The Response object

- ObjectCommandRule
  - `action` string
  - `assetTags` string[]
  - `assets` string[]
  - `createdTime` string
  - `description` string
  - `displayName` string
  - `groups` string[]
  - `isEnabled` boolean
  - `name` string
  - `owner` string
  - `pattern` string
  - `updatedTime` string
  - `users` string[]

## Changes

- **2026-10-22** `442522c4329d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/casvisor/apis/casvisor-api/changes/get-command-rules/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)
