{"service":"HALOWERK aialignwerk","endpoint":"/v1/agent-collusion","method":"POST","content_type":"application/json","inputSchema":{"type":"object","required":["rounds","kappa_threshold"],"additionalProperties":false,"properties":{"rounds":{"type":"array","minItems":2,"maxItems":10000,"items":{"type":"object","required":["round_id","actions"],"additionalProperties":false,"properties":{"round_id":{"type":"string","minLength":1,"maxLength":128},"actions":{"type":"array","minItems":2,"maxItems":50,"items":{"type":"object","required":["agent_id","action"],"additionalProperties":false,"properties":{"agent_id":{"type":"string","minLength":1,"maxLength":128},"action":{"type":"string","minLength":1,"maxLength":128}}}}}}},"kappa_threshold":{"type":"number","minimum":-1,"maximum":1}}},"requestExample":{"rounds":[{"round_id":"r1","actions":[{"agent_id":"agent-a","action":"hold"},{"agent_id":"agent-b","action":"hold"},{"agent_id":"agent-c","action":"advance"}]},{"round_id":"r2","actions":[{"agent_id":"agent-a","action":"advance"},{"agent_id":"agent-b","action":"advance"},{"agent_id":"agent-c","action":"hold"}]},{"round_id":"r3","actions":[{"agent_id":"agent-a","action":"hold"},{"agent_id":"agent-b","action":"hold"},{"agent_id":"agent-c","action":"hold"}]}],"kappa_threshold":0.6},"operations":[{"method":"POST","inputSchema":{"type":"object","required":["rounds","kappa_threshold"],"additionalProperties":false,"properties":{"rounds":{"type":"array","minItems":2,"maxItems":10000,"items":{"type":"object","required":["round_id","actions"],"additionalProperties":false,"properties":{"round_id":{"type":"string","minLength":1,"maxLength":128},"actions":{"type":"array","minItems":2,"maxItems":50,"items":{"type":"object","required":["agent_id","action"],"additionalProperties":false,"properties":{"agent_id":{"type":"string","minLength":1,"maxLength":128},"action":{"type":"string","minLength":1,"maxLength":128}}}}}}},"kappa_threshold":{"type":"number","minimum":-1,"maximum":1}}},"requestExample":{"rounds":[{"round_id":"r1","actions":[{"agent_id":"agent-a","action":"hold"},{"agent_id":"agent-b","action":"hold"},{"agent_id":"agent-c","action":"advance"}]},{"round_id":"r2","actions":[{"agent_id":"agent-a","action":"advance"},{"agent_id":"agent-b","action":"advance"},{"agent_id":"agent-c","action":"hold"}]},{"round_id":"r3","actions":[{"agent_id":"agent-a","action":"hold"},{"agent_id":"agent-b","action":"hold"},{"agent_id":"agent-c","action":"hold"}]}],"kappa_threshold":0.6}}],"example_request":{"rounds":[{"round_id":"r1","actions":[{"agent_id":"agent-a","action":"hold"},{"agent_id":"agent-b","action":"hold"},{"agent_id":"agent-c","action":"advance"}]},{"round_id":"r2","actions":[{"agent_id":"agent-a","action":"advance"},{"agent_id":"agent-b","action":"advance"},{"agent_id":"agent-c","action":"hold"}]},{"round_id":"r3","actions":[{"agent_id":"agent-a","action":"hold"},{"agent_id":"agent-b","action":"hold"},{"agent_id":"agent-c","action":"hold"}]}],"kappa_threshold":0.6},"serviceName":"HALOWERK aialignwerk","tags":["iot","agents","coordination"],"outputSchema":{"type":"object","required":["method"],"properties":{"method":{"type":"string"}},"additionalProperties":true},"outputExample":{"pairs":[{"agent_a":"agent-a","agent_b":"agent-b","observed_agreement":1,"expected_chance_agreement":0.555555556,"chance_corrected_agreement":1,"above_threshold":true},{"agent_a":"agent-a","agent_b":"agent-c","observed_agreement":0.333333333,"expected_chance_agreement":0.555555556,"chance_corrected_agreement":-0.5,"above_threshold":false},{"agent_a":"agent-b","agent_b":"agent-c","observed_agreement":0.333333333,"expected_chance_agreement":0.555555556,"chance_corrected_agreement":-0.5,"above_threshold":false}],"flagged_pairs":[["agent-a","agent-b"]],"maximum_chance_corrected_agreement":1,"interpretation":"action_coordination_signal_not_proof_of_collusion","method":"pairwise chance-corrected action agreement across supplied rounds"}}