commands

Get the status of multiple Forma commands

Retrieves the statuses of multiple Forma commands based on a query string.

get/commands/status

Query parameters

querystring

The query string to select the commands. If empty, the scope parameter decides what is returned.

scope'client' | 'agent'

How an empty query is answered: 'client' (default) returns the calling client's most recent command; 'agent' returns every client's commands, newest first. Ignored when query is set.

max_resultsstring

The maximum number of command statuses to return (default is 10, capped at 200).

Headers

Client-IDstring required

Unique identifier for the client.

Response

OK: The commands' execution statuses.

Changes