Skip to content
v0.35.1

CLI scripting and API access

Full CLI reference for v0.35.1, published . Cloud features may behave differently today.

Request JSON

Add --json when your script needs JSON. Check the exit code first. Command results are under data; API results are under data.response.

In JSON mode, run and tdd run send wrapped test output to stderr so stdout stays parseable.

Read local TDD results

Terminal window
npx vizzly context build current --source local --json

Set --source local to read saved local results in this release.

See TDD mode for captures and local review.

Read cloud evidence

This release has context queries and generic API requests. Use IDs from real build responses:

Terminal window
npx vizzly context build <build-id> --source cloud --json
npx vizzly context comparison <comparison-id> --source cloud --json

For generic requests, the server controls available endpoints and required headers. Run vizzly api --help for this release's options.

Check before writing

Check the request’s method, login requirements, and body before sending a review or comment. Do this only when the task asks for it. Project tokens can’t perform review writes.