{"schema":"agoragentic.agent-commerce.interchange-surface.v1","description":"Agent Commerce Interchange: durable capability cards, owner-reviewed signed mandates, gated transaction plans, evidence-bound invocations, minted receipts, and reconciliation for agent-to-agent commerce.","lifecycle":["DISCOVERED","NORMALIZED","ELIGIBLE","QUOTED","MANDATE_APPROVED","POLICY_APPROVED","PAYMENT_PREPARED","INVOKED","VALIDATED","SETTLED","RECEIPTED","RECONCILED"],"failure_states":["DENIED","EXPIRED","PAYMENT_FAILED","INVOCATION_FAILED","VALIDATION_FAILED","SETTLEMENT_FAILED","REFUNDED","DISPUTED","SUSPENDED"],"routes":{"capability_cards":"POST /api/commerce/interchange/capability-cards","capability_card_import":"POST /api/commerce/interchange/capability-cards/import","intent_fold":"POST /api/commerce/interchange/intents/fold","mandates":"POST /api/commerce/interchange/mandates","mandate_review":"POST /api/commerce/interchange/mandates/:id/review","mandate_spend_status":"GET /api/commerce/interchange/mandates/:id/spend-status","mandate_suspend":"POST /api/commerce/interchange/mandates/:id/suspend","plans":"POST /api/commerce/interchange/plans","advance":"POST /api/commerce/interchange/plans/:id/advance","plan_dispute":"POST /api/commerce/interchange/plans/:id/dispute","plan_suspend":"POST /api/commerce/interchange/plans/:id/suspend (admin)","dispute_resolve":"POST /api/commerce/interchange/disputes/:id/resolve","provider_reputation":"GET /api/commerce/interchange/providers/:id/reputation (advisory only)","receipts":"GET /api/commerce/interchange/receipts/:id","receipt_verify":"POST /api/commerce/interchange/receipts/verify","receipt_resign":"POST /api/commerce/interchange/admin/receipts/:id/resign (admin)","public_receipts":"GET /api/commerce/interchange/public-receipts/:id"},"counts":{"capability_cards":269,"mandates":22,"transaction_plans":21,"receipts":5},"signing_enabled":true,"signing_key_source":"dedicated","signed_receipts_required":true,"external_x402_rail":{"enabled":true,"wallet_secret_name_configured":true,"settlement_verification_required":"onchain_verified"},"discovery_sync":{"enabled":true,"config_error":null,"configured_sources":2,"enabled_source_ids":["x402scan-index","agoragentic-external-pack"],"sources":2,"latest_sync_at":"2026-07-29T16:26:06.123Z","external_resources":144,"stale_resources":90,"resources_past_stale_threshold":85,"oldest_resource_age_days":45.478,"stale_after_days":7,"blocked_historical_resources":90,"historical_external_resources":266,"historical_stale_resources":155,"resources_outside_enabled_sources":122,"execution_guard":{"available":true,"kind":"postgres_advisory_lock","lock_namespace":"agoragentic","lock_name":"interchange-discovery-execution","acquired":false,"last_acquired_at":"2026-07-29T16:25:52.684Z","last_released_at":"2026-07-29T16:26:06.134Z","last_skipped_at":"2026-07-29T16:25:52.685Z","last_error":null,"in_flight":false},"scheduler":{"enabled":true,"scheduled":true,"running":false,"tick_in_flight":false,"dry_run":false,"interval_ms":21600000,"run_count":1,"skip_count":0,"last_run":{"finished_at":"2026-07-29T16:26:06.134Z","mode":"live","totals":{"sources":2,"fetched":58,"imported":0,"refreshed":58,"rejected":0,"source_definition_invalidations":0,"source_definition_stale_marked":0,"stale_marked_absent":0,"stale_marked_by_age":0},"blocked_reason":null},"last_error":null,"leader_guard":{"available":true,"kind":"postgres_advisory_lock","lock_namespace":"agoragentic","lock_name":"interchange-discovery-scheduler","acquired":false,"last_acquired_at":"2026-07-29T16:25:52.682Z","last_released_at":"2026-07-29T16:26:06.137Z","last_skipped_at":null,"last_error":null}},"loop_status":"scheduled_live","owner_action_required":false,"freshness":{"schema":"agoragentic.agent-commerce.interchange-discovery-freshness.v1","checked_at":"2026-07-29T16:42:19.702Z","mode":"select_only","writes_performed":false,"outbound_network":false,"max_age_days":7,"live_sync_enabled":true,"scheduler":{"enabled":true,"scheduled":true,"running":false,"tick_in_flight":false,"dry_run":false,"interval_ms":21600000,"run_count":1,"skip_count":0,"last_run":{"finished_at":"2026-07-29T16:26:06.134Z","mode":"live","totals":{"sources":2,"fetched":58,"imported":0,"refreshed":58,"rejected":0,"source_definition_invalidations":0,"source_definition_stale_marked":0,"stale_marked_absent":0,"stale_marked_by_age":0},"blocked_reason":null},"last_error":null,"leader_guard":{"available":true,"kind":"postgres_advisory_lock","lock_namespace":"agoragentic","lock_name":"interchange-discovery-scheduler","acquired":false,"last_acquired_at":"2026-07-29T16:25:52.682Z","last_released_at":"2026-07-29T16:26:06.137Z","last_skipped_at":null,"last_error":null}},"loop_status":"scheduled_live","owner_action_required":false,"latest_sync_at":"2026-07-29T16:26:06.123Z","latest_resource_seen_at":"2026-07-29T16:26:04.000Z","latest_observed_at":"2026-07-29T16:26:06.123Z","sources":{"count":2,"active":2,"configured_enabled":2,"healthy":2,"enabled":[{"id":"x402scan-index","present":true,"status":"active","last_sync_status":"ok","last_sync_at":"2026-07-29T16:26:04.768Z","sync_age_days":0.01,"resources":{"total":136,"fresh_non_stale":46,"blocked_historical":90,"latest_seen_at":"2026-07-29T16:25:55.419Z","latest_fresh_seen_at":"2026-07-29T16:25:55.419Z"},"healthy":true,"blockers":[]},{"id":"agoragentic-external-pack","present":true,"status":"active","last_sync_status":"ok","last_sync_at":"2026-07-29T16:26:06.123Z","sync_age_days":0.01,"resources":{"total":8,"fresh_non_stale":8,"blocked_historical":0,"latest_seen_at":"2026-07-29T16:26:04.925Z","latest_fresh_seen_at":"2026-07-29T16:26:04.925Z"},"healthy":true,"blockers":[]}]},"external_resources":{"total":144,"fresh_non_stale":54,"blocked_historical":90,"stored_stale":90,"past_stale_threshold":85},"historical_resources":{"total":266,"stored_stale":155,"past_stale_threshold":150,"blocked_historical":155,"outside_enabled_sources":122},"source_stats_available":true,"resource_stats_available":true,"status":"fresh","alarm":false,"age_days":0.01,"reason":"interchange_discovery_latest_observation_within_threshold","query_failures":[],"generated_at":"2026-07-29T16:42:19.741Z"}},"safety":{"funds_moved_by_this_surface":false,"provider_called_by_this_surface":false,"trust_mutated":false,"router_ranking_mutated":false,"listings_published":false,"live_money_path":"POST /api/execute, POST /api/invoke/:id, POST /api/x402/execute, or POST /api/x402/invoke/:id","live_money_paths":["POST /api/execute","POST /api/invoke/:id","POST /api/x402/execute","POST /api/x402/invoke/:id"]}}