{"openapi":"3.1.0","info":{"title":"Agent Credit Bureau","version":"0.2.0","description":"Economic history and exposure evidence for AI agents. No loan recommendations or global score."},"servers":[{"url":"https://agentcreditdata.com"}],"paths":{"/v0/agent/{id}":{"get":{"operationId":"get_agent_identity","responses":{"200":{"description":"Evidence response; insufficiency is a valid result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentResponse"}}}},"400":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"404":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"409":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"413":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"422":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"429":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"503":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"504":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}}},"parameters":[{"in":"query","name":"mode","schema":{"type":"string","enum":["cached","fresh"],"default":"cached"}},{"in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":200}}]}},"/v0/agent/{id}/evidence":{"get":{"operationId":"get_agent_evidence","responses":{"200":{"description":"Evidence response; insufficiency is a valid result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceResponse"}}}},"402":{"description":"x402 v2 PaymentRequired; also base64 encoded in PAYMENT-REQUIRED"},"400":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"404":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"409":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"413":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"422":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"429":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"503":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"504":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}}},"parameters":[{"in":"query","name":"mode","schema":{"type":"string","enum":["cached","fresh"],"default":"cached"}},{"in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":200}}],"security":[{"x402":[]}],"x-pricing":{"product":"credit_report","version":"pilot-2026-09-v1","amount_atomic":"50000","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","network":"eip155:8453"}}},"/v0/agent/{id}/obligations":{"get":{"operationId":"get_agent_obligations","responses":{"200":{"description":"Evidence response; insufficiency is a valid result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObligationsResponse"}}}},"402":{"description":"x402 v2 PaymentRequired; also base64 encoded in PAYMENT-REQUIRED"},"400":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"404":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"409":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"413":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"422":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"429":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"503":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"504":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}}},"parameters":[{"in":"query","name":"mode","schema":{"type":"string","enum":["cached","fresh"],"default":"cached"}},{"in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":200}}],"security":[{"x402":[]}],"x-pricing":{"product":"credit_report","version":"pilot-2026-09-v1","amount_atomic":"50000","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","network":"eip155:8453"}}},"/v0/agent/{id}/credit-report":{"get":{"operationId":"get_agent_credit_report","responses":{"200":{"description":"Evidence response; insufficiency is a valid result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportSnapshot"}}}},"402":{"description":"x402 v2 PaymentRequired; also base64 encoded in PAYMENT-REQUIRED"},"400":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"404":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"409":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"413":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"422":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"429":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"503":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"504":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}}},"parameters":[{"in":"query","name":"mode","schema":{"type":"string","enum":["cached","fresh"],"default":"cached"}},{"in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":200}}],"security":[{"x402":[]}],"x-pricing":{"product":"credit_report","version":"pilot-2026-09-v1","amount_atomic":"50000","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","network":"eip155:8453"}}},"/v0/assess":{"post":{"operationId":"assess_agent_credit_exposure","responses":{"200":{"description":"Evidence response; insufficiency is a valid result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssessResponse"}}}},"402":{"description":"x402 v2 PaymentRequired; also base64 encoded in PAYMENT-REQUIRED"},"400":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"404":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"409":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"413":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"422":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"429":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"503":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}},"504":{"description":"Deterministic pilot error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PilotError"}}}}},"parameters":[{"in":"query","name":"mode","schema":{"type":"string","enum":["cached","fresh"],"default":"cached"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssessRequest"}}}},"security":[{"x402":[]}],"x-pricing":{"product":"assess","version":"pilot-2026-09-v1","amount_atomic":"100000","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","network":"eip155:8453"}}},"/v0/verify":{"post":{"operationId":"verify_not_implemented","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyRequest"}}}},"responses":{"501":{"description":"Public writes disabled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyResponse"}}}}}}}},"components":{"schemas":{"Asset":{"type":"object","additionalProperties":false,"required":["id","symbol","decimals"],"properties":{"id":{"type":"string","minLength":1},"symbol":{"type":"string","minLength":1},"decimals":{"type":"integer","minimum":0}}},"Identifier":{"type":"object","additionalProperties":false,"required":["kind","value"],"properties":{"kind":{"enum":["WALLET","ERC8004","A2A","MCP","DOMAIN","ENS","DID","ORGANIZATION"]},"value":{"type":"string","minLength":1}}},"IdentityLink":{"type":"object","additionalProperties":false,"required":["from_identifier","to_identifier","predicate","valid_from","valid_until","evidence_refs","limitation"],"properties":{"from_identifier":{"type":"string","minLength":1},"to_identifier":{"type":"string","minLength":1},"predicate":{"type":"string","minLength":1},"valid_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"valid_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"evidence_refs":{"type":"array","items":{"type":"string","minLength":1}},"limitation":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}}},"ControlEpoch":{"type":"object","additionalProperties":false,"required":["id","starts_at","ends_at","continuity","evidence_refs"],"properties":{"id":{"type":"string","minLength":1},"starts_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}]},"continuity":{"enum":["EVIDENCED","UNKNOWN","BROKEN"]},"evidence_refs":{"type":"array","items":{"type":"string","minLength":1}}}},"Subject":{"type":"object","additionalProperties":false,"required":["id","kind","identifiers","identity_links","control_epochs"],"properties":{"id":{"type":"string","minLength":1},"kind":{"enum":["REGISTERED_AGENT","ECONOMIC_WALLET_AGENT_STATUS_UNKNOWN","ORGANIZATION"]},"identifiers":{"type":"array","items":{"$ref":"#/components/schemas/Identifier"}},"identity_links":{"type":"array","items":{"$ref":"#/components/schemas/IdentityLink"}},"control_epochs":{"type":"array","items":{"$ref":"#/components/schemas/ControlEpoch"}}}},"EvidenceObservation":{"type":"object","additionalProperties":false,"required":["id","source_url","retrieved_at","raw_path","sha256","request_metadata_path","basis","finality"],"properties":{"id":{"type":"string","minLength":1},"source_url":{"type":"string","minLength":1},"retrieved_at":{"type":"string","format":"date-time"},"raw_path":{"type":"string","minLength":1},"sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"},"request_metadata_path":{"type":"string","minLength":1},"basis":{"enum":["ISSUER_ASSERTION","RPC_OBSERVATION","INDEXER_OBSERVATION"]},"finality":{"enum":["NOT_INDEPENDENTLY_VERIFIED"]}}},"Coverage":{"type":"object","additionalProperties":false,"required":["source","scope","status","retrieved_at","event_start","event_end","observed_records","reported_total_records","lifecycle_measurable","limitations","evidence_refs"],"properties":{"source":{"type":"string","minLength":1},"scope":{"type":"string","minLength":1},"status":{"enum":["COMPLETE_FOR_SCOPE","PARTIAL","ERROR"]},"retrieved_at":{"type":"string","format":"date-time"},"event_start":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"event_end":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"observed_records":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"reported_total_records":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"lifecycle_measurable":{"type":"boolean"},"limitations":{"type":"array","items":{"type":"string","minLength":1}},"evidence_refs":{"type":"array","items":{"type":"string","minLength":1}}}},"RelationshipAssertion":{"type":"object","additionalProperties":false,"required":["classification","counterparty","controller_id","basis","evidence_refs"],"properties":{"classification":{"enum":["INDEPENDENT","RELATED","TEST","UNKNOWN"]},"counterparty":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"controller_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"basis":{"type":"string","minLength":1},"evidence_refs":{"type":"array","items":{"type":"string","minLength":1}}}},"PrincipalInterval":{"type":"object","additionalProperties":false,"required":["start","end","outstanding"],"properties":{"start":{"type":"integer","minimum":0},"end":{"type":"integer","minimum":0},"outstanding":{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100}}},"EconomicEvent":{"type":"object","additionalProperties":false,"required":["id","obligation_id","kind","timestamp","asset","amount","principal_applied","actor","counterparty","transaction_hash","log_index","block_hash","basis","evidence_refs"],"properties":{"id":{"type":"string","minLength":1},"obligation_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"kind":{"enum":["TRANSFER_OBSERVED","BORROW","REPAY","SUPPLY_COLLATERAL","LIQUIDATION","PRINCIPAL_REPAYMENT_APPLIED","REFINANCE","DEFAULT_DECLARED"]},"timestamp":{"type":"integer","minimum":0},"asset":{"anyOf":[{"$ref":"#/components/schemas/Asset"},{"type":"null"}]},"amount":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"principal_applied":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"actor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"counterparty":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"transaction_hash":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"log_index":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"block_hash":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"basis":{"type":"string","minLength":1},"evidence_refs":{"type":"array","items":{"type":"string","minLength":1}}}},"Obligation":{"type":"object","additionalProperties":false,"required":["id","economic_exposure_id","grouping_basis","subject_id","asset","obligation_type","status","original_principal","outstanding_principal","started_at","ended_at","due_at","due_semantics","late","secured","guarantee","repayment_actor","closure_funding","terms_basis","exposure_basis","intervals","relationship","control_epoch_id","evidence_refs","unknowns"],"properties":{"id":{"type":"string","minLength":1},"economic_exposure_id":{"type":"string","minLength":1},"grouping_basis":{"type":"string","minLength":1},"subject_id":{"type":"string","minLength":1},"asset":{"$ref":"#/components/schemas/Asset"},"obligation_type":{"enum":["loan","trade_credit","protocol_position"]},"status":{"enum":["OPEN","SATISFIED","ISSUER_REPORTED_SATISFIED","LIQUIDATED","REFINANCED","DEFAULTED","UNKNOWN"]},"original_principal":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"outstanding_principal":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"started_at":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"ended_at":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"due_at":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"due_semantics":{"enum":["KNOWN","UNKNOWN","NOT_APPLICABLE"]},"late":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"secured":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"guarantee":{"enum":["PRESENT","ABSENT","UNKNOWN"]},"repayment_actor":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"closure_funding":{"enum":["BORROWER_FUNDS","BORROWER_WALLET_SOURCE_UNKNOWN","GUARANTOR","LIQUIDATION","REFINANCING","UNKNOWN"]},"terms_basis":{"enum":["AUTHENTICATED_TERMS","ISSUER_ASSERTION","PROTOCOL_RULES","UNKNOWN"]},"exposure_basis":{"enum":["PRINCIPAL_LEDGER","ISSUER_LIFECYCLE_TRANSFER_CORROBORATED","UNKNOWN"]},"intervals":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/PrincipalInterval"}},{"type":"null"}]},"relationship":{"$ref":"#/components/schemas/RelationshipAssertion"},"control_epoch_id":{"type":"string","minLength":1},"evidence_refs":{"type":"array","items":{"type":"string","minLength":1}},"unknowns":{"type":"array","items":{"type":"string","minLength":1}}}},"ProposedExposure":{"type":"object","additionalProperties":false,"required":["asset","principal","duration_seconds","secured","obligation_type"],"properties":{"asset":{"$ref":"#/components/schemas/Asset"},"principal":{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},"duration_seconds":{"type":"integer","minimum":1},"secured":{"type":"boolean"},"obligation_type":{"enum":["loan","trade_credit","protocol_position"]}}},"HistoryQualityFlag":{"type":"object","additionalProperties":false,"required":["code","basis","parameters","evidence_refs"],"properties":{"code":{"enum":["SYNTHETIC_ACTIVITY_PATTERN","HISTORY_INFLATION_DETECTED","MICRO_OBLIGATION_CONCENTRATION","RELATED_COUNTERPARTY_CONCENTRATION","ABNORMALLY_SHORT_DURATION","LOW_ECONOMIC_EXPOSURE","INSUFFICIENT_COVERAGE","INSUFFICIENT_COMPARABLE_HISTORY"]},"basis":{"type":"string","minLength":1},"parameters":{"type":"object","additionalProperties":{"type":"string"}},"evidence_refs":{"type":"array","items":{"type":"string","minLength":1}}}},"Conflict":{"type":"object","additionalProperties":false,"required":["field","assertions","resolution","evidence_refs"],"properties":{"field":{"type":"string","minLength":1},"assertions":{"type":"array","items":{"type":"string","minLength":1}},"resolution":{"type":"string","minLength":1},"evidence_refs":{"type":"array","items":{"type":"string","minLength":1}}}},"DurationDistribution":{"type":"object","additionalProperties":false,"required":["minimum_seconds","median_seconds","maximum_seconds"],"properties":{"minimum_seconds":{"type":"integer","minimum":0},"median_seconds":{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},"maximum_seconds":{"type":"integer","minimum":0}}},"Diagnostics":{"type":"object","additionalProperties":false,"required":["asset","universe","raw_obligation_count","measured_obligation_count","economic_episode_count","economically_weighted_obligation_count","reference_exposure_asset_seconds","principal_volume","median_principal","largest_satisfied_principal","duration_distribution","cumulative_exposure_asset_seconds","cumulative_exposure_asset_days","exposure_by_relationship_asset_seconds","related_party_count_share","unknown_relationship_count_share","counterparty_wallet_hhi","counterparty_controller_hhi","independent_controller_count","repeated_amount_modal_share","repeated_duration_modal_share","repeated_start_gap_modal_share","micro_obligation_count_share","history_inflation_ratio","flags","unknowns"],"properties":{"asset":{"$ref":"#/components/schemas/Asset"},"universe":{"type":"string","minLength":1},"raw_obligation_count":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"measured_obligation_count":{"type":"integer","minimum":0},"economic_episode_count":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"economically_weighted_obligation_count":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"reference_exposure_asset_seconds":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"principal_volume":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"median_principal":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"largest_satisfied_principal":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"duration_distribution":{"anyOf":[{"$ref":"#/components/schemas/DurationDistribution"},{"type":"null"}]},"cumulative_exposure_asset_seconds":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"cumulative_exposure_asset_days":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"exposure_by_relationship_asset_seconds":{"anyOf":[{"type":"object","additionalProperties":{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100}},{"type":"null"}]},"related_party_count_share":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"unknown_relationship_count_share":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"counterparty_wallet_hhi":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"counterparty_controller_hhi":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"independent_controller_count":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"repeated_amount_modal_share":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"repeated_duration_modal_share":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"repeated_start_gap_modal_share":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"micro_obligation_count_share":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"history_inflation_ratio":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"flags":{"type":"array","items":{"$ref":"#/components/schemas/HistoryQualityFlag"}},"unknowns":{"type":"array","items":{"type":"string","minLength":1}}}},"ExposureComparison":{"type":"object","additionalProperties":false,"required":["state","scope","proposed_exposure_asset_seconds","largest_satisfied_comparable_principal","comparable_obligation_ids","partially_comparable_obligation_ids","reasons","rules_version","parameters"],"properties":{"state":{"enum":["COMPARABLE_HISTORY_OBSERVED","PARTIALLY_COMPARABLE_HISTORY","INSUFFICIENT_COMPARABLE_HISTORY","INSUFFICIENT_COVERAGE"]},"scope":{"type":"string","minLength":1},"proposed_exposure_asset_seconds":{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},"largest_satisfied_comparable_principal":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","maxLength":100},{"type":"null"}]},"comparable_obligation_ids":{"type":"array","items":{"type":"string","minLength":1}},"partially_comparable_obligation_ids":{"type":"array","items":{"type":"string","minLength":1}},"reasons":{"type":"array","items":{"type":"string","minLength":1}},"rules_version":{"type":"string","minLength":1},"parameters":{"type":"object","additionalProperties":{"type":"string"}}}},"ObservedCounts":{"type":"object","additionalProperties":false,"required":["open","completed","late","defaulted","liquidated","scope"],"properties":{"open":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"completed":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"late":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"defaulted":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"liquidated":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"scope":{"type":"string","minLength":1}}},"ReportSnapshot":{"type":"object","additionalProperties":false,"required":["schema_version","methodology_version","snapshot_id","supersedes","as_of","subject","coverage","observed_counts","obligations","events","diagnostics","history_quality_flags","conflicting_evidence","unknowns","evidence"],"properties":{"schema_version":{"enum":["0.1.0"]},"methodology_version":{"type":"string","minLength":1},"snapshot_id":{"type":"string","minLength":1},"supersedes":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"as_of":{"type":"string","format":"date-time"},"subject":{"$ref":"#/components/schemas/Subject"},"coverage":{"type":"array","items":{"$ref":"#/components/schemas/Coverage"}},"observed_counts":{"$ref":"#/components/schemas/ObservedCounts"},"obligations":{"type":"array","items":{"$ref":"#/components/schemas/Obligation"}},"events":{"type":"array","items":{"$ref":"#/components/schemas/EconomicEvent"}},"diagnostics":{"type":"array","items":{"$ref":"#/components/schemas/Diagnostics"}},"history_quality_flags":{"type":"array","items":{"$ref":"#/components/schemas/HistoryQualityFlag"}},"conflicting_evidence":{"type":"array","items":{"$ref":"#/components/schemas/Conflict"}},"unknowns":{"type":"array","items":{"type":"string","minLength":1}},"evidence":{"type":"array","items":{"$ref":"#/components/schemas/EvidenceObservation"}}}},"AssessRequest":{"type":"object","additionalProperties":false,"required":["subject","proposed_exposure"],"properties":{"subject":{"type":"string","minLength":1},"proposed_exposure":{"$ref":"#/components/schemas/ProposedExposure"}}},"AssessResponse":{"type":"object","additionalProperties":false,"required":["report","proposed_exposure","comparison"],"properties":{"report":{"$ref":"#/components/schemas/ReportSnapshot"},"proposed_exposure":{"$ref":"#/components/schemas/ProposedExposure"},"comparison":{"$ref":"#/components/schemas/ExposureComparison"}}},"AgentRequest":{"type":"object","additionalProperties":false,"required":["id"],"properties":{"id":{"type":"string","minLength":1}}},"AgentResponse":{"type":"object","additionalProperties":false,"required":["subject","snapshot_id","as_of","evidence_refs"],"properties":{"subject":{"$ref":"#/components/schemas/Subject"},"snapshot_id":{"type":"string","minLength":1},"as_of":{"type":"string","format":"date-time"},"evidence_refs":{"type":"array","items":{"type":"string","minLength":1}}}},"EvidenceResponse":{"type":"object","additionalProperties":false,"required":["subject_id","snapshot_id","as_of","coverage","evidence"],"properties":{"subject_id":{"type":"string","minLength":1},"snapshot_id":{"type":"string","minLength":1},"as_of":{"type":"string","format":"date-time"},"coverage":{"type":"array","items":{"$ref":"#/components/schemas/Coverage"}},"evidence":{"type":"array","items":{"$ref":"#/components/schemas/EvidenceObservation"}}}},"ObligationsResponse":{"type":"object","additionalProperties":false,"required":["subject_id","snapshot_id","as_of","coverage","obligations","events"],"properties":{"subject_id":{"type":"string","minLength":1},"snapshot_id":{"type":"string","minLength":1},"as_of":{"type":"string","format":"date-time"},"coverage":{"type":"array","items":{"$ref":"#/components/schemas/Coverage"}},"obligations":{"type":"array","items":{"$ref":"#/components/schemas/Obligation"}},"events":{"type":"array","items":{"$ref":"#/components/schemas/EconomicEvent"}}}},"VerifyRequest":{"type":"object","additionalProperties":false,"required":["subject","claim_type","evidence_refs","claim","replaces_observation_id"],"properties":{"subject":{"type":"string","minLength":1},"claim_type":{"enum":["IDENTITY_LINK","OBLIGATION","RELATIONSHIP","CORRECTION"]},"evidence_refs":{"type":"array","items":{"type":"string","minLength":1},"minItems":1},"claim":{"type":"string","minLength":1},"replaces_observation_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}}},"VerifyResponse":{"type":"object","additionalProperties":false,"required":["status","message"],"properties":{"status":{"enum":["NOT_IMPLEMENTED"]},"message":{"type":"string","minLength":1}}},"ErrorResponse":{"type":"object","additionalProperties":false,"required":["code","message"],"properties":{"code":{"enum":["INVALID_REQUEST","UNKNOWN_SUBJECT","EVIDENCE_INTEGRITY_ERROR","UNSUPPORTED_ASSET","NOT_IMPLEMENTED"]},"message":{"type":"string","minLength":1}}},"PilotError":{"type":"object","required":["code","message","request_id"],"additionalProperties":false,"properties":{"code":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"}}}},"securitySchemes":{"x402":{"type":"apiKey","in":"header","name":"PAYMENT-SIGNATURE","description":"Base64 x402 v2 PaymentPayload; receipt returned in PAYMENT-RESPONSE."}}}}