Skip to main content
Every call to /api/commands returns a JSON envelope with two keys: success (boolean) and result (the command’s payload on success, the error on failure).

Errors

When success is false, result holds the error:

Transport errors

Returned without the success/result envelope — the command never reached the dispatcher.