Get audit trail for a tool
GET
/v1/tools/{tool_id}/audit
const url = 'http://localhost:8693/v1/tools/example/audit?limit=100';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:8693/v1/tools/example/audit?limit=100'Returns the recent audit log for this tool — all verification decisions (pass, deny, error) across all protocols. Uses the universal audit trail regardless of which protocol the call arrived over.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” tool_id
required
string
Query Parameters
Section titled “Query Parameters ” limit
integer
Responses
Section titled “ Responses ”Audit trail entries (newest first)
Media type application/json
Array<object>
object
timestamp
string format: date-time
protocol
string
decision
string
subject
string
notes
string
Example
[ { "decision": "allow" }]Tool not found
Audit trail not yet implemented (stub)
Tool registry not initialised