---
title: "Command Search"
method: GET
path: "/command"
tags: ["command"]
---

# Command Search

`GET /command`

Search this users Commands

## Query parameters

- `commandId` integer
- `command` string
- `code` string
- `useRegexForName` integer
- `useRegexForCode` integer
- `logicalOperatorName` string
- `logicalOperatorCode` string
- `type` string
- `sortBy` 'commandId' | 'command' | 'code' | 'description' | 'groupsWithPermissions'
- `sortDir` 'asc' | 'desc'

## Response `200`

successful operation

- Command[]
  - `commandId` integer — Command Id
  - `command` string — Command Name
  - `code` string — Unique Code
  - `description` string — Description
  - `userId` integer — User Id
  - `commandString` string — Command String
  - `validationString` string — Validation String
  - `displayProfileId` integer — DisplayProfileId if specific to a Display Profile
  - `commandStringDisplayProfile` string — Command String specific to the provided DisplayProfile
  - `validationStringDisplayProfile` string — Validation String specific to the provided DisplayProfile
  - `availableOn` string — A comma separated list of player types this command is available on
  - `createAlertOn` string — Define if execution of this command should create an alert on success, failure, always or never.
  - `createAlertOnDisplayProfile` unknown
  - `groupsWithPermissions` string — A comma separated list of groups/users with permissions to this Command

---

[API](https://skmtc.net/xibosignage/apis/xibo-api.md) · [All operations](https://skmtc.net/xibosignage/apis/xibo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xibosignage/xibo-api/revisions/fe497e811c7f/schema)
