{"openapi": "3.0.0", "info": {"title": "Combined Server-Surface Census", "version": "1.0.0", "description": "TextForAgents LLC. Combined verdict query $0.01/call (x402) \u00b7 Surface watch $4.99/endpoint/mo \u00b7 One-time combined snapshot $1.99. One free verdict query per operator, ever."}, "components": {"securitySchemes": {"bearer": {"type": "http", "scheme": "bearer"}}, "schemas": {"SnapshotRequest": {"type": "object", "properties": {"url": {"type": "string"}, "registry_name": {"type": "string"}, "mode": {"type": "string", "enum": ["pin", "verify"]}}, "required": ["url"]}, "VerdictRequest": {"type": "object", "properties": {"old_snapshot": {"type": "object"}, "new_snapshot": {"type": "object"}, "old_url": {"type": "string"}, "new_url": {"type": "string"}, "mode": {"type": "string", "enum": ["pin", "verify"]}}}, "Snapshot": {"type": "object", "properties": {"url": {"type": "string"}, "registry_name": {"type": "string"}, "server_name": {"type": "string"}, "status": {"type": "string"}, "mode": {"type": "string"}, "tool_names": {"type": "array", "items": {"type": "string"}}, "tool_hash": {"type": "string"}, "skill_digests": {"type": "object"}, "listed_skills": {"type": "array", "items": {"type": "string"}}, "unlisted_skills": {"type": "array", "items": {"type": "string"}}, "unverifiable": {"type": "array"}, "snapshot_hash": {"type": "string"}, "signature": {"type": "string"}, "key_era": {"type": "string"}}}, "Verdict": {"type": "object", "properties": {"verdict": {"type": "string"}, "tool_same": {"type": "boolean"}, "skill_same": {"type": "boolean"}, "unverifiable_present": {"type": "boolean"}, "billed_as": {"type": "string"}}}, "Error": {"type": "object", "properties": {"error": {"type": "string"}}}}}, "paths": {"/register": {"post": {"summary": "Self-serve account issuance (canonicalised identity; trial granted once per operator identity)", "responses": {"201": {"description": "account_id + token (shown once)"}, "400": {"description": "operator identity required"}}}}, "/snapshot": {"get": {"summary": "One of your stored snapshots by id"}}, "/verdict": {"post": {"summary": "Composed verdict query \u2014 $0.01/call x402, one free trial query per operator", "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/VerdictRequest"}}}}, "responses": {"200": {"description": "composed verdict + receipt"}, "400": {"description": "snapshot signature invalid"}, "402": {"description": "x402 payment required"}}}}, "/subscribe": {"post": {"summary": "Activate a surface-watch entitlement ($4.99/endpoint/mo) via x402", "responses": {"200": {"description": "plan active 30 days"}, "402": {"description": "x402 payment required"}}}}, "/watch": {"post": {"summary": "Watch an endpoint (watch entitlement for that endpoint required); alerts on status/surface change"}}, "/watch/check": {"post": {"summary": "Check your watches now; returns new alerts"}}, "/watches": {"get": {"summary": "Your watches and alerts"}}, "/snapshots": {"get": {"summary": "Your stored snapshots (metadata)"}}, "/snapshots/verify": {"post": {"summary": "Verify a signed snapshot (public)"}}, "/receipts/verify": {"post": {"summary": "Verify a signed receipt (public)"}}, "/account": {"get": {"summary": "Account, plans, trial usage"}}, "/stats": {"get": {"summary": "Public census aggregate (volume by depth/verdict, classification mix, skill-serving share)"}}, "/mcp": {"post": {"summary": "MCP JSON-RPC surface: combined_verdict, take_snapshot, list_snapshots, add_watch, list_watches"}}, "/health": {"get": {"summary": "Health + prices + census stats + key era"}}}}