{"openapi":"3.0.0","info":{"title":"AgentID Protocol","version":"0.1.3","description":"Zero-trust identity for autonomous AI agents."},"servers":[{"url":"https://ais-pre-2j3zzswm5se7s227h2xqoa-10948464971.us-west2.run.app"}],"paths":{"/api/register":{"post":{"summary":"Register a new agent identity","description":"Generates an Ed25519 keypair and registers a unique Agent ID.","responses":{"200":{"description":"Identity provisioned"}}}},"/api/handshake":{"post":{"summary":"Execute authenticated handshake","description":"Verifies the agent signature and pays the $0.001 protocol fee.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["senderId","receiverId","timestamp","signature"],"properties":{"senderId":{"type":"string","description":"The ID of the initiating agent"},"receiverId":{"type":"string","description":"The destination agent ID"},"timestamp":{"type":"integer","description":"Unix timestamp of the request"},"signature":{"type":"string","description":"Hex encoded Ed25519 signature of [senderId+receiverId+timestamp]"}}}}}},"responses":{"200":{"description":"Trust Token issued"}}}},"/api/ledger/escrow":{"post":{"summary":"Initiate micro-escrow","description":"Locks agent funds into a pending transaction state.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["trustToken","amount"],"properties":{"trustToken":{"type":"string","description":"The JWT Trust Token returned from the handshake"},"amount":{"type":"number","description":"The USD amount to lock in escrow"}}}}}},"responses":{"200":{"description":"Escrow created"}}}}}}