$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "currentItems": [
< {
< "eventId": "evt-101",
< "sessionId": "sess-44",
< "agent": "procurement-agent",
< "tool": "payments.create",
< "action": "create_payment",
< "resource": "vendor:acme",
< "permission": "payments:write",
< "approvalStatus": "missing",
< "sideEffect": "financial",
< "riskType": "unapproved_financial_action",
< "riskScore": 92,
< "sensitiveData": false,
< "timestamp": "2026-09-20T14:04:00Z"
< },
< {
< "eventId": "evt-102",
< "sessionId": "sess-44",
< "agent": "procurement-agent",
< "tool": "crm.search",
< "action": "read_contacts",
< "resource": "crm:contacts",
< "permission": "contacts:read",
< "approvalStatus": "not_required",
< "sideEffect": "read",
< "riskType": "sensitive_data_access",
< "riskScore": 48,
< "sensitiveData": true,
< "timestamp": "2026-09-20T14:04:04Z"
< },
< {
< "eventId": "evt-103",
< "sessionId": "sess-44",
< "agent": "procurement-agent",
< "tool": "shell.exec",
< "action": "execute_command",
< "resource": "host:worker-2",
< "permission": "shell:execute",
< "approvalStatus": "denied",
< "sideEffect": "execution",
< "riskType": "privilege_escalation_attempt",
< "riskScore": 96,
< "sensitiveData": false,
< "timestamp": "2026-09-20T14:04:08Z"
< }
< ],
< "previousItems": [
< {
< "eventId": "evt-091",
< "sessionId": "sess-41",
< "agent": "procurement-agent",
< "tool": "crm.search",
< "action": "read_contacts",
< "resource": "crm:contacts",
< "permission": "contacts:read",
< "approvalStatus": "not_required",
< "sideEffect": "read",
< "riskType": "sensitive_data_access",
< "riskScore": 35,
< "sensitiveData": true,
< "timestamp": "2026-09-13T14:04:04Z"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/quanmatrix~ai-agent-runtime-risk-governance-intelligence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'