Get audit status
get_auditStatus of an audit: queued, running, succeeded, failed (refunded) or expired.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"audit_id": "<audit_id>"
},
"name": "get_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audit_id | Yes | The audit id returned by submit_audit or list_audits. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Audit id. | |
| error | Yes | Why the audit failed, if it did. | |
| stage | Yes | Progress detail while running. | |
| status | Yes | failed audits are refunded; expired reports were deleted after the retention window. | |
| product | Yes | deep_review or tools. | |
| language | Yes | solidity or daml. | |
| refunded | Yes | True when the audit failed and the price was returned. | |
| total_loc | Yes | Lines of code audited. | |
| created_at | Yes | ISO 8601 timestamp. | |
| started_at | Yes | ISO 8601 timestamp. | |
| finished_at | Yes | ISO 8601 timestamp. | |
| price_cents | Yes | Price charged, in US cents. | |
| project_name | Yes | Project name shown on the report. | |
| audit_targets | Yes | The files audited. | |
| contract_count | Yes | Number of files audited and billed. | |
| discount_percent | Yes | Account discount applied, 0 if none. | |
| report_available | Yes | True when get_audit_report can return the report. | |
| report_expires_at | Yes | When the report is deleted (ISO 8601). |