# JSON output and automation

Use the CLI JSON output mode for scripts, and parse only documented fields. Save resource and task IDs from responses, set explicit error handling, and avoid printing credentials or unredacted sensitive data.
