Skip to main content
With --json, most commands print one JSON object on standard output. cowboy version --json lists them. For example:
Output
  • ok says whether the command did what it was asked. result holds what it produced.
  • diagnostics lists problems, each with a code, a message, a hint, and retryable.
The exit status says what to do next: A script reads the result like this:
Output
Against Cloud, each command has its own result:
Output
actor state puts the values under result.storage. actor call returns the call’s status and receipt, with no return value: to get what a handler returned, use the Python client.