Skip to content

Audit tools

Six tools for cloud audits — accessibility runs driven against saved journeys on a dedicated VM with a real screen reader.

Two identifiers appear here and they are not interchangeable. start_agentic_audit returns a cloud run request id, which is what get_audit_progress polls. Once the audit starts, polling returns the run, whose id is the run id — what get_agentic_audit_report and cancel_audit take.

Start an audit on the cloud runner.

NameTypeRequiredNotes
organization_idstringyes
project_idstringyes
journey_idsstring[]noSaved journeys to test. Omit or leave empty to run all.

Returns: a text summary naming the cloud run request id (and the VM name when one is reported), plus the instruction to poll get_audit_progress. The VM takes roughly 4–5 minutes to boot before a run exists.

Returns an error block reading Failed to start audit: no request ID returned if the request was not accepted.

Get the live status of a cloud audit by its request id.

NameTypeRequiredNotes
organization_idstringyes
cloud_run_request_idstringyesFrom start_agentic_audit.

Returns, while the VM is booting: a non-error text block reading No run yet for request "<id>" — the VM is still booting (~4–5 min). Keep polling. If nothing appears after about six minutes, the VM likely failed to start.

Returns, once the run exists: the run — its id (the run id), a status, and violation counts. There are six statuses:

StatusMeaning
queuedMinted, not started yet. Keep polling.
runningIn progress. Keep polling.
completedFinished. A report is available.
completed_with_errorsFinished with partial coverage. A report is available.
failedStopped without producing a report.
interruptedStopped — including by cancel_audit — without producing a report.

Poll while the status is queued or running. Treat the other four as final: waiting for completed alone leaves you polling forever on a run that ended as completed_with_errors.

Request that a running audit be interrupted.

NameTypeRequiredNotes
organization_idstringyes
run_idstringyesThe run id, not the request id.

Returns: Stop requested for run <id>. It will interrupt shortly — poll get_audit_progress to confirm. The stop is a request; confirm it landed by polling. A failure to submit the stop returns an error block carrying the underlying message.

Get the full report for a completed agentic audit, including violations.

NameTypeRequiredNotes
organization_idstringyes
audit_idstringyesThe run id.

Returns: the run result, including its violations. Each violation may carry a screenshotKey — pass that value as the screenshot_key argument of get_violation_screenshot.

Returns an error block reading Audit "<id>" not found when no result exists — which includes an audit that has not finished.

Get a screenshot image of an accessibility violation.

NameTypeRequiredNotes
organization_idstringyes
screenshot_keystringyesFrom a violation in an audit report.

Returns: an image content block (base64 data plus its MIME type) — the one tool here that does not return text. Returns an error block reading Screenshot not found when the key resolves to nothing.

List a project’s run history.

NameTypeRequiredNotes
organization_idstringyes
project_idstringyes
firstnumbernoPage size. Default 20.
afterstringnoCursor from a previous call’s pageInfo.endCursor.

Returns: a paginated connection merging two entry kinds, each naming itself in __typename:

__typenameWhat it is
AgenticRunA cloud audit Binclusive drove.
CliScanA static scan your CI reported via b8e ci.

Entries are ordered newest first, across both kinds. History grows a row per CI run, so ask for the page you need and walk back with after only if the answer is not in it.

Runs that stopped without producing a report — failed and interrupted — are not listed here. That includes a run you stopped with cancel_audit. To check on one, use get_audit_progress with its request id.