Manage your audits, subscription, and agents from here.
ghp_) — it's only shown onceIf you signed in with GitHub, that same access is used automatically — you only need to enter a token if not.
// Log an action (no approval needed):
fetch('https://datotecaudit.com/api/agent-trace', {
method: 'POST',
headers: {
'Authorization': 'Bearer TU_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({ action: 'check_price', cost: 0.01 })
});
// Log an action that needs human approval:
const r = await fetch('https://datotecaudit.com/api/agent-trace', {
method: 'POST',
headers: { 'Authorization': 'Bearer TU_API_KEY', 'Content-Type': 'application/json' },
body: JSON.stringify({ action: 'send_email', cost: 0.02, requires_approval: true })
});
const { approval_id } = await r.json();
// The agent waits and polls every few seconds:
const check = await fetch(
`https://datotecaudit.com/api/agent-approval-status?approval_id=${approval_id}`,
{ headers: { 'Authorization': 'Bearer TU_API_KEY' } }
);
const { status } = await check.json(); // 'pending' | 'approved' | 'rejected'
Generate a report with your traces, approvals, and audits for the period — ready for the European AI Regulation.