Endpoints: 28,729MCP servers: 18,413Payout addresses: 2,071Paid calls: 1,558Letters: 14Defects: 1,331counted just now
teppi

Server definition

Hash
sha256:633183b9c801920a9dfc58df4c67e34056f6604cd848e1b7ab7dd1d0139a974b
What it is
What a remote MCP server returned when asked what it offers: 9 tools

The blob, as servednamed by its sha256

{ "instructions": null, "tools": [ { "description": "Read-only A2A Agent Card with agent identity, security scheme, capabilities, and skills. Use it when selecting or integrating InterAI through A2A; use oracle.service_descriptor for general service metadata or oracle.discovery_bundle for complete bootstrap context.", "inputSchema": { "additionalProperties": false, "properties": {}, "type": "object" }, "name": "oracle.agent_card", "outputSchema": { "additionalProperties": true, "description": "InterAI A2A Agent Card returned as machine-readable JSON.", "properties": { "capabilities": { "additionalProperties": true, "type": "object" }, "defaultInputModes": { "items": { "type": "string" }, "type": "array" }, "defaultOutputModes": { "items": { "type": "string" }, "type": "array" }, "description": { "type": "string" }, "documentationUrl": { "type": "string" }, "name": { "type": "string" }, "provider": { "additionalProperties": true, "type": "object" }, "security": { "type": "array" }, "securitySchemes": { "additionalProperties": true, "type": "object" }, "skills": { "items": { "additionalProperties": true, "type": "object" }, "type": "array" }, "url": { "type": "string" }, "version": { "type": "string" } }, "required": [ "name", "description", "url", "version", "capabilities", "skills" ], "type": "object" } }, { "description": "Read-only bootstrap or handoff bundle with service identity, interfaces, runtime mode, contracts, schemas, and sample payloads in one response. Use it for complete integration context; use oracle.service_descriptor for focused service metadata, oracle.agent_card for A2A capabilities, or oracle.get_pricing for costs.", "inputSchema": { "additionalProperties": false, "properties": {}, "type": "object" }, "name": "oracle.discovery_bundle", "outputSchema": { "additionalProperties": true, "description": "Complete machine-readable InterAI integration bundle for bootstrap and handoff.", "properties": { "discovery": { "additionalProperties": true, "type": "object" }, "interfaces": { "additionalProperties": true, "type": "object" }, "name": { "type": "string" }, "runtime": { "additionalProperties": true, "type": "object" }, "samples": { "additionalProperties": true, "type": "object" }, "service": { "additionalProperties": true, "type": "object" } }, "required": [ "name", "service", "runtime", "discovery", "interfaces", "samples" ], "type": "object" } }, { "description": "Read-only public metadata for costs, trial availability, idempotency, and top-up or payment paths. Use it before budgeting or onboarding; it does not evaluate risk or create a trust receipt.", "inputSchema": { "additionalProperties": false, "properties": {}, "type": "object" }, "name": "oracle.get_pricing", "outputSchema": { "additionalProperties": true, "description": "Current public InterAI pricing, onboarding, x402, top-up, trial, and idempotency metadata.", "properties": { "auth": { "additionalProperties": true, "type": "object" }, "chain": { "type": "string" }, "currency": { "type": "string" }, "demo": { "additionalProperties": true, "type": "object" }, "idempotency": { "additionalProperties": true, "type": "object" }, "model": { "type": "string" }, "protocols": { "additionalProperties": true, "type": "object" }, "topup": { "additionalProperties": true, "type": "object" }, "trial": { "additionalProperties": true, "type": "object" }, "unit": { "type": "string" }, "verify": { "additionalProperties": true, "type": "object" }, "verify_batch": { "additionalProperties": true, "type": "object" } }, "required": [ "model", "currency", "chain", "unit", "protocols", "auth", "verify", "verify_batch", "topup", "trial", "demo", "idempotency" ], "type": "object" } }, { "description": "Read-only lookup of the canonical public representation and signature metadata for a trust receipt that already exists. Supply receipt_id. It does not create or re-run a decision; use oracle.verify_trust_receipt_signature when the goal is signature validation.", "inputSchema": { "additionalProperties": false, "description": "Lookup input for a trust receipt that already exists in InterAI.", "properties": { "receipt_id": { "description": "Identifier of the existing InterAI trust receipt whose canonical public representation and signature metadata should be returned.", "type": "string" } }, "required": [ "receipt_id" ], "type": "object" }, "name": "oracle.get_trust_receipt", "outputSchema": { "additionalProperties": true, "description": "Canonical public representation, signature metadata, and trust fields for an existing InterAI receipt.", "properties": { "ok": { "type": "boolean" }, "receipt": { "additionalProperties": true, "properties": { "decision_basis": { "additionalProperties": true, "type": "object" }, "issued_at": { "type": "string" }, "oracle_version": { "type": "string" }, "receipt_id": { "type": "string" }, "request_hash": { "type": "string" }, "signals_version": { "type": "string" } }, "required": [ "receipt_id", "issued_at", "request_hash" ], "type": "object" }, "trust": { "additionalProperties": true, "properties": { "confidence_band": { "type": "string" }, "domain": { "type": "string" }, "risk_level": { "type": "string" }, "trust_score": { "type": "number" } }, "required": [ "domain", "trust_score", "risk_level", "confidence_band" ], "type": "object" }, "verification": { "additionalProperties": true, "properties": { "signature": { "type": [ "string", "null" ] }, "signature_alg": { "type": [ "string", "null" ] }, "signed": { "type": "boolean" } }, "required": [ "signed", "signature", "signature_alg" ], "type": "object" } }, "required": [ "ok", "receipt", "verification", "trust" ], "type": "object" } }, { "description": "Read-only general service descriptor with identity, endpoints, billing, trust, and supported agent protocols. Use it to inspect service-level integration metadata; use oracle.agent_card for A2A skills or oracle.discovery_bundle for the complete bootstrap package.", "inputSchema": { "additionalProperties": false, "properties": {}, "type": "object" }, "name": "oracle.service_descriptor", "outputSchema": { "additionalProperties": true, "description": "Focused InterAI service-level metadata covering identity, endpoints, billing, trust, and agent protocols.", "properties": { "agent_protocols": { "additionalProperties": true, "type": "object" }, "billing": { "additionalProperties": true, "type": "object" }, "description": { "type": "string" }, "discovery": { "additionalProperties": true, "type": "object" }, "endpoints": { "additionalProperties": true, "type": "object" }, "id": { "type": "string" }, "name": { "type": "string" }, "version": { "type": "string" } }, "required": [ "name", "id", "version", "description", "discovery", "endpoints", "billing", "agent_protocols" ], "type": "object" } }, { "description": "Primary tool for one concrete proposed autonomous action before it executes. This authenticated prepaid verification may consume account balance and records a signed trust receipt; InterAI evaluates the proposal but does not execute or modify the proposed external action. Reuse idempotency_key only when retrying the same logical request to avoid duplicate billing. Returns allow, review_required, or block with policy signals. Use oracle.verify_batch for multiple independent items and oracle.verify_response only for legacy prompt/response compatibility.", "inputSchema": { "additionalProperties": false, "description": "Preflight one exact proposed autonomous action before execution. Provide use_case and action; optionally add context, caller policy, external evidence, a domain label, verification mode, and an idempotency key.", "properties": { "action": { "additionalProperties": true, "description": "The proposed action. For executable pilot authorization use interai-canonical-action/v1 with host-registry tool_id, type, operation, exact arguments, and explicit side-effect semantics.", "properties": { "arguments": { "type": "object" }, "destination": { "minLength": 1, "pattern": "\\S", "type": "string" }, "external_side_effect": { "type": "boolean" }, "irreversible": { "type": "boolean" }, "operation": { "minLength": 1, "pattern": "\\S", "type": "string" }, "resource": { "minLength": 1, "pattern": "\\S", "type": "string" }, "schema": { "const": "interai-canonical-action/v1", "type": "string" }, "tool_id": { "minLength": 1, "pattern": "\\S", "type": "string" }, "type": { "minLength": 1, "pattern": "\\S", "type": "string" } }, "type": "object" }, "authorization_ttl_seconds": { "default": 60, "description": "Lifetime of a single-use execution authorization for a canonical action. Only Bearer-authenticated pilot requests receive executable authorization material.", "maximum": 300, "minimum": 1, "type": "integer" }, "context": { "additionalProperties": true, "description": "Optional runtime context surrounding the proposed action, such as environment, agent identity, counterparty, user confirmation, or other facts relevant to this decision.", "type": "object" }, "domain": { "description": "Optional domain label used to provide verification context. It does not replace the exact action, context, or policy inputs.", "minLength": 1, "pattern": "\\S", "type": "string" }, "execution_context": { "additionalProperties": false, "description": "Host-attested execution context bound to a canonical action. InterAI authenticates the account, not the truth of host-provided workspace, actor, run, or environment values.", "properties": { "actor_id": { "minLength": 1, "pattern": "\\S", "type": "string" }, "environment": { "minLength": 1, "pattern": "\\S", "type": "string" }, "run_id": { "minLength": 1, "pattern": "\\S", "type": "string" }, "schema": { "const": "interai-host-execution-context/v1", "type": "string" }, "workspace_id": { "minLength": 1, "pattern": "\\S", "type": "string" } }, "required": [ "schema", "workspace_id", "environment" ], "type": "object" }, "external_evidence": { "description": "Optional signed or verifiable external assertions. Current Stage 2 evidence is parsed, verified, bound, and recorded as non-authoritative evidence; it does not directly determine the InterAI execution decision or risk score.", "items": { "$id": "external-evidence/v0/rev6", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "description": "Closed JSON Schema for one item of the optional top-level external_evidence collection. additionalProperties:false is enforced recursively; required fields are explicit; reference and inline modes are discriminated with oneOf (now actually enforced by conformant Draft-07 validators). rev4 hardening: every uint256 semantics field accepts either a JSON number in 0..9007199254740991 or a canonical decimal-string for larger values (Alejandro 10th-reply targeted correction, completing the 9th-reply integer item); rev3 items are retained: inline_payload closed with a strict profile-specific schema (Insight OracleSafetyCheck v2, 26 fields, required, exact types, additionalProperties:false), signed schemaVersion=2 and evaluationScope=SOURCE_ASSET_ONLY pinned by const. subject_only and order_insensitive binding modes are reserved and NOT accepted on the wire in v0. rev5: the wire shape is unchanged. The bundled self-check validator now evaluates const and enum before any type-specific return, so it agrees with a conformant Draft-07 validator on the pinned schemaVersion=2 and evaluationScope=SOURCE_ASSET_ONLY.", "properties": { "assertion": { "additionalProperties": false, "properties": { "kind": { "description": "semantics pinned locally per provider profile", "enum": [ "assessment", "observation" ], "type": "string" }, "observations": { "additionalProperties": false, "description": "optional on the wire; if present it must equal the signed projection field by field (compared with structural/JCS equality, not order-sensitive JSON.stringify)", "properties": { "coverage_status": { "type": "string" }, "cross_provider_agreement_bps": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "cross_provider_deviation_bps": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "independence_status": { "type": "string" }, "max_data_age_seconds": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "participant_count": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "required_participant_count": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] } }, "required": [ "coverage_status", "participant_count", "required_participant_count", "cross_provider_deviation_bps", "cross_provider_agreement_bps", "independence_status", "max_data_age_seconds" ], "type": "object" }, "verdict": { "description": "provider-native verdict, must equal the signed verdict", "type": "string" }, "verdict_space": { "description": "the scale namespace, pinned locally per provider profile", "type": "string" } }, "required": [ "kind", "verdict", "verdict_space" ], "type": "object" }, "binding": { "additionalProperties": false, "properties": { "action_commitment": { "additionalProperties": false, "properties": { "commitment": { "description": "must equal the signed requestHash", "pattern": "^0x[0-9a-f]{64}$", "type": "string" }, "committed_fields": { "description": "the field list is pinned locally per provider profile", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "scheme": { "description": "pinned locally per provider profile (insight.canonical-pre-trade-request/v1)", "type": "string" }, "type": { "description": "pinned locally per provider profile (eip712)", "type": "string" } }, "required": [ "scheme", "type", "commitment", "committed_fields" ], "type": "object" }, "binding_mode": { "description": "the only supported v0 binding mode. subject_only and order_insensitive are reserved and rejected on the wire.", "enum": [ "exact_action" ], "type": "string" }, "scope": { "description": "v0 supports action scope only; subject scope is reserved with subject_only", "enum": [ "action" ], "type": "string" } }, "required": [ "scope", "binding_mode", "action_commitment" ], "type": "object" }, "evidence_id": { "description": "provider canonical digest as claimed by the caller; InterAI recomputes it from the verified signed assertion and a mismatch is NOT_ALLOWED.", "pattern": "^0x[0-9a-f]{64}$", "type": "string" }, "provider": { "additionalProperties": false, "properties": { "assertion_version": { "description": "must equal the locally configured profile version", "type": "string" }, "key_id": { "description": "must equal the locally pinned key id", "type": "string" }, "namespace": { "description": "resolved against the local provider adapter / trust registry", "type": "string" } }, "required": [ "namespace", "assertion_version", "key_id" ], "type": "object" }, "validity": { "additionalProperties": false, "properties": { "evaluated_at": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED. must equal signed checkedAt", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "valid_until": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED. must equal signed validUntil; expiry is enforced on the signed payload, never this projection", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] } }, "required": [ "evaluated_at", "valid_until" ], "type": "object" }, "verification": { "oneOf": [ { "additionalProperties": false, "properties": { "attestation_ref": { "description": "resolved through the locally configured adapter / allowlisted origin; a URL in evidence never triggers arbitrary fetching", "type": "string" }, "mode": { "const": "reference" } }, "required": [ "mode", "attestation_ref" ], "type": "object" }, { "additionalProperties": false, "properties": { "inline_payload": { "additionalProperties": false, "description": "profile-specific closed schema for the Insight OracleSafetyCheck v2 (26-field) inline payload: required, exact types, additionalProperties:false, schemaVersion=2 and evaluationScope=SOURCE_ASSET_ONLY pinned by const. A future provider profile pins its own inline schema.", "properties": { "action": { "type": "string" }, "checkedAt": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "consensusPrice": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "coverageStatus": { "type": "string" }, "crossProviderAgreementBps": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "destinationAssetId": { "type": "string" }, "evaluatedAssetIdsHash": { "pattern": "^0x[0-9a-f]{64}$", "type": "string" }, "evaluationScope": { "const": "SOURCE_ASSET_ONLY", "description": "pinned (Alejandro 9th reply): InterAI must not widen the signed evaluationScope claim", "type": "string" }, "independenceStatus": { "type": "string" }, "manipulationRiskBps": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "maxDataAgeSeconds": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "maxDeviationBps": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "maxStablecoinDepegBps": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "participantCount": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "providerObservationsHash": { "pattern": "^0x[0-9a-f]{64}$", "type": "string" }, "reasonCodesHash": { "pattern": "^0x[0-9a-f]{64}$", "type": "string" }, "recommendedMaxPositionUsd": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "requestHash": { "pattern": "^0x[0-9a-f]{64}$", "type": "string" }, "requiredParticipantCount": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "schemaVersion": { "const": 2, "description": "pinned (Alejandro 9th reply): only schemaVersion=2 is accepted", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "sourceAssetId": { "type": "string" }, "sourceGroupCount": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "subjectChainId": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "tradeAmountUsd": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "validUntil": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "verdict": { "type": "string" } }, "required": [ "verdict", "sourceAssetId", "destinationAssetId", "subjectChainId", "action", "tradeAmountUsd", "consensusPrice", "maxDeviationBps", "manipulationRiskBps", "participantCount", "requiredParticipantCount", "coverageStatus", "independenceStatus", "sourceGroupCount", "crossProviderAgreementBps", "maxStablecoinDepegBps", "maxDataAgeSeconds", "recommendedMaxPositionUsd", "reasonCodesHash", "requestHash", "evaluationScope", "evaluatedAssetIdsHash", "providerObservationsHash", "validUntil", "checkedAt", "schemaVersion" ], "type": "object" }, "inline_signature": { "description": "provider signature over the typed payload", "type": "string" }, "mode": { "const": "inline" } }, "required": [ "mode", "inline_payload", "inline_signature" ], "type": "object" } ], "type": "object" } }, "required": [ "evidence_id", "provider", "assertion", "validity", "binding", "verification" ], "title": "external-evidence/v0 (rev6) wire item", "type": "object" }, "type": "array" }, "idempotency_key": { "description": "Stable caller-provided key for retrying the same billed verification without duplicating the economic operation. Reuse it only for the same logical request.", "maxLength": 200, "minLength": 1, "pattern": "^\\s*[A-Za-z0-9._:-]+\\s*$", "type": "string" }, "mode": { "description": "Verification mode. Use fast_heuristic for the default low-latency path or semantic_judge when a semantic model judgment is explicitly required.", "enum": [ "fast_heuristic", "semantic_judge" ], "type": "string" }, "policy": { "additionalProperties": false, "description": "Optional strictly validated caller-scoped restrictions. They may tighten the boundary but cannot weaken host or account policy.", "properties": { "allowed_action_types": { "items": { "maxLength": 128, "minLength": 1, "pattern": "\\S", "type": "string" }, "maxItems": 100, "type": "array" }, "allowed_action_types_enforced": { "type": "boolean" }, "amount_usd_limit": { "minimum": 0, "type": "number" }, "blocked_action_types": { "items": { "maxLength": 128, "minLength": 1, "pattern": "\\S", "type": "string" }, "maxItems": 100, "type": "array" }, "max_risk_level": { "enum": [ "low", "medium", "high" ], "type": "string" }, "require_human_review_above": { "maximum": 1, "minimum": 0, "type": "number" }, "require_trust_receipt": { "type": "boolean" }, "require_user_confirmation_for_irreversible": { "type": "boolean" } }, "type": "object" }, "use_case": { "description": "Stable identifier describing why the exact autonomous action is being proposed. Required together with action for the autonomous_execution contract.", "minLength": 1, "pattern": "\\S", "type": "string" } }, "required": [ "use_case", "action" ], "type": "object" }, "name": "oracle.verify_autonomous_action", "outputSchema": { "additionalProperties": true, "description": "Successful InterAI single-verification result. The unstructured content field carries the same payload serialized as JSON for backwards compatibility.", "properties": { "billed": { "additionalProperties": true, "description": "Billing metadata for this verification call.", "properties": { "cost_microusdc": { "type": "number" }, "cost_usdc": { "type": "string" }, "mode": { "type": "string" } }, "type": "object" }, "result": { "additionalProperties": true, "description": "Pre-execution decision, policy evaluation, signals, and trust-receipt evidence.", "properties": { "oracle": { "additionalProperties": true, "type": "object" }, "policy_result": { "enum": [ "allow", "review_required", "block" ], "type": "string" }, "recommended_action": { "enum": [ "allow", "review_required", "block", "accept", "review" ], "type": "string" }, "request_contract": { "type": "string" }, "risk_level": { "type": "string" }, "score": { "type": "number" }, "signals": { "additionalProperties": true, "type": "object" }, "trust_receipt": { "additionalProperties": true, "type": "object" }, "trust_receipt_id": { "type": "string" }, "trust_score": { "type": "number" } }, "type": "object" } }, "required": [ "billed", "result" ], "type": "object" } }, { "description": "Use for multiple independent legacy or autonomous verification items in one authenticated prepaid call (1 to 100). The batch may consume account balance and records one trust receipt per item; InterAI does not execute any proposed external action. Reuse idempotency_key only for the same logical batch retry. For one proposed action, use oracle.verify_autonomous_action instead.", "inputSchema": { "additionalProperties": false, "description": "Verify 1 to 100 independent items in one billed operation. Each item independently uses either the legacy or autonomous contract. The optional idempotency key applies to the batch operation as a whole.", "properties": { "idempotency_key": { "description": "Stable caller-provided key for retrying the same billed verification without duplicating the economic operation. Reuse it only for the same logical request.", "maxLength": 200, "minLength": 1, "pattern": "^\\s*[A-Za-z0-9._:-]+\\s*$", "type": "string" }, "items": { "description": "Independent verification items. Each item must contain either prompt + response or use_case + action; 1 to 100 items are accepted.", "items": { "additionalProperties": false, "description": "One independent batch item. Supply either legacy prompt + response or autonomous use_case + action; never mix the two contracts within one item.", "oneOf": [ { "description": "Legacy batch item requiring prompt and response and excluding autonomous action fields.", "not": { "anyOf": [ { "required": [ "use_case" ] }, { "required": [ "action" ] }, { "required": [ "execution_context" ] }, { "required": [ "authorization_ttl_seconds" ] }, { "required": [ "context" ] }, { "required": [ "policy" ] }, { "required": [ "external_evidence" ] } ] }, "required": [ "prompt", "response" ] }, { "description": "Autonomous batch item requiring use_case and action and excluding legacy prompt/response fields.", "not": { "anyOf": [ { "required": [ "prompt" ] }, { "required": [ "response" ] } ] }, "required": [ "use_case", "action" ] } ], "properties": { "action": { "additionalProperties": true, "description": "The proposed action. For executable pilot authorization use interai-canonical-action/v1 with host-registry tool_id, type, operation, exact arguments, and explicit side-effect semantics.", "properties": { "arguments": { "type": "object" }, "destination": { "minLength": 1, "pattern": "\\S", "type": "string" }, "external_side_effect": { "type": "boolean" }, "irreversible": { "type": "boolean" }, "operation": { "minLength": 1, "pattern": "\\S", "type": "string" }, "resource": { "minLength": 1, "pattern": "\\S", "type": "string" }, "schema": { "const": "interai-canonical-action/v1", "type": "string" }, "tool_id": { "minLength": 1, "pattern": "\\S", "type": "string" }, "type": { "minLength": 1, "pattern": "\\S", "type": "string" } }, "type": "object" }, "authorization_ttl_seconds": { "default": 60, "description": "Lifetime of a single-use execution authorization for a canonical action. Only Bearer-authenticated pilot requests receive executable authorization material.", "maximum": 300, "minimum": 1, "type": "integer" }, "context": { "additionalProperties": true, "description": "Optional runtime context surrounding the proposed action, such as environment, agent identity, counterparty, user confirmation, or other facts relevant to this decision.", "type": "object" }, "domain": { "description": "Optional domain label used to provide verification context. It does not replace the exact action, context, or policy inputs.", "minLength": 1, "pattern": "\\S", "type": "string" }, "execution_context": { "additionalProperties": false, "description": "Host-attested execution context bound to a canonical action. InterAI authenticates the account, not the truth of host-provided workspace, actor, run, or environment values.", "properties": { "actor_id": { "minLength": 1, "pattern": "\\S", "type": "string" }, "environment": { "minLength": 1, "pattern": "\\S", "type": "string" }, "run_id": { "minLength": 1, "pattern": "\\S", "type": "string" }, "schema": { "const": "interai-host-execution-context/v1", "type": "string" }, "workspace_id": { "minLength": 1, "pattern": "\\S", "type": "string" } }, "required": [ "schema", "workspace_id", "environment" ], "type": "object" }, "external_evidence": { "description": "Optional signed or verifiable external assertions. Current Stage 2 evidence is parsed, verified, bound, and recorded as non-authoritative evidence; it does not directly determine the InterAI execution decision or risk score.", "items": { "$id": "external-evidence/v0/rev6", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "description": "Closed JSON Schema for one item of the optional top-level external_evidence collection. additionalProperties:false is enforced recursively; required fields are explicit; reference and inline modes are discriminated with oneOf (now actually enforced by conformant Draft-07 validators). rev4 hardening: every uint256 semantics field accepts either a JSON number in 0..9007199254740991 or a canonical decimal-string for larger values (Alejandro 10th-reply targeted correction, completing the 9th-reply integer item); rev3 items are retained: inline_payload closed with a strict profile-specific schema (Insight OracleSafetyCheck v2, 26 fields, required, exact types, additionalProperties:false), signed schemaVersion=2 and evaluationScope=SOURCE_ASSET_ONLY pinned by const. subject_only and order_insensitive binding modes are reserved and NOT accepted on the wire in v0. rev5: the wire shape is unchanged. The bundled self-check validator now evaluates const and enum before any type-specific return, so it agrees with a conformant Draft-07 validator on the pinned schemaVersion=2 and evaluationScope=SOURCE_ASSET_ONLY.", "properties": { "assertion": { "additionalProperties": false, "properties": { "kind": { "description": "semantics pinned locally per provider profile", "enum": [ "assessment", "observation" ], "type": "string" }, "observations": { "additionalProperties": false, "description": "optional on the wire; if present it must equal the signed projection field by field (compared with structural/JCS equality, not order-sensitive JSON.stringify)", "properties": { "coverage_status": { "type": "string" }, "cross_provider_agreement_bps": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "cross_provider_deviation_bps": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "independence_status": { "type": "string" }, "max_data_age_seconds": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "participant_count": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "required_participant_count": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] } }, "required": [ "coverage_status", "participant_count", "required_participant_count", "cross_provider_deviation_bps", "cross_provider_agreement_bps", "independence_status", "max_data_age_seconds" ], "type": "object" }, "verdict": { "description": "provider-native verdict, must equal the signed verdict", "type": "string" }, "verdict_space": { "description": "the scale namespace, pinned locally per provider profile", "type": "string" } }, "required": [ "kind", "verdict", "verdict_space" ], "type": "object" }, "binding": { "additionalProperties": false, "properties": { "action_commitment": { "additionalProperties": false, "properties": { "commitment": { "description": "must equal the signed requestHash", "pattern": "^0x[0-9a-f]{64}$", "type": "string" }, "committed_fields": { "description": "the field list is pinned locally per provider profile", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "scheme": { "description": "pinned locally per provider profile (insight.canonical-pre-trade-request/v1)", "type": "string" }, "type": { "description": "pinned locally per provider profile (eip712)", "type": "string" } }, "required": [ "scheme", "type", "commitment", "committed_fields" ], "type": "object" }, "binding_mode": { "description": "the only supported v0 binding mode. subject_only and order_insensitive are reserved and rejected on the wire.", "enum": [ "exact_action" ], "type": "string" }, "scope": { "description": "v0 supports action scope only; subject scope is reserved with subject_only", "enum": [ "action" ], "type": "string" } }, "required": [ "scope", "binding_mode", "action_commitment" ], "type": "object" }, "evidence_id": { "description": "provider canonical digest as claimed by the caller; InterAI recomputes it from the verified signed assertion and a mismatch is NOT_ALLOWED.", "pattern": "^0x[0-9a-f]{64}$", "type": "string" }, "provider": { "additionalProperties": false, "properties": { "assertion_version": { "description": "must equal the locally configured profile version", "type": "string" }, "key_id": { "description": "must equal the locally pinned key id", "type": "string" }, "namespace": { "description": "resolved against the local provider adapter / trust registry", "type": "string" } }, "required": [ "namespace", "assertion_version", "key_id" ], "type": "object" }, "validity": { "additionalProperties": false, "properties": { "evaluated_at": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED. must equal signed checkedAt", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "valid_until": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED. must equal signed validUntil; expiry is enforced on the signed payload, never this projection", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] } }, "required": [ "evaluated_at", "valid_until" ], "type": "object" }, "verification": { "oneOf": [ { "additionalProperties": false, "properties": { "attestation_ref": { "description": "resolved through the locally configured adapter / allowlisted origin; a URL in evidence never triggers arbitrary fetching", "type": "string" }, "mode": { "const": "reference" } }, "required": [ "mode", "attestation_ref" ], "type": "object" }, { "additionalProperties": false, "properties": { "inline_payload": { "additionalProperties": false, "description": "profile-specific closed schema for the Insight OracleSafetyCheck v2 (26-field) inline payload: required, exact types, additionalProperties:false, schemaVersion=2 and evaluationScope=SOURCE_ASSET_ONLY pinned by const. A future provider profile pins its own inline schema.", "properties": { "action": { "type": "string" }, "checkedAt": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "consensusPrice": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "coverageStatus": { "type": "string" }, "crossProviderAgreementBps": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "destinationAssetId": { "type": "string" }, "evaluatedAssetIdsHash": { "pattern": "^0x[0-9a-f]{64}$", "type": "string" }, "evaluationScope": { "const": "SOURCE_ASSET_ONLY", "description": "pinned (Alejandro 9th reply): InterAI must not widen the signed evaluationScope claim", "type": "string" }, "independenceStatus": { "type": "string" }, "manipulationRiskBps": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "maxDataAgeSeconds": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "maxDeviationBps": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "maxStablecoinDepegBps": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "participantCount": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "providerObservationsHash": { "pattern": "^0x[0-9a-f]{64}$", "type": "string" }, "reasonCodesHash": { "pattern": "^0x[0-9a-f]{64}$", "type": "string" }, "recommendedMaxPositionUsd": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "requestHash": { "pattern": "^0x[0-9a-f]{64}$", "type": "string" }, "requiredParticipantCount": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "schemaVersion": { "const": 2, "description": "pinned (Alejandro 9th reply): only schemaVersion=2 is accepted", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "sourceAssetId": { "type": "string" }, "sourceGroupCount": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "subjectChainId": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "tradeAmountUsd": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "validUntil": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "verdict": { "type": "string" } }, "required": [ "verdict", "sourceAssetId", "destinationAssetId", "subjectChainId", "action", "tradeAmountUsd", "consensusPrice", "maxDeviationBps", "manipulationRiskBps", "participantCount", "requiredParticipantCount", "coverageStatus", "independenceStatus", "sourceGroupCount", "crossProviderAgreementBps", "maxStablecoinDepegBps", "maxDataAgeSeconds", "recommendedMaxPositionUsd", "reasonCodesHash", "requestHash", "evaluationScope", "evaluatedAssetIdsHash", "providerObservationsHash", "validUntil", "checkedAt", "schemaVersion" ], "type": "object" }, "inline_signature": { "description": "provider signature over the typed payload", "type": "string" }, "mode": { "const": "inline" } }, "required": [ "mode", "inline_payload", "inline_signature" ], "type": "object" } ], "type": "object" } }, "required": [ "evidence_id", "provider", "assertion", "validity", "binding", "verification" ], "title": "external-evidence/v0 (rev6) wire item", "type": "object" }, "type": "array" }, "policy": { "additionalProperties": false, "description": "Optional strictly validated caller-scoped restrictions. They may tighten the boundary but cannot weaken host or account policy.", "properties": { "allowed_action_types": { "items": { "maxLength": 128, "minLength": 1, "pattern": "\\S", "type": "string" }, "maxItems": 100, "type": "array" }, "allowed_action_types_enforced": { "type": "boolean" }, "amount_usd_limit": { "minimum": 0, "type": "number" }, "blocked_action_types": { "items": { "maxLength": 128, "minLength": 1, "pattern": "\\S", "type": "string" }, "maxItems": 100, "type": "array" }, "max_risk_level": { "enum": [ "low", "medium", "high" ], "type": "string" }, "require_human_review_above": { "maximum": 1, "minimum": 0, "type": "number" }, "require_trust_receipt": { "type": "boolean" }, "require_user_confirmation_for_irreversible": { "type": "boolean" } }, "type": "object" }, "prompt": { "description": "Legacy compatibility input: the original prompt whose response is being verified. Use together with response, not with autonomous action fields.", "minLength": 1, "pattern": "\\S", "type": "string" }, "response": { "description": "Legacy compatibility input: the response to evaluate against prompt. Use together with prompt, not with autonomous action fields.", "minLength": 1, "pattern": "\\S", "type": "string" }, "use_case": { "description": "Stable identifier describing why the exact autonomous action is being proposed. Required together with action for the autonomous_execution contract.", "minLength": 1, "pattern": "\\S", "type": "string" } }, "type": "object" }, "maxItems": 100, "minItems": 1, "type": "array" } }, "required": [ "items" ], "type": "object" }, "name": "oracle.verify_batch", "outputSchema": { "additionalProperties": true, "description": "Successful InterAI batch verification result. The unstructured content field carries the same payload serialized as JSON for backwards compatibility.", "properties": { "batch_size": { "description": "Number of independently evaluated batch items.", "maximum": 100, "minimum": 1, "type": "integer" }, "billed": { "additionalProperties": true, "description": "Billing metadata for the batch operation.", "type": "object" }, "oracle": { "additionalProperties": true, "description": "InterAI engine and signing metadata.", "type": "object" }, "results": { "description": "Independent verification decisions in the same order as the submitted items.", "items": { "additionalProperties": true, "type": "object" }, "type": "array" }, "summary": { "additionalProperties": true, "description": "Aggregate batch summary.", "type": "object" } }, "required": [ "billed", "batch_size", "results", "summary", "oracle" ], "type": "object" } }, { "description": "Legacy compatibility entry point for existing clients. This authenticated prepaid verification may consume account balance and records a trust receipt, but it does not execute any proposed external action. Supply exactly one contract: prompt + response, or use_case + action; never mix them. Reuse idempotency_key only for the same logical retry. For new action preflight use oracle.verify_autonomous_action; use oracle.verify_batch for multiple items.", "inputSchema": { "additionalProperties": false, "description": "Compatibility schema supporting exactly one of two existing contracts: legacy prompt + response, or autonomous use_case + action. Do not mix legacy prompt/response fields with autonomous action fields in the same request.", "oneOf": [ { "description": "Legacy verification contract. Requires both prompt and response and excludes autonomous action, context, policy, and external evidence fields.", "not": { "anyOf": [ { "required": [ "use_case" ] }, { "required": [ "action" ] }, { "required": [ "execution_context" ] }, { "required": [ "authorization_ttl_seconds" ] }, { "required": [ "context" ] }, { "required": [ "policy" ] }, { "required": [ "external_evidence" ] } ] }, "required": [ "prompt", "response" ] }, { "description": "Autonomous execution compatibility contract. Requires use_case and action and excludes legacy prompt/response fields. New integrations should prefer oracle.verify_autonomous_action.", "not": { "anyOf": [ { "required": [ "prompt" ] }, { "required": [ "response" ] } ] }, "required": [ "use_case", "action" ] } ], "properties": { "action": { "additionalProperties": true, "description": "The proposed action. For executable pilot authorization use interai-canonical-action/v1 with host-registry tool_id, type, operation, exact arguments, and explicit side-effect semantics.", "properties": { "arguments": { "type": "object" }, "destination": { "minLength": 1, "pattern": "\\S", "type": "string" }, "external_side_effect": { "type": "boolean" }, "irreversible": { "type": "boolean" }, "operation": { "minLength": 1, "pattern": "\\S", "type": "string" }, "resource": { "minLength": 1, "pattern": "\\S", "type": "string" }, "schema": { "const": "interai-canonical-action/v1", "type": "string" }, "tool_id": { "minLength": 1, "pattern": "\\S", "type": "string" }, "type": { "minLength": 1, "pattern": "\\S", "type": "string" } }, "type": "object" }, "authorization_ttl_seconds": { "default": 60, "description": "Lifetime of a single-use execution authorization for a canonical action. Only Bearer-authenticated pilot requests receive executable authorization material.", "maximum": 300, "minimum": 1, "type": "integer" }, "context": { "additionalProperties": true, "description": "Optional runtime context surrounding the proposed action, such as environment, agent identity, counterparty, user confirmation, or other facts relevant to this decision.", "type": "object" }, "domain": { "description": "Optional domain label used to provide verification context. It does not replace the exact action, context, or policy inputs.", "minLength": 1, "pattern": "\\S", "type": "string" }, "execution_context": { "additionalProperties": false, "description": "Host-attested execution context bound to a canonical action. InterAI authenticates the account, not the truth of host-provided workspace, actor, run, or environment values.", "properties": { "actor_id": { "minLength": 1, "pattern": "\\S", "type": "string" }, "environment": { "minLength": 1, "pattern": "\\S", "type": "string" }, "run_id": { "minLength": 1, "pattern": "\\S", "type": "string" }, "schema": { "const": "interai-host-execution-context/v1", "type": "string" }, "workspace_id": { "minLength": 1, "pattern": "\\S", "type": "string" } }, "required": [ "schema", "workspace_id", "environment" ], "type": "object" }, "external_evidence": { "description": "Optional signed or verifiable external assertions. Current Stage 2 evidence is parsed, verified, bound, and recorded as non-authoritative evidence; it does not directly determine the InterAI execution decision or risk score.", "items": { "$id": "external-evidence/v0/rev6", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "description": "Closed JSON Schema for one item of the optional top-level external_evidence collection. additionalProperties:false is enforced recursively; required fields are explicit; reference and inline modes are discriminated with oneOf (now actually enforced by conformant Draft-07 validators). rev4 hardening: every uint256 semantics field accepts either a JSON number in 0..9007199254740991 or a canonical decimal-string for larger values (Alejandro 10th-reply targeted correction, completing the 9th-reply integer item); rev3 items are retained: inline_payload closed with a strict profile-specific schema (Insight OracleSafetyCheck v2, 26 fields, required, exact types, additionalProperties:false), signed schemaVersion=2 and evaluationScope=SOURCE_ASSET_ONLY pinned by const. subject_only and order_insensitive binding modes are reserved and NOT accepted on the wire in v0. rev5: the wire shape is unchanged. The bundled self-check validator now evaluates const and enum before any type-specific return, so it agrees with a conformant Draft-07 validator on the pinned schemaVersion=2 and evaluationScope=SOURCE_ASSET_ONLY.", "properties": { "assertion": { "additionalProperties": false, "properties": { "kind": { "description": "semantics pinned locally per provider profile", "enum": [ "assessment", "observation" ], "type": "string" }, "observations": { "additionalProperties": false, "description": "optional on the wire; if present it must equal the signed projection field by field (compared with structural/JCS equality, not order-sensitive JSON.stringify)", "properties": { "coverage_status": { "type": "string" }, "cross_provider_agreement_bps": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "cross_provider_deviation_bps": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "independence_status": { "type": "string" }, "max_data_age_seconds": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "participant_count": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "required_participant_count": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] } }, "required": [ "coverage_status", "participant_count", "required_participant_count", "cross_provider_deviation_bps", "cross_provider_agreement_bps", "independence_status", "max_data_age_seconds" ], "type": "object" }, "verdict": { "description": "provider-native verdict, must equal the signed verdict", "type": "string" }, "verdict_space": { "description": "the scale namespace, pinned locally per provider profile", "type": "string" } }, "required": [ "kind", "verdict", "verdict_space" ], "type": "object" }, "binding": { "additionalProperties": false, "properties": { "action_commitment": { "additionalProperties": false, "properties": { "commitment": { "description": "must equal the signed requestHash", "pattern": "^0x[0-9a-f]{64}$", "type": "string" }, "committed_fields": { "description": "the field list is pinned locally per provider profile", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "scheme": { "description": "pinned locally per provider profile (insight.canonical-pre-trade-request/v1)", "type": "string" }, "type": { "description": "pinned locally per provider profile (eip712)", "type": "string" } }, "required": [ "scheme", "type", "commitment", "committed_fields" ], "type": "object" }, "binding_mode": { "description": "the only supported v0 binding mode. subject_only and order_insensitive are reserved and rejected on the wire.", "enum": [ "exact_action" ], "type": "string" }, "scope": { "description": "v0 supports action scope only; subject scope is reserved with subject_only", "enum": [ "action" ], "type": "string" } }, "required": [ "scope", "binding_mode", "action_commitment" ], "type": "object" }, "evidence_id": { "description": "provider canonical digest as claimed by the caller; InterAI recomputes it from the verified signed assertion and a mismatch is NOT_ALLOWED.", "pattern": "^0x[0-9a-f]{64}$", "type": "string" }, "provider": { "additionalProperties": false, "properties": { "assertion_version": { "description": "must equal the locally configured profile version", "type": "string" }, "key_id": { "description": "must equal the locally pinned key id", "type": "string" }, "namespace": { "description": "resolved against the local provider adapter / trust registry", "type": "string" } }, "required": [ "namespace", "assertion_version", "key_id" ], "type": "object" }, "validity": { "additionalProperties": false, "properties": { "evaluated_at": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED. must equal signed checkedAt", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "valid_until": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED. must equal signed validUntil; expiry is enforced on the signed payload, never this projection", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] } }, "required": [ "evaluated_at", "valid_until" ], "type": "object" }, "verification": { "oneOf": [ { "additionalProperties": false, "properties": { "attestation_ref": { "description": "resolved through the locally configured adapter / allowlisted origin; a URL in evidence never triggers arbitrary fetching", "type": "string" }, "mode": { "const": "reference" } }, "required": [ "mode", "attestation_ref" ], "type": "object" }, { "additionalProperties": false, "properties": { "inline_payload": { "additionalProperties": false, "description": "profile-specific closed schema for the Insight OracleSafetyCheck v2 (26-field) inline payload: required, exact types, additionalProperties:false, schemaVersion=2 and evaluationScope=SOURCE_ASSET_ONLY pinned by const. A future provider profile pins its own inline schema.", "properties": { "action": { "type": "string" }, "checkedAt": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "consensusPrice": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "coverageStatus": { "type": "string" }, "crossProviderAgreementBps": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "destinationAssetId": { "type": "string" }, "evaluatedAssetIdsHash": { "pattern": "^0x[0-9a-f]{64}$", "type": "string" }, "evaluationScope": { "const": "SOURCE_ASSET_ONLY", "description": "pinned (Alejandro 9th reply): InterAI must not widen the signed evaluationScope claim", "type": "string" }, "independenceStatus": { "type": "string" }, "manipulationRiskBps": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "maxDataAgeSeconds": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "maxDeviationBps": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "maxStablecoinDepegBps": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "participantCount": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "providerObservationsHash": { "pattern": "^0x[0-9a-f]{64}$", "type": "string" }, "reasonCodesHash": { "pattern": "^0x[0-9a-f]{64}$", "type": "string" }, "recommendedMaxPositionUsd": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "requestHash": { "pattern": "^0x[0-9a-f]{64}$", "type": "string" }, "requiredParticipantCount": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "schemaVersion": { "const": 2, "description": "pinned (Alejandro 9th reply): only schemaVersion=2 is accepted", "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "sourceAssetId": { "type": "string" }, "sourceGroupCount": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "subjectChainId": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "tradeAmountUsd": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "validUntil": { "description": "uint256 semantics: safe integers use JSON number 0..9007199254740991; larger values use canonical decimal-string (no leading zeros, no sign, no exponent, no fraction). Canonical form is enforced: a string whose value fits in the safe range is NOT_ALLOWED.", "oneOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "description": "canonical decimal-string: only for values > 9007199254740991", "pattern": "^(0|[1-9][0-9]*)$", "type": "string" } ] }, "verdict": { "type": "string" } }, "required": [ "verdict", "sourceAssetId", "destinationAssetId", "subjectChainId", "action", "tradeAmountUsd", "consensusPrice", "maxDeviationBps", "manipulationRiskBps", "participantCount", "requiredParticipantCount", "coverageStatus", "independenceStatus", "sourceGroupCount", "crossProviderAgreementBps", "maxStablecoinDepegBps", "maxDataAgeSeconds", "recommendedMaxPositionUsd", "reasonCodesHash", "requestHash", "evaluationScope", "evaluatedAssetIdsHash", "providerObservationsHash", "validUntil", "checkedAt", "schemaVersion" ], "type": "object" }, "inline_signature": { "description": "provider signature over the typed payload", "type": "string" }, "mode": { "const": "inline" } }, "required": [ "mode", "inline_payload", "inline_signature" ], "type": "object" } ], "type": "object" } }, "required": [ "evidence_id", "provider", "assertion", "validity", "binding", "verification" ], "title": "external-evidence/v0 (rev6) wire item", "type": "object" }, "type": "array" }, "idempotency_key": { "description": "Stable caller-provided key for retrying the same billed verification without duplicating the economic operation. Reuse it only for the same logical request.", "maxLength": 200, "minLength": 1, "pattern": "^\\s*[A-Za-z0-9._:-]+\\s*$", "type": "string" }, "mode": { "description": "Verification mode. Use fast_heuristic for the default low-latency path or semantic_judge when a semantic model judgment is explicitly required.", "enum": [ "fast_heuristic", "semantic_judge" ], "type": "string" }, "policy": { "additionalProperties": false, "description": "Optional strictly validated caller-scoped restrictions. They may tighten the boundary but cannot weaken host or account policy.", "properties": { "allowed_action_types": { "items": { "maxLength": 128, "minLength": 1, "pattern": "\\S", "type": "string" }, "maxItems": 100, "type": "array" }, "allowed_action_types_enforced": { "type": "boolean" }, "amount_usd_limit": { "minimum": 0, "type": "number" }, "blocked_action_types": { "items": { "maxLength": 128, "minLength": 1, "pattern": "\\S", "type": "string" }, "maxItems": 100, "type": "array" }, "max_risk_level": { "enum": [ "low", "medium", "high" ], "type": "string" }, "require_human_review_above": { "maximum": 1, "minimum": 0, "type": "number" }, "require_trust_receipt": { "type": "boolean" }, "require_user_confirmation_for_irreversible": { "type": "boolean" } }, "type": "object" }, "prompt": { "description": "Legacy compatibility input: the original prompt whose response is being verified. Use together with response, not with autonomous action fields.", "minLength": 1, "pattern": "\\S", "type": "string" }, "response": { "description": "Legacy compatibility input: the response to evaluate against prompt. Use together with prompt, not with autonomous action fields.", "minLength": 1, "pattern": "\\S", "type": "string" }, "use_case": { "description": "Stable identifier describing why the exact autonomous action is being proposed. Required together with action for the autonomous_execution contract.", "minLength": 1, "pattern": "\\S", "type": "string" } }, "type": "object" }, "name": "oracle.verify_response", "outputSchema": { "additionalProperties": true, "description": "Successful InterAI single-verification result. The unstructured content field carries the same payload serialized as JSON for backwards compatibility.", "properties": { "billed": { "additionalProperties": true, "description": "Billing metadata for this verification call.", "properties": { "cost_microusdc": { "type": "number" }, "cost_usdc": { "type": "string" }, "mode": { "type": "string" } }, "type": "object" }, "result": { "additionalProperties": true, "description": "Pre-execution decision, policy evaluation, signals, and trust-receipt evidence.", "properties": { "oracle": { "additionalProperties": true, "type": "object" }, "policy_result": { "enum": [ "allow", "review_required", "block" ], "type": "string" }, "recommended_action": { "enum": [ "allow", "review_required", "block", "accept", "review" ], "type": "string" }, "request_contract": { "type": "string" }, "risk_level": { "type": "string" }, "score": { "type": "number" }, "signals": { "additionalProperties": true, "type": "object" }, "trust_receipt": { "additionalProperties": true, "type": "object" }, "trust_receipt_id": { "type": "string" }, "trust_score": { "type": "number" } }, "type": "object" } }, "required": [ "billed", "result" ], "type": "object" } }, { "description": "Read-only service-side validation of a trust receipt that already exists. Supply signature plus either receipt_id for the canonical server-stored receipt or a caller-supplied receipt object. Returns valid true or false when signing is enabled. Current signatures use HMAC-SHA256 and are service-verifiable by InterAI, not independent offline public-key proofs. It does not evaluate risk or create a receipt; use oracle.get_trust_receipt to retrieve receipt metadata.", "inputSchema": { "additionalProperties": false, "anyOf": [ { "description": "Validate using a caller-supplied receipt object.", "required": [ "receipt" ] }, { "description": "Validate using the canonical server-stored receipt resolved from receipt_id.", "required": [ "receipt_id" ] } ], "description": "Validate an existing InterAI receipt signature. Provide signature and either receipt_id or receipt; optional signed_payload and signature_alg can further bind the supplied evidence.", "properties": { "receipt": { "description": "Optional caller-supplied receipt object, typically evidence received from another agent or system. Either receipt or receipt_id is required.", "type": "object" }, "receipt_id": { "description": "Optional ID of an existing InterAI trust receipt. InterAI resolves the canonical server-stored record before validating the supplied signature. Either receipt_id or receipt is required.", "type": "string" }, "signature": { "description": "HMAC-SHA256 signature to validate against the referenced InterAI receipt. Required.", "type": "string" }, "signature_alg": { "description": "Optional signature algorithm declaration. The current supported value is hmac-sha256.", "enum": [ "hmac-sha256" ], "type": "string" }, "signed_payload": { "description": "Optional exact serialized payload that was signed. Supply it when validating externally transported receipt evidence that includes the original signed payload.", "type": "string" } }, "required": [ "signature" ], "type": "object" }, "name": "oracle.verify_trust_receipt_signature", "outputSchema": { "additionalProperties": false, "description": "Service-side signature-validation result for an existing InterAI trust receipt.", "properties": { "signature_alg": { "description": "Signature algorithm used by the current InterAI receipt verifier.", "enum": [ "hmac-sha256" ], "type": "string" }, "valid": { "description": "Whether the supplied signature matches the referenced stored receipt.", "type": "boolean" } }, "required": [ "valid", "signature_alg" ], "type": "object" } } ] }
Verify it yourselfcurl -s https://api.teppi.xyz/v1/evidence/sha256:633183b9c801920a9dfc58df4c67e34056f6604cd848e1b7ab7dd1d0139a974b | sha256sum