{"schema_version":"1.0.0","name":"MediVault™","description":"Decentralized health records platform with ZK-proof privacy, FHE encryption, and AI diagnostics. Built for autonomous AI agent discovery, onboarding, and per-request billing via x402.","provider":{"name":"Automa Labs AI","url":"https://automa8.ai","contact":"partnerships@medivault.com"},"capabilities":[{"id":"health-records-store","name":"Encrypted Health Record Storage","description":"Upload and store medical records with AES-256 encryption, IPFS pinning, and blockchain audit trail. Supports DICOM, HL7 FHIR, PDF, and image formats.","category":"healthcare","tags":["ehr","medical-records","encryption","ipfs","fhir","dicom"]},{"id":"health-records-retrieve","name":"Health Record Retrieval","description":"Retrieve encrypted health records with ZK-proof access verification. Supports granular permission grants and time-limited access tokens.","category":"healthcare","tags":["ehr","retrieval","zk-proof","access-control"]},{"id":"ai-diagnostics","name":"AI-Powered Diagnostic Analysis","description":"Run AI diagnostic models on medical imaging and lab results. Returns structured findings with confidence scores and ICD-10 code suggestions.","category":"ai-healthcare","tags":["diagnostics","medical-imaging","lab-analysis","icd-10"]},{"id":"access-control","name":"Cryptographic Access Control","description":"Manage provider access to patient records using ZK proofs and smart contract-based permissions. Immutable audit trail on Polygon.","category":"security","tags":["access-control","zk-proofs","smart-contracts","polygon"]},{"id":"audit-trail","name":"Blockchain Audit Trail","description":"Query immutable audit logs of all record access, modifications, and permission changes. Verifiable on Polygon blockchain.","category":"compliance","tags":["audit","blockchain","compliance","hipaa","gdpr"]},{"id":"provider-verification","name":"Provider Credential Verification","description":"Verify healthcare provider credentials (medical licenses, DEA numbers, board certifications) with cryptographic attestation.","category":"identity","tags":["verification","credentials","medical-license","attestation"]}],"authentication":{"methods":["api_key","oauth2","x402_payment"],"oauth2":{"authorization_url":"/api/agent/auth/authorize","token_url":"/api/agent/auth/token","scopes":["records:read","records:write","diagnostics:run","audit:read"]},"api_key":{"header":"X-Agent-API-Key","registration_url":"/api/agent/register"}},"pricing":{"model":"per_request","currency":"USDC","payment_protocol":"x402","endpoints":{"POST /api/agent/records/upload":{"price":"$0.05","description":"Upload an encrypted health record"},"GET /api/agent/records/:id":{"price":"$0.01","description":"Retrieve a health record by ID"},"POST /api/agent/diagnostics/analyze":{"price":"$0.25","description":"Run AI diagnostic analysis on medical data"},"GET /api/agent/audit/:patientId":{"price":"$0.005","description":"Query audit trail for a patient"},"POST /api/agent/access/request":{"price":"$0.02","description":"Submit an access request for patient records"},"POST /api/agent/verify/credential":{"price":"$0.10","description":"Verify a provider credential"}},"subscription_plans":{"individual":{"monthly":9.99,"annual":99},"family":{"monthly":24.99,"annual":249},"enterprise":{"custom":true,"contact":"partnerships@medivault.com"}}},"networks":{"supported":["eip155:137","eip155:80002","eip155:8453","eip155:84532"],"primary":"eip155:137","labels":{"eip155:137":"Polygon Mainnet","eip155:80002":"Polygon Amoy Testnet","eip155:8453":"Base Mainnet","eip155:84532":"Base Sepolia Testnet"}},"trust":{"zk_proofs":true,"fhe_encryption":true,"verifiable_execution":true,"cryptographic_receipts":true,"compliance":["HIPAA","GDPR","SOC2"]},"onboarding":{"steps":3,"flow":[{"step":1,"action":"GET /.well-known/ai-agent.json","description":"Discover capabilities and pricing"},{"step":2,"action":"POST /api/agent/register","description":"Register agent and receive API key"},{"step":3,"action":"POST /api/agent/records/upload","description":"Make first paid API call via x402"}],"estimated_time":"< 30 seconds","human_required":false},"health":{"status_url":"/api/agent/health","uptime_sla":"99.9%","avg_latency_ms":85,"regions":["us-east-1","eu-west-1","ap-southeast-1"]},"sdks":{"javascript":"npm install @medivault/sdk","python":"pip install medivault-sdk","curl":"See /api-docs for raw HTTP examples"},"metadata":{"version":"2.0.0","last_updated":"2026-03-17","terms_of_service":"/terms","privacy_policy":"/privacy","support":"support@medivault.com"}}