Skip to content

List remote-commands

GET
/remote-commands

Whitelisted command templates for remote execution on fleet agents (F2.FLEET.07). Only commands with allowed=true may be dispatched.

pagination[page]
integer
pagination[pageSize]
integer
filters

Strapi REST filter syntax

object
sort
string
populate
string

OK

object
data
Array
object
name
required
string
>= 1 characters <= 120 characters
command_template
required

Shell command template with optional {arg} placeholders, e.g. ‘systemctl status {service}’

string
description
string
allowed

Whitelist flag — only allowed=true commands may be dispatched. Set to false to disable without deleting.

boolean
timeout_seconds

Maximum execution time on the agent in seconds.

integer
organisation
One of:

DocumentId reference to api::organisation.organisation

string
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable
meta
object
pagination
object
page
integer
pageSize
integer
pageCount
integer
total
integer

Missing or invalid authentication

Not authorized (tenant scope or capability)