Skip to main content

Send a command to a node

POST 

/api/commands

Runs a command, such as a worktree, stack or agent account operation, on a node the caller may change, and waits for its reply. Worktree and stack commands need worktree edit or system create permission, and the rest system create permission, except that a member who may add agent accounts may run the add-account steps for their own account; commands reserved to Jaah return 403. Returns 201 with the command's status and result, 503 when the node is not connected, and 504 when it does not answer in time.

Request​

Responses​

Created