{"openapi":"3.1.0","info":{"title":"Agentic Economy API","version":"0.1.0"},"servers":[{"url":"https://app.aecon.ai"}],"paths":{"/api/v1/tools/quote":{"post":{"operationId":"tool.quote","summary":"Resolve one expiring, caller-bound Quote for a Tool purchase.","x-ae-read-only":false,"description":"Requires market_tools:call scope.","tags":["Call gateway"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolQuoteRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolQuoteResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/tools/procure":{"post":{"operationId":"tool.procure","summary":"Select a Tool by need without a purchase, or Quote and Call an exact Tool with caller-supplied input.","x-ae-read-only":false,"description":"Need selection returns the Tool input schema without a Quote, Call or reservation. Submit kind: exact with caller-supplied input, maximum AUD spend and a fresh idempotencyKey. Retry only that exact request unchanged after uncertainty. Requires market_tools:call scope.","tags":["Call gateway"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolProcureRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolProcureResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/tools/call":{"post":{"operationId":"tool.call","summary":"Execute a Tool Call against a returned Quote.","x-ae-read-only":false,"description":"Retry the same logical operation with the same idempotencyKey in the JSON body; a changed payload conflicts. Requires market_tools:call scope.","tags":["Call gateway"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCallRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToolCallResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/calls":{"get":{"operationId":"call.list","summary":"List the caller’s own Calls, newest first.","x-ae-read-only":true,"description":"Requires market_tools:call scope.","tags":["Call gateway"],"parameters":[{"name":"limit","in":"query","required":false,"description":"","schema":{"default":20,"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"","schema":{"type":"string","minLength":1,"maxLength":2000}},{"name":"state","in":"query","required":false,"description":"","schema":{"type":"string","enum":["pending","completed","refused","reconciliation_required","cancelled"]}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallListResponse"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/calls/{callRef}":{"get":{"operationId":"call.status","summary":"Read one Call’s current state and receipt.","x-ae-read-only":true,"description":"Requires market_tools:call scope.","tags":["Call gateway"],"parameters":[{"name":"callRef","in":"path","required":true,"description":"","schema":{"type":"string","minLength":1,"maxLength":300}},{"name":"afterVersion","in":"query","required":false,"description":"","schema":{"type":"integer","minimum":0,"maximum":9007199254740991}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallStatusResponse"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/calls/{callRef}/cancel":{"post":{"operationId":"call.cancel","summary":"Cancel one Call before it settles.","x-ae-read-only":false,"description":"Retry the same logical operation with the same idempotencyKey in the JSON body; a changed payload conflicts. Requires market_tools:call scope.","tags":["Call gateway"],"parameters":[{"name":"callRef","in":"path","required":true,"description":"","schema":{"type":"string","minLength":1,"maxLength":300}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallCancelRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallCancelResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/calls/{callRef}/reconcile":{"post":{"operationId":"call.reconcile","summary":"Recover an uncertain Call outcome before retrying.","x-ae-read-only":false,"description":"Retry the same logical operation with the same idempotencyKey in the JSON body; a changed payload conflicts. Requires market_tools:call scope.","tags":["Call gateway"],"parameters":[{"name":"callRef","in":"path","required":true,"description":"","schema":{"type":"string","minLength":1,"maxLength":300}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallReconcileRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallReconcileResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/market-tools/list":{"post":{"operationId":"registry.tools.list","summary":"List Tools.","x-ae-read-only":true,"tags":["Tool market"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryToolsListRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryToolsListResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/api/v1/market-tools/search":{"post":{"operationId":"registry.tools.search","summary":"Search Tools.","x-ae-read-only":true,"tags":["Tool market"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryToolsSearchRequest"},"example":{"query":"convert a time between time zones"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryToolsSearchResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/api/v1/market-tools/describe":{"post":{"operationId":"registry.tools.describe","summary":"Describe Tool.","x-ae-read-only":true,"tags":["Tool market"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryToolsDescribeRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryToolsDescribeResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/api/v1/market-tools/compare":{"post":{"operationId":"registry.tools.compare","summary":"Compare Tools.","x-ae-read-only":true,"tags":["Tool market"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryToolsCompareRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryToolsCompareResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/api/v1/funding/constraints":{"get":{"operationId":"funding.constraints","summary":"Read funding constraints.","tags":["Funding"],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundingConstraintsResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]},"head":{"operationId":"funding.constraints.head","summary":"Check read funding constraints.","tags":["Funding"],"responses":{"200":{"description":"Success."},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/api/v1/funding/quote":{"post":{"operationId":"funding.quote","summary":"Quote account funding.","tags":["Funding"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundingQuoteRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundingQuoteResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/api/businesses":{"get":{"operationId":"registry.list","summary":"List published businesses.","tags":["Businesses"],"parameters":[{"name":"cursor","in":"query","required":false,"description":"Opaque pagination cursor from a previous page.","schema":{"type":"string","minLength":1,"maxLength":512}},{"name":"limit","in":"query","required":false,"description":"Maximum rows to return (1-50).","schema":{"type":"integer","minimum":1,"maximum":50}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryListResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/api/businesses/search":{"get":{"operationId":"registry.search","summary":"Search published businesses.","tags":["Businesses"],"parameters":[{"name":"q","in":"query","required":false,"description":"Search phrase.","schema":{"type":"string","maxLength":200}},{"name":"mode","in":"query","required":false,"description":"Search scope.","schema":{"type":"string","enum":["near_me","whole_catalogue"]}},{"name":"location","in":"query","required":false,"description":"Place to search around when mode is near_me.","schema":{"type":"string","maxLength":80}},{"name":"max_price_currency","in":"query","required":false,"description":"Budget ceiling currency (ISO 4217).","schema":{"type":"string","minLength":3,"maxLength":3}},{"name":"max_price_units","in":"query","required":false,"description":"Budget ceiling integer units.","schema":{"type":"string"}},{"name":"max_price_exponent","in":"query","required":false,"description":"Budget ceiling decimal exponent.","schema":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},{"name":"has_price","in":"query","required":false,"description":"When true, return only businesses publishing at least one comparable price.","schema":{"type":"string","enum":["true","false"]}},{"name":"cursor","in":"query","required":false,"description":"Opaque pagination cursor from a previous page.","schema":{"type":"string","minLength":1,"maxLength":512}},{"name":"limit","in":"query","required":false,"description":"Maximum rows to return (1-50).","schema":{"type":"integer","minimum":1,"maximum":50}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistrySearchResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/api/businesses/{slug}":{"get":{"operationId":"registry.detail","summary":"Read one published business.","tags":["Businesses"],"parameters":[{"name":"slug","in":"path","required":true,"description":"Published business slug.","schema":{"type":"string","minLength":1}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryDetailResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/api/v1/businesses":{"get":{"operationId":"registry.services_list","summary":"List published business portfolios.","tags":["Businesses"],"parameters":[{"name":"cursor","in":"query","required":false,"description":"Opaque pagination cursor from a previous page.","schema":{"type":"string","minLength":1,"maxLength":512}},{"name":"limit","in":"query","required":false,"description":"Maximum rows to return (1-50).","schema":{"type":"integer","minimum":1,"maximum":50}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryServicesListResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/api/v1/businesses/search":{"get":{"operationId":"registry.services_search","summary":"Search published business portfolios.","tags":["Businesses"],"parameters":[{"name":"q","in":"query","required":false,"description":"Search phrase.","schema":{"type":"string","maxLength":200}},{"name":"mode","in":"query","required":false,"description":"Search scope.","schema":{"type":"string","enum":["near_me","whole_catalogue"]}},{"name":"location","in":"query","required":false,"description":"Place to search around when mode is near_me.","schema":{"type":"string","maxLength":80}},{"name":"max_price_currency","in":"query","required":false,"description":"Budget ceiling currency (ISO 4217).","schema":{"type":"string","minLength":3,"maxLength":3}},{"name":"max_price_units","in":"query","required":false,"description":"Budget ceiling integer units.","schema":{"type":"string"}},{"name":"max_price_exponent","in":"query","required":false,"description":"Budget ceiling decimal exponent.","schema":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},{"name":"has_price","in":"query","required":false,"description":"When true, return only businesses publishing at least one comparable price.","schema":{"type":"string","enum":["true","false"]}},{"name":"cursor","in":"query","required":false,"description":"Opaque pagination cursor from a previous page.","schema":{"type":"string","minLength":1,"maxLength":512}},{"name":"limit","in":"query","required":false,"description":"Maximum rows to return (1-50).","schema":{"type":"integer","minimum":1,"maximum":50}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryServicesSearchResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/api/v1/businesses/{businessId}":{"get":{"operationId":"registry.services_detail","summary":"Read one published business portfolio.","tags":["Businesses"],"parameters":[{"name":"businessId","in":"path","required":true,"description":"Published business id (slug).","schema":{"type":"string","minLength":1}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryServicesDetailResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/api/v1/release":{"get":{"operationId":"platform.release","summary":"Read the deployed release identity.","tags":["Platform"],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformReleaseResponse"}}}},"503":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformReleaseResponse"}}}}},"security":[]},"head":{"operationId":"platform.release.head","summary":"Check read the deployed release identity.","tags":["Platform"],"responses":{"200":{"description":"Success."},"503":{"description":"Success."}},"security":[]}},"/api/v1/catalogue-status":{"get":{"operationId":"platform.catalogueStatus","summary":"Read x402 directory catalogue freshness.","tags":["Platform"],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformCatalogueStatusResponse"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]},"head":{"operationId":"platform.catalogueStatus.head","summary":"Check read x402 directory catalogue freshness.","tags":["Platform"],"responses":{"200":{"description":"Success."},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/api/v1/market-metrics":{"get":{"operationId":"platform.marketMetrics","summary":"Read the public market metrics projection.","tags":["Platform"],"parameters":[{"name":"window","in":"query","required":false,"description":"Aggregation window; defaults to 30d.","schema":{"type":"string","enum":["24h","7d","30d"]}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformMarketMetricsResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]},"head":{"operationId":"platform.marketMetrics.head","summary":"Check read the public market metrics projection.","tags":["Platform"],"parameters":[{"name":"window","in":"query","required":false,"description":"Aggregation window; defaults to 30d.","schema":{"type":"string","enum":["24h","7d","30d"]}}],"responses":{"200":{"description":"Success."},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/api/v1/sandbox-reference":{"post":{"operationId":"platform.sandboxReference","summary":"Call AEcon’s own sandbox reference counterparty.","tags":["Platform"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformSandboxReferenceRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformSandboxReferenceResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"415":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/api/v1/registry":{"get":{"operationId":"platform.registryBrowse","summary":"Search the compact x402 directory index.","tags":["Platform"],"parameters":[{"name":"query","in":"query","required":false,"description":"Free-text query; empty browses without a search term.","schema":{"type":"string","maxLength":200}},{"name":"limit","in":"query","required":false,"description":"Maximum page size (1-12, default 8); each response stays under 16 KiB UTF-8.","schema":{"type":"integer","minimum":1,"maximum":12}},{"name":"cursor","in":"query","required":false,"description":"Opaque pagination cursor from a previous page.","schema":{"type":"string","minLength":1,"maxLength":512}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformRegistryBrowseResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]},"head":{"operationId":"platform.registryBrowse.head","summary":"Check search the compact x402 directory index.","tags":["Platform"],"parameters":[{"name":"query","in":"query","required":false,"description":"Free-text query; empty browses without a search term.","schema":{"type":"string","maxLength":200}},{"name":"limit","in":"query","required":false,"description":"Maximum page size (1-12, default 8); each response stays under 16 KiB UTF-8.","schema":{"type":"integer","minimum":1,"maximum":12}},{"name":"cursor","in":"query","required":false,"description":"Opaque pagination cursor from a previous page.","schema":{"type":"string","minLength":1,"maxLength":512}}],"responses":{"200":{"description":"Success."},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/api/v1/registry/detail":{"get":{"operationId":"platform.registryExternalDetail","summary":"Inspect one indexed x402 directory entry.","tags":["Platform"],"parameters":[{"name":"id","in":"query","required":true,"description":"Opaque ID returned by the compact registry search.","schema":{"type":"string","pattern":"^registry:[a-f0-9]{64}$"}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformRegistryExternalDetailResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/api/v1/account":{"get":{"operationId":"agentAccess.whoami","summary":"Inspect current agent account","description":"Requires market_tools:call scope.","tags":["Account"],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentAccessWhoamiResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/account/balance":{"post":{"operationId":"agentAccess.balance","summary":"Read agent account balance","description":"Requires market_tools:call scope.","tags":["Account"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentAccessBalanceRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentAccessBalanceResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/account/activity":{"post":{"operationId":"agentAccess.activity","summary":"List agent account activity","description":"Requires market_tools:call scope.","tags":["Account"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentAccessActivityRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentAccessActivityResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/market-requests/withdraw":{"post":{"operationId":"marketDemand.withdraw","summary":"Withdraw private market request","description":"Requires market_tools:call scope.","tags":["Market demand"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketDemandWithdrawRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketDemandWithdrawResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/market-requests":{"post":{"operationId":"marketDemand.record","summary":"Record missing market demand","description":"Retry the same logical operation with the same JSON body idempotencyKey; a changed payload conflicts. Requires market_tools:call scope.","tags":["Market demand"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketDemandRecordRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketDemandRecordResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/market-requests/list":{"post":{"operationId":"marketDemand.list","summary":"List private market requests","description":"Requires market_tools:call scope.","tags":["Market demand"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketDemandListRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketDemandListResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/market-requests/status":{"post":{"operationId":"marketDemand.status","summary":"Check private market request","description":"Requires market_tools:call scope.","tags":["Market demand"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketDemandStatusRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketDemandStatusResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/saved-tools/list":{"post":{"operationId":"market.savedTools.list","summary":"List saved Tools","description":"Requires market_tools:call scope.","tags":["Account"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketSavedToolsListRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketSavedToolsListResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/saved-tools/save":{"post":{"operationId":"market.savedTools.save","summary":"Save Tool","description":"Requires market_tools:call scope.","tags":["Account"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketSavedToolsSaveRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketSavedToolsSaveResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/saved-tools/remove":{"post":{"operationId":"market.savedTools.remove","summary":"Remove saved Tool","description":"Requires market_tools:call scope.","tags":["Account"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketSavedToolsRemoveRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketSavedToolsRemoveResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/supply/sources/preview":{"post":{"operationId":"supply.source.preview","summary":"Preview Provider source","description":"Requires market_supply:manage scope.","tags":["Provider"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplySourcePreviewRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplySourcePreviewResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/supply/tools/list":{"post":{"operationId":"supply.tools.list","summary":"List Provider Tools","description":"Requires market_supply:manage scope.","tags":["Provider"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyToolsListRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyToolsListResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/supply/status":{"post":{"operationId":"supply.status","summary":"Read Provider Tool status","description":"Requires market_supply:manage scope.","tags":["Provider"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyStatusRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyStatusResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/supply/publish":{"post":{"operationId":"supply.publish","summary":"Publish Provider Tool","description":"Retry the same logical operation with the same JSON body idempotencyKey; a changed payload conflicts. Requires market_supply:manage scope.","tags":["Provider"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyPublishRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyPublishResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/supply/withdraw":{"post":{"operationId":"supply.withdraw","summary":"Withdraw Provider capability","description":"Retry the same logical operation with the same JSON body idempotencyKey; a changed payload conflicts. Requires market_supply:manage scope.","tags":["Provider"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyWithdrawRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyWithdrawResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/supply/recheck":{"post":{"operationId":"supply.recheck","summary":"Recheck Provider capability","description":"Retry the same logical operation with the same JSON body idempotencyKey; a changed payload conflicts. Requires market_supply:manage scope.","tags":["Provider"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyRecheckRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyRecheckResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/supply/republish":{"post":{"operationId":"supply.republish","summary":"Republish Provider capability","description":"Retry the same logical operation with the same JSON body idempotencyKey; a changed payload conflicts. Requires market_supply:manage scope.","tags":["Provider"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyRepublishRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyRepublishResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/supply/earnings":{"post":{"operationId":"supply.earnings","summary":"Read Provider earnings","description":"Requires market_supply:manage scope.","tags":["Provider"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyEarningsRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyEarningsResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/supply/calls":{"post":{"operationId":"supply.calls","summary":"List Provider Calls","description":"Requires market_supply:manage scope.","tags":["Provider"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyCallsRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyCallsResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/supply/connections/list":{"post":{"operationId":"supply.connection.list","summary":"List Provider connections","description":"Requires market_supply:manage scope.","tags":["Provider"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyConnectionListRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyConnectionListResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/supply/connections/detail":{"post":{"operationId":"supply.connection.detail","summary":"Inspect Provider connection","description":"Requires market_supply:manage scope.","tags":["Provider"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyConnectionDetailRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyConnectionDetailResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/supply/connections/connect":{"post":{"operationId":"supply.connection.connect","summary":"Connect Provider service","description":"Retry the same logical operation with the same JSON body idempotencyKey; a changed payload conflicts. Requires market_supply:manage scope.","tags":["Provider"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyConnectionConnectRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyConnectionConnectResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/supply/connections/reconnect":{"post":{"operationId":"supply.connection.reconnect","summary":"Reconnect Provider connection","description":"Retry the same logical operation with the same JSON body idempotencyKey; a changed payload conflicts. Requires market_supply:manage scope.","tags":["Provider"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyConnectionReconnectRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyConnectionReconnectResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/supply/connections/revoke":{"post":{"operationId":"supply.connection.revoke","summary":"Revoke Provider connection","description":"Retry the same logical operation with the same JSON body idempotencyKey; a changed payload conflicts. Requires market_supply:manage scope.","tags":["Provider"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyConnectionRevokeRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyConnectionRevokeResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/supply/offboarding/status":{"post":{"operationId":"supply.offboarding.status","summary":"Read Provider offboarding status","description":"Requires market_supply:manage scope.","tags":["Provider"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyOffboardingStatusRequest"}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplyOffboardingStatusResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/account/funding/config":{"get":{"operationId":"funding.handoff.config","summary":"Read agent funding configuration","description":"Requires market_tools:call scope.","tags":["Funding"],"responses":{"200":{"description":"Current funding limits.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundingHandoffConfigResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/account/funding-sessions":{"post":{"operationId":"funding.handoff.create","summary":"Create a human funding handoff","description":"Send Idempotency-Key as an HTTP header, not in the JSON body. Reuse the same key and amount to recover a funding session. Requires market_tools:call scope.","tags":["Funding"],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Stable key for this funding attempt; changed amount conflicts.","schema":{"type":"string","minLength":8,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundingHandoffCreateRequest"}}}},"responses":{"201":{"description":"Funding session created or replayed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundingHandoffCreateResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/account/funding-sessions/{fundingSessionId}":{"get":{"operationId":"funding.handoff.status","summary":"Read a funding handoff","description":"Requires market_tools:call scope.","tags":["Funding"],"parameters":[{"name":"fundingSessionId","in":"path","required":true,"description":"Stripe Checkout Session ID.","schema":{"type":"string","pattern":"^cs_[A-Za-z0-9_]+$"}}],"responses":{"200":{"description":"Funding session state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundingHandoffStatusResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/account/funding-sessions/public/{fundingSessionId}":{"get":{"operationId":"funding.handoff.publicStatus","summary":"Read payer-safe funding session status","tags":["Funding"],"parameters":[{"name":"fundingSessionId","in":"path","required":true,"description":"Stripe Checkout Session ID.","schema":{"type":"string","pattern":"^cs_[A-Za-z0-9_]+$"}}],"responses":{"200":{"description":"Payer-safe funding state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FundingHandoffPublicStatusResponse"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[]}},"/api/v1/chat/turns":{"post":{"operationId":"chat.turn.start","summary":"Start or replay an authenticated chat turn","description":"Also accepts a current Clerk owner session. The same clientTurnId and material returns the existing Turn; changed material conflicts. The AI SDK UI message stream starts with data-ae-state (turnRef, thread context and sequence), followed by text and validated data-ae-quote, data-ae-receipt or data-ae-problem parts. Closing the connection does not cancel the Turn. Requires market_tools:call scope.","tags":["Platform"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatTurnStartRequest"}}}},"responses":{"200":{"description":"AI SDK UI message stream (x-vercel-ai-ui-message-stream: v1).","content":{"text/event-stream":{"schema":{"$ref":"#/components/schemas/ChatTurnStartResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/chat/turns/{turnRef}":{"get":{"operationId":"chat.turn.read","summary":"Read authenticated chat turn status","description":"Pure principal-bound status read: callRefs contains all linked Calls; inFlightCallRefs contains only unresolved Calls. Cancellation does not reverse released effects. Requires market_tools:call scope.","tags":["Platform"],"parameters":[{"name":"turnRef","in":"path","required":true,"description":"Principal-bound durable Turn reference.","schema":{"type":"string","pattern":"^turn_[0-9a-f-]{36}$"}}],"responses":{"200":{"description":"Current Turn snapshot.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatTurnReadResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]},"delete":{"operationId":"chat.turn.cancel","summary":"Request authenticated chat turn cancellation","description":"Idempotent cancellation fence. In-flight effects are not rolled back; recover each Call by its original ref. Requires market_tools:call scope.","tags":["Platform"],"parameters":[{"name":"turnRef","in":"path","required":true,"description":"Principal-bound durable Turn reference.","schema":{"type":"string","pattern":"^turn_[0-9a-f-]{36}$"}}],"responses":{"200":{"description":"Stopped or still in-flight effects.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatTurnCancelResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}},"/api/v1/status/{ref}":{"get":{"operationId":"journey.status","summary":"Read a Tool, Quote, Call or Turn by exact reference","description":"Every status ref requires the buyer agent-key principal, including Tool refs. Anonymous callers use describe for public Tool details. This pure read never starts another purchase or burns a source-write nonce. Requires market_tools:call scope.","tags":["Platform"],"parameters":[{"name":"ref","in":"path","required":true,"description":"Exact Tool, Quote, Call or Turn reference; all status reads require the original agent principal.","schema":{"anyOf":[{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"},{"type":"string","pattern":"^operation-commitment:v1:[0-9a-f]{64}$"},{"type":"string","pattern":"^operation-invocation:v1:[0-9a-f]{64}$"},{"type":"string","pattern":"^turn_[0-9a-f-]{36}$"}]}}],"responses":{"200":{"description":"Principal-bound JourneyStatus snapshot.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneyStatusResponse"}}}},"400":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem Details (RFC 9457).","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"agentAccessKey":[]}]}}},"components":{"schemas":{"Problem":{"type":"object","properties":{"type":{"type":"string","const":"about:blank"},"title":{"type":"string","enum":["Invalid argument","Failed precondition","Unauthenticated","Permission denied","Not found","Already exists","Method not allowed","Payload too large","Unsupported media type","Resource exhausted","Unavailable","Internal error","Unknown error"]},"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"detail":{"type":"string"},"instance":{"type":"string"},"kind":{"type":"string","enum":["INVALID_ARGUMENT","FAILED_PRECONDITION","UNAUTHENTICATED","PERMISSION_DENIED","NOT_FOUND","ALREADY_EXISTS","METHOD_NOT_ALLOWED","PAYLOAD_TOO_LARGE","UNSUPPORTED_MEDIA_TYPE","RESOURCE_EXHAUSTED","UNAVAILABLE","INTERNAL","UNKNOWN"]},"code":{"type":"string"},"reason":{"type":"string"},"retryable":{"type":"boolean"},"invalid-params":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"reason":{"type":"string"}},"required":["name","reason"]}}},"required":["type","title","status","kind","code"],"additionalProperties":{}},"ToolQuoteRequestSchema0":{"anyOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"$ref":"#/components/schemas/ToolQuoteRequestSchema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/ToolQuoteRequestSchema0"}}]},"ToolQuoteRequest":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"},"input":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/ToolQuoteRequestSchema0"}}},"required":["toolRef","input"]},"ToolQuoteResponseSchema0":{"anyOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"$ref":"#/components/schemas/ToolQuoteResponseSchema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/ToolQuoteResponseSchema0"}}]},"ToolQuoteResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"ToolQuoteResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"committed"},"quoteRef":{"type":"string"},"toolRef":{"type":"string"},"toolVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"expiresAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"normalizedInput":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/ToolQuoteResponseSchema0"}},"price":{"$ref":"#/components/schemas/ToolQuoteResponseExactAmount"},"sourceRequirement":{"allOf":[{"$ref":"#/components/schemas/ToolQuoteResponseExactAmount"}]},"account":{"type":"object","properties":{"accountRef":{"type":"string"},"available":{"$ref":"#/components/schemas/ToolQuoteResponseExactAmount"}},"required":["accountRef","available"],"additionalProperties":false},"budget":{"type":"object","properties":{"principalRef":{"type":"string"},"maximumPerCall":{"$ref":"#/components/schemas/ToolQuoteResponseExactAmount"}},"required":["principalRef","maximumPerCall"],"additionalProperties":false},"policyRefs":{"type":"array","items":{"type":"string"}},"evidenceDigest":{"type":"string"},"parties":{"type":"object","properties":{"seller":{"type":"string"},"provider":{"type":"string"},"paymentRecipient":{"type":"string"}},"required":["seller","provider","paymentRecipient"],"additionalProperties":false},"continuation":{"type":"object","properties":{"action":{"type":"string","const":"tool.call"},"method":{"type":"string","const":"POST"},"path":{"type":"string","const":"/api/v1/tools/call"},"input":{"type":"object","properties":{"quoteRef":{"type":"string"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["quoteRef","idempotencyKey"],"additionalProperties":false}},"required":["action","method","path","input"],"additionalProperties":false}},"required":["kind","quoteRef","toolRef","toolVersion","expiresAt","normalizedInput","price","account","budget","policyRefs","evidenceDigest","continuation"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"toolRef":{"type":"string"},"code":{"type":"string","enum":["tool_not_found","tool_not_current","tool_not_ready","tool_unsupported","input_invalid","grant_not_found","budget_exceeded","insufficient_balance","treasury_capacity_unavailable","payments_paused","payments_admins_only","payments_not_ready","pricing_setup_required","commercial_policy_unavailable","inspection_unavailable"]},"reason":{"type":"string","minLength":1},"retryable":{"type":"boolean"},"correlationRef":{"type":"string","minLength":1},"continuation":{"oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"registry.tools.list"},"method":{"type":"string","const":"POST"},"path":{"type":"string","const":"/api/v1/market-tools/list"},"input":{"type":"object","properties":{"limit":{"type":"number","const":10}},"required":["limit"],"additionalProperties":false}},"required":["action","method","path","input"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"registry.tools.search"},"method":{"type":"string","const":"POST"},"path":{"type":"string","const":"/api/v1/market-tools/search"},"input":{"type":"object","properties":{"query":{"type":"string","minLength":1},"limit":{"type":"number","const":10}},"required":["query","limit"],"additionalProperties":false}},"required":["action","method","path","input"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"registry.tools.describe"},"method":{"type":"string","const":"POST"},"path":{"type":"string","const":"/api/v1/market-tools/describe"},"input":{"type":"object","properties":{"toolRef":{"type":"string"}},"required":["toolRef"],"additionalProperties":false}},"required":["action","method","path","input"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"tool.quote"},"method":{"type":"string","const":"POST"},"path":{"type":"string","const":"/api/v1/tools/quote"},"input":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"},"input":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/ToolQuoteResponseSchema0"}}},"required":["toolRef","input"],"additionalProperties":false},"retryAfterMs":{"anyOf":[{"type":"number","const":5000},{"type":"number","const":30000}]}},"required":["action","method","path","input","retryAfterMs"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"funding.handoff.create"},"method":{"type":"string","const":"POST"},"path":{"type":"string","const":"/api/v1/account/funding-sessions"},"input":{"type":"object","properties":{"principalAmount":{"$ref":"#/components/schemas/ToolQuoteResponseExactAmount"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["principalAmount","idempotencyKey"],"additionalProperties":false}},"required":["action","method","path","input"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"funding.handoff.config"},"method":{"type":"string","const":"GET"},"path":{"type":"string","const":"/api/v1/account/funding/config"},"input":{"type":"object","properties":{},"additionalProperties":false}},"required":["action","method","path","input"],"additionalProperties":false}]},"requiredActions":{"type":"array","items":[{"type":"object","properties":{"action":{"type":"string","minLength":1},"blockedCapabilities":{"type":"array","items":[{"type":"string","const":"tool.call"}]},"cta":{"anyOf":[{"type":"string","const":"/agent-access"},{"type":"string","const":"/support"},{"type":"null"}]},"ctaLabel":{"type":"string","minLength":1},"description":{"type":"string","minLength":1},"iconUrl":{"type":"null"},"status":{"type":"string","enum":["required","pending"]},"title":{"type":"string","minLength":1}},"required":["action","blockedCapabilities","cta","ctaLabel","description","iconUrl","status","title"],"additionalProperties":false}]}},"required":["kind","toolRef","code","retryable","correlationRef"],"additionalProperties":false}]},"ToolProcureRequestSchema0":{"anyOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"$ref":"#/components/schemas/ToolProcureRequestSchema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/ToolProcureRequestSchema0"}}]},"ToolProcureRequest":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"need"},"need":{"type":"string","minLength":3,"maxLength":4096},"prefer":{"type":"string","enum":["balanced","cheapest","reliable"],"description":"How to choose between matching Tools: cheapest, balanced (default), or reliable"}},"required":["kind","need"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"exact"},"toolRef":{"type":"string"},"input":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/ToolProcureRequestSchema0"}},"maxSpendAud":{"type":"string","pattern":"^\\d+(?:\\.\\d{1,6})?$"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["kind","toolRef","input","maxSpendAud","idempotencyKey"],"additionalProperties":false}]},"ToolProcureResponseSchema0":{"anyOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"$ref":"#/components/schemas/ToolProcureResponseSchema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/ToolProcureResponseSchema0"}}]},"ToolProcureResponse":{"anyOf":[{"type":"object","properties":{"schemaVersion":{"type":"string","const":"tool.procure:v1"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200},"quoteRef":{"type":"string","minLength":1},"callRef":{"type":"string","minLength":1},"kind":{"type":"string","const":"delivered"},"status":{"type":"string","const":"delivered"},"toolRef":{"type":"string"},"toolName":{"type":"string"},"price":{"type":"object","properties":{"totalAud":{"type":"string"},"netAud":{"type":"string"},"gstAud":{"type":"string"}},"required":["totalAud","netAud","gstAud"],"additionalProperties":false},"audit":{"type":"object","properties":{"routingLatencyMs":{"type":"number"},"executionLatencyMs":{"type":"number"},"totalLatencyMs":{"type":"number"},"jevDecisionsCostAud":{"type":"string"}},"required":["routingLatencyMs","executionLatencyMs","totalLatencyMs","jevDecisionsCostAud"],"additionalProperties":false},"endpoint":{"type":"string"},"input":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/ToolProcureResponseSchema0"}},"output":{}},"required":["schemaVersion","idempotencyKey","quoteRef","callRef","kind","status","toolRef","price","audit","input","output"],"additionalProperties":false},{"type":"object","properties":{"schemaVersion":{"type":"string","const":"tool.procure:v1"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200},"quoteRef":{"type":"string","minLength":1},"callRef":{"type":"string","minLength":1},"kind":{"type":"string","const":"delivered"},"status":{"type":"string","const":"delivered"},"toolRef":{"type":"string"},"toolName":{"type":"string"},"price":{"type":"object","properties":{"totalAud":{"type":"string"},"netAud":{"type":"string"},"gstAud":{"type":"string"}},"required":["totalAud","netAud","gstAud"],"additionalProperties":false},"audit":{"type":"object","properties":{"routingLatencyMs":{"type":"number"},"executionLatencyMs":{"type":"number"},"totalLatencyMs":{"type":"number"},"jevDecisionsCostAud":{"type":"string"}},"required":["routingLatencyMs","executionLatencyMs","totalLatencyMs","jevDecisionsCostAud"],"additionalProperties":false},"contentExpiredAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["schemaVersion","idempotencyKey","quoteRef","callRef","kind","status","toolRef","price","audit","contentExpiredAt"],"additionalProperties":false},{"type":"object","properties":{"schemaVersion":{"type":"string","const":"tool.procure:v1"},"kind":{"type":"string","const":"needs_input"},"status":{"type":"string","const":"needs_input"},"toolRef":{"type":"string"},"toolName":{"type":"string"},"reasons":{"type":"array","items":{"type":"string"}},"alternates":{"maxItems":2,"type":"array","items":{"type":"object","properties":{"toolRef":{"type":"string"},"title":{"type":"string"},"reasons":{"type":"array","items":{"type":"string"}}},"required":["toolRef","title","reasons"],"additionalProperties":false}},"inputJsonSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/ToolProcureResponseSchema0"}},"requiredFields":{"type":"array","items":{"type":"string"}},"next":{"type":"object","properties":{"kind":{"type":"string","const":"exact"},"toolRef":{"type":"string"}},"required":["kind","toolRef"],"additionalProperties":false}},"required":["schemaVersion","kind","status","toolRef","toolName","reasons","alternates","inputJsonSchema","requiredFields","next"],"additionalProperties":false},{"type":"object","properties":{"schemaVersion":{"type":"string","const":"tool.procure:v1"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200},"quoteRef":{"type":"string","minLength":1},"callRef":{"type":"string","minLength":1},"kind":{"type":"string","const":"remedied"},"status":{"type":"string","const":"remedied"},"toolRef":{"type":"string"},"toolName":{"type":"string"},"refundedAmountAud":{"type":"string"},"netChargeAud":{"type":"string","const":"A$0.00"},"diagnostic":{"type":"object","properties":{"whatHappened":{"type":"string"},"financialImpact":{"type":"string"},"nextStep":{"type":"string"}},"required":["whatHappened","financialImpact","nextStep"],"additionalProperties":false},"alternativeTool":{"type":"string"},"audit":{"type":"object","properties":{"adjudicator":{"type":"string"},"confidence":{"type":"number"},"remedyLatencyMs":{"type":"number"},"totalLatencyMs":{"type":"number"}},"required":["adjudicator","confidence","remedyLatencyMs","totalLatencyMs"],"additionalProperties":false}},"required":["schemaVersion","idempotencyKey","quoteRef","callRef","kind","status","toolRef","refundedAmountAud","netChargeAud","diagnostic","audit"],"additionalProperties":false},{"type":"object","properties":{"schemaVersion":{"type":"string","const":"tool.procure:v1"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200},"kind":{"type":"string","const":"refused"},"status":{"type":"string","const":"refused"},"quoteRef":{"type":"string","minLength":1},"code":{"anyOf":[{"type":"string","enum":["no_matching_tool","ambiguous_intent","selection_unavailable"]},{"type":"string","enum":["tool_not_found","tool_not_current","tool_not_ready","tool_unsupported","input_invalid","grant_not_found","budget_exceeded","insufficient_balance","treasury_capacity_unavailable","payments_paused","payments_admins_only","payments_not_ready","pricing_setup_required","commercial_policy_unavailable","inspection_unavailable"]},{"type":"string","enum":["operation_ref_invalid","operation_not_found","operation_not_current","operation_not_ready","operation_unsupported","input_invalid","grant_not_found","grant_revoked","grant_expired","grant_generation_stale","environment_mismatch","rate_limited","concurrency_limited","budget_exceeded","insufficient_balance","treasury_capacity_unavailable","commercial_policy_unavailable","idempotency_conflict","invocation_runtime_unavailable","authority_reader_unavailable","authority_required","authority_denied","provider_refused","provider_output_invalid","pre_release_failed","outcome_unknown","payment_lane_not_brokered","reconciliation_required","invocation_not_found","invocation_cancelled","lease_not_current","result_invalid","source_unavailable"]}]},"retryable":{"type":"boolean"},"detail":{"type":"string"}},"required":["schemaVersion","kind","status","code","retryable","detail"],"additionalProperties":false},{"type":"object","properties":{"schemaVersion":{"type":"string","const":"tool.procure:v1"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200},"quoteRef":{"type":"string","minLength":1},"callRef":{"type":"string","minLength":1},"kind":{"type":"string","const":"refused_after_dispatch"},"status":{"type":"string","const":"refused_after_dispatch"},"code":{"type":"string","const":"call_refused"},"detail":{"type":"string"}},"required":["schemaVersion","idempotencyKey","quoteRef","callRef","kind","status","code","detail"],"additionalProperties":false},{"type":"object","properties":{"schemaVersion":{"type":"string","const":"tool.procure:v1"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200},"quoteRef":{"type":"string","minLength":1},"callRef":{"type":"string","minLength":1},"kind":{"type":"string","const":"pending"},"status":{"type":"string","const":"pending"},"retryAfterMs":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["schemaVersion","idempotencyKey","quoteRef","callRef","kind","status"],"additionalProperties":false},{"type":"object","properties":{"schemaVersion":{"type":"string","const":"tool.procure:v1"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200},"quoteRef":{"type":"string","minLength":1},"callRef":{"type":"string","minLength":1},"kind":{"type":"string","const":"outcome_unknown"},"status":{"type":"string","const":"outcome_unknown"}},"required":["schemaVersion","idempotencyKey","quoteRef","callRef","kind","status"],"additionalProperties":false}]},"ToolCallRequest":{"type":"object","properties":{"quoteRef":{"type":"string","pattern":"^operation-commitment:v1:[0-9a-f]{64}$"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["quoteRef","idempotencyKey"]},"ToolCallResponseCallUsage":{"type":"object","properties":{"usageRef":{"type":"string","minLength":1},"observedAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"chargeState":{"type":"string","enum":["free_tier","paid","insufficient_credit","outcome_unknown","refunded"]},"amount":{"$ref":"#/components/schemas/ToolCallResponseExactAmount"},"priceDigest":{"type":"string","minLength":1},"transactionRef":{"type":"string","minLength":1},"durationMs":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["usageRef","observedAt","chargeState","amount","priceDigest"],"additionalProperties":false},"ToolCallResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"ToolCallResponseCallReceipt":{"type":"object","properties":{"receiptRef":{"type":"string","minLength":1},"state":{"type":"string","enum":["settled","refunded","reconciliation_required"]},"priceDigest":{"type":"string","minLength":1},"transactionRef":{"type":"string","minLength":1},"accountingTransactionRefs":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"refundState":{"type":"string","enum":["released","not_applicable","unknown"]},"lossState":{"type":"string","enum":["none","provider_output_invalid","provider_http_error","unknown"]},"externalSettlementRef":{"type":"string","minLength":1},"evidenceHash":{"type":"string","minLength":1},"issuedAt":{"type":"string","minLength":1},"commercialModel":{"type":"string","const":"account_aud"},"buyerCharge":{"$ref":"#/components/schemas/ToolCallResponseExactAmount"},"serviceFee":{"$ref":"#/components/schemas/ToolCallResponseExactAmount"},"totalBuyerCharge":{"$ref":"#/components/schemas/ToolCallResponseExactAmount"},"providerObligation":{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/ToolCallResponseExactAmount"},"settlementMethod":{"type":"string","const":"managed_x402"},"payoutEligible":{"type":"boolean","const":false}},"required":["amount","settlementMethod","payoutEligible"],"additionalProperties":false},"providerSettlement":{"anyOf":[{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/ToolCallResponseExactAmount"},"transactionHash":{"type":"string","minLength":1},"paymentIdentifier":{"type":"string","minLength":1},"network":{"type":"string","const":"eip155:8453"},"asset":{"type":"string","const":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}},"required":["amount","network","asset"],"additionalProperties":false},{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/ToolCallResponseExactAmount"},"transactionHash":{"type":"string","minLength":1},"paymentIdentifier":{"type":"string","minLength":1},"network":{"type":"string","const":"eip155:84532"},"asset":{"type":"string","const":"0x036CbD53842c5426634e7929541eC2318f3dCF7e"}},"required":["amount","network","asset"],"additionalProperties":false}]}},"required":["receiptRef","state","priceDigest","evidenceHash","issuedAt","commercialModel","buyerCharge","serviceFee","totalBuyerCharge","providerObligation","providerSettlement"],"additionalProperties":false},"ToolCallResponseSchema0":{"anyOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"$ref":"#/components/schemas/ToolCallResponseSchema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/ToolCallResponseSchema0"}}]},"ToolCallResponse":{"anyOf":[{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"completed"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"evidenceHash":{"type":"string"},"usage":{"$ref":"#/components/schemas/ToolCallResponseCallUsage"},"receipt":{"allOf":[{"$ref":"#/components/schemas/ToolCallResponseCallReceipt"}]},"output":{"$ref":"#/components/schemas/ToolCallResponseSchema0"}},"required":["kind","callRef","toolRef","evidenceHash","usage","output"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"completed"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"evidenceHash":{"type":"string"},"usage":{"$ref":"#/components/schemas/ToolCallResponseCallUsage"},"receipt":{"allOf":[{"$ref":"#/components/schemas/ToolCallResponseCallReceipt"}]},"contentExpiredAt":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Call content was deleted under the retention policy; the completed purchase and receipt remain valid."}},"required":["kind","callRef","toolRef","evidenceHash","usage","contentExpiredAt"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"pending"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"retryAfterMs":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["kind","callRef","toolRef","retryAfterMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"outcome_unknown"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"evidence":{"type":"object","properties":{"attemptRef":{"type":"string"},"effectGeneration":{"type":"number"},"requiredAt":{"type":"string"},"retry":{"type":"string","const":"reconcile_before_retry"},"evidenceSource":{"type":"string"}},"required":["attemptRef","effectGeneration","requiredAt","retry","evidenceSource"],"additionalProperties":false},"receipt":{"allOf":[{"$ref":"#/components/schemas/ToolCallResponseCallReceipt"}]}},"required":["kind","callRef","toolRef","evidence"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"toolRef":{"type":"string"},"callRef":{"type":"string"},"code":{"type":"string","enum":["operation_ref_invalid","operation_not_found","operation_not_current","operation_not_ready","operation_unsupported","input_invalid","grant_not_found","grant_revoked","grant_expired","grant_generation_stale","environment_mismatch","rate_limited","concurrency_limited","budget_exceeded","insufficient_balance","treasury_capacity_unavailable","commercial_policy_unavailable","idempotency_conflict","invocation_runtime_unavailable","authority_reader_unavailable","authority_required","authority_denied","provider_refused","provider_output_invalid","pre_release_failed","outcome_unknown","payment_lane_not_brokered","reconciliation_required","invocation_not_found","invocation_cancelled","lease_not_current","result_invalid","source_unavailable"]},"retryable":{"type":"boolean"},"nextAction":{"type":"string"},"ownerHandoff":{"type":"object","properties":{"kind":{"type":"string","const":"authorize"},"callRef":{"type":"string"},"toolRef":{"type":"string"}},"required":["kind","callRef","toolRef"],"additionalProperties":false},"receipt":{"allOf":[{"$ref":"#/components/schemas/ToolCallResponseCallReceipt"}]}},"required":["kind","code","retryable"],"additionalProperties":false}]},"CallListResponseCallUsage":{"type":"object","properties":{"usageRef":{"type":"string","minLength":1},"observedAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"chargeState":{"type":"string","enum":["free_tier","paid","insufficient_credit","outcome_unknown","refunded"]},"amount":{"$ref":"#/components/schemas/CallListResponseExactAmount"},"priceDigest":{"type":"string","minLength":1},"transactionRef":{"type":"string","minLength":1},"durationMs":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["usageRef","observedAt","chargeState","amount","priceDigest"],"additionalProperties":false},"CallListResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"CallListResponse":{"type":"object","properties":{"kind":{"type":"string","const":"available"},"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"callRef":{"type":"string","minLength":1,"maxLength":300},"toolRef":{"type":"string","minLength":1,"maxLength":300},"state":{"type":"string","enum":["pending","completed","refused","reconciliation_required","cancelled"]},"resultKind":{"type":"string","enum":["completed","pending","needs_authority","reconciliation_required","refused"]},"usage":{"allOf":[{"$ref":"#/components/schemas/CallListResponseCallUsage"}]},"receiptRef":{"type":"string","minLength":1,"maxLength":300},"evidenceHash":{"type":"string","minLength":1,"maxLength":300},"createdAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"updatedAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["callRef","toolRef","state","createdAt","updatedAt"],"additionalProperties":false}},"hasMore":{"type":"boolean"},"nextCursor":{"type":"string","minLength":1,"maxLength":2000}},"required":["kind","items","hasMore"],"additionalProperties":false},"CallStatusResponseSchema0":{"anyOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"$ref":"#/components/schemas/CallStatusResponseSchema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/CallStatusResponseSchema0"}}]},"CallStatusResponseCallUsage":{"type":"object","properties":{"usageRef":{"type":"string","minLength":1},"observedAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"chargeState":{"type":"string","enum":["free_tier","paid","insufficient_credit","outcome_unknown","refunded"]},"amount":{"$ref":"#/components/schemas/CallStatusResponseExactAmount"},"priceDigest":{"type":"string","minLength":1},"transactionRef":{"type":"string","minLength":1},"durationMs":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["usageRef","observedAt","chargeState","amount","priceDigest"],"additionalProperties":false},"CallStatusResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"CallStatusResponseCallReceipt":{"type":"object","properties":{"receiptRef":{"type":"string","minLength":1},"state":{"type":"string","enum":["settled","refunded","reconciliation_required"]},"priceDigest":{"type":"string","minLength":1},"transactionRef":{"type":"string","minLength":1},"accountingTransactionRefs":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"refundState":{"type":"string","enum":["released","not_applicable","unknown"]},"lossState":{"type":"string","enum":["none","provider_output_invalid","provider_http_error","unknown"]},"externalSettlementRef":{"type":"string","minLength":1},"evidenceHash":{"type":"string","minLength":1},"issuedAt":{"type":"string","minLength":1},"commercialModel":{"type":"string","const":"account_aud"},"buyerCharge":{"$ref":"#/components/schemas/CallStatusResponseExactAmount"},"serviceFee":{"$ref":"#/components/schemas/CallStatusResponseExactAmount"},"totalBuyerCharge":{"$ref":"#/components/schemas/CallStatusResponseExactAmount"},"providerObligation":{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/CallStatusResponseExactAmount"},"settlementMethod":{"type":"string","const":"managed_x402"},"payoutEligible":{"type":"boolean","const":false}},"required":["amount","settlementMethod","payoutEligible"],"additionalProperties":false},"providerSettlement":{"anyOf":[{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/CallStatusResponseExactAmount"},"transactionHash":{"type":"string","minLength":1},"paymentIdentifier":{"type":"string","minLength":1},"network":{"type":"string","const":"eip155:8453"},"asset":{"type":"string","const":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}},"required":["amount","network","asset"],"additionalProperties":false},{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/CallStatusResponseExactAmount"},"transactionHash":{"type":"string","minLength":1},"paymentIdentifier":{"type":"string","minLength":1},"network":{"type":"string","const":"eip155:84532"},"asset":{"type":"string","const":"0x036CbD53842c5426634e7929541eC2318f3dCF7e"}},"required":["amount","network","asset"],"additionalProperties":false}]}},"required":["receiptRef","state","priceDigest","evidenceHash","issuedAt","commercialModel","buyerCharge","serviceFee","totalBuyerCharge","providerObligation","providerSettlement"],"additionalProperties":false},"CallStatusResponse":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"found"},"callRef":{"type":"string","minLength":1,"maxLength":300},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"toolRef":{"type":"string","minLength":1,"maxLength":300},"previousInput":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/CallStatusResponseSchema0"}},"state":{"type":"string","enum":["gathering_information","awaiting_authority","authorized","leased","in_progress","retryable","reconciliation_required","terminal","cancelled","invalidated"]},"usage":{"allOf":[{"$ref":"#/components/schemas/CallStatusResponseCallUsage"}]},"evidenceHash":{"type":"string","minLength":1,"maxLength":300},"attemptRef":{"type":"string","minLength":1,"maxLength":300},"effectGeneration":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"result":{"anyOf":[{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"completed"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"evidenceHash":{"type":"string"},"usage":{"$ref":"#/components/schemas/CallStatusResponseCallUsage"},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallStatusResponseCallReceipt"}]},"output":{"$ref":"#/components/schemas/CallStatusResponseSchema0"}},"required":["kind","callRef","toolRef","evidenceHash","usage","output"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"completed"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"evidenceHash":{"type":"string"},"usage":{"$ref":"#/components/schemas/CallStatusResponseCallUsage"},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallStatusResponseCallReceipt"}]},"contentExpiredAt":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Call content was deleted under the retention policy; the completed purchase and receipt remain valid."}},"required":["kind","callRef","toolRef","evidenceHash","usage","contentExpiredAt"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"pending"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"retryAfterMs":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["kind","callRef","toolRef","retryAfterMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"needs_authority"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"authorityRequest":{"type":"object","properties":{"kind":{"type":"string","enum":["approval_required","spending_policy"]},"toolRef":{"type":"string"},"consequence":{"type":"string","enum":["read_only","communication","external_effect"]},"retryClass":{"type":"string","enum":["replayable","attributable_retry","reconcile_before_retry"]},"maximumSpend":{"allOf":[{"$ref":"#/components/schemas/CallStatusResponseExactAmount"}]},"dataFields":{"type":"array","items":{"type":"string"}},"expiresAt":{"type":"string"}},"required":["kind","toolRef","consequence","retryClass","dataFields"],"additionalProperties":false}},"required":["kind","callRef","toolRef","authorityRequest"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"reconciliation_required"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"evidence":{"type":"object","properties":{"attemptRef":{"type":"string"},"effectGeneration":{"type":"number"},"requiredAt":{"type":"string"},"retry":{"type":"string","const":"reconcile_before_retry"},"evidenceSource":{"type":"string"}},"required":["attemptRef","effectGeneration","requiredAt","retry","evidenceSource"],"additionalProperties":false},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallStatusResponseCallReceipt"}]}},"required":["kind","callRef","toolRef","evidence"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"toolRef":{"type":"string"},"code":{"type":"string","enum":["operation_ref_invalid","operation_not_found","operation_not_current","operation_not_ready","operation_unsupported","input_invalid","grant_not_found","grant_revoked","grant_expired","grant_generation_stale","environment_mismatch","rate_limited","concurrency_limited","budget_exceeded","insufficient_balance","treasury_capacity_unavailable","commercial_policy_unavailable","idempotency_conflict","invocation_runtime_unavailable","authority_reader_unavailable","authority_required","authority_denied","provider_refused","provider_output_invalid","pre_release_failed","outcome_unknown","payment_lane_not_brokered","reconciliation_required","invocation_not_found","invocation_cancelled","lease_not_current","result_invalid","source_unavailable"]},"retryable":{"type":"boolean"},"nextAction":{"type":"string"},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallStatusResponseCallReceipt"}]}},"required":["kind","code","retryable"],"additionalProperties":false}]},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallStatusResponseCallReceipt"}]},"purchaseResolution":{"type":"object","properties":{"resolutionRef":{"type":"string","minLength":1},"recordDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"callRef":{"type":"string","minLength":1},"quoteRef":{"type":"string","minLength":1},"accountRef":{"type":"string","minLength":1},"customerRef":{"type":"string","minLength":1},"agentPrincipalRef":{"type":"string","minLength":1},"sellerRef":{"type":"string","minLength":1},"providerRef":{"type":"string","minLength":1},"paymentRecipientRef":{"type":"string","minLength":1},"terminalState":{"type":"string","enum":["completed","refunded","released","disputed"]},"deliveryState":{"type":"string","enum":["delivered","not_delivered","unknown"]},"paymentState":{"type":"string","enum":["settled","released","unknown","not_applicable"]},"considerationAmount":{"$ref":"#/components/schemas/CallStatusResponseExactAmount"},"considerationNetUnits":{"type":"string","pattern":"^\\d+$"},"considerationGstUnits":{"type":"string","pattern":"^\\d+$"},"providerObligationAmount":{"$ref":"#/components/schemas/CallStatusResponseExactAmount"},"resolvedAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resolutionRef","recordDigest","callRef","quoteRef","accountRef","customerRef","agentPrincipalRef","sellerRef","providerRef","paymentRecipientRef","terminalState","deliveryState","paymentState","considerationAmount","considerationNetUnits","considerationGstUnits","providerObligationAmount","resolvedAt"],"additionalProperties":false}},"required":["kind","callRef","version","toolRef","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unchanged"},"callRef":{"type":"string","minLength":1,"maxLength":300},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"retryAfterMs":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["kind","callRef","version","retryAfterMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"callRef":{"type":"string","minLength":1,"maxLength":300},"code":{"type":"string","enum":["invocation_not_found","grant_not_found","grant_revoked","grant_expired","grant_generation_stale","environment_mismatch","invocation_runtime_unavailable"]},"retryable":{"type":"boolean"},"nextAction":{"type":"string","minLength":1,"maxLength":300},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallStatusResponseCallReceipt"}]}},"required":["kind","callRef","code","retryable"],"additionalProperties":false}]},"CallCancelRequest":{"type":"object","properties":{"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"required":["idempotencyKey"]},"CallCancelResponseSchema0":{"anyOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"$ref":"#/components/schemas/CallCancelResponseSchema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/CallCancelResponseSchema0"}}]},"CallCancelResponseCallUsage":{"type":"object","properties":{"usageRef":{"type":"string","minLength":1},"observedAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"chargeState":{"type":"string","enum":["free_tier","paid","insufficient_credit","outcome_unknown","refunded"]},"amount":{"$ref":"#/components/schemas/CallCancelResponseExactAmount"},"priceDigest":{"type":"string","minLength":1},"transactionRef":{"type":"string","minLength":1},"durationMs":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["usageRef","observedAt","chargeState","amount","priceDigest"],"additionalProperties":false},"CallCancelResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"CallCancelResponseCallReceipt":{"type":"object","properties":{"receiptRef":{"type":"string","minLength":1},"state":{"type":"string","enum":["settled","refunded","reconciliation_required"]},"priceDigest":{"type":"string","minLength":1},"transactionRef":{"type":"string","minLength":1},"accountingTransactionRefs":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"refundState":{"type":"string","enum":["released","not_applicable","unknown"]},"lossState":{"type":"string","enum":["none","provider_output_invalid","provider_http_error","unknown"]},"externalSettlementRef":{"type":"string","minLength":1},"evidenceHash":{"type":"string","minLength":1},"issuedAt":{"type":"string","minLength":1},"commercialModel":{"type":"string","const":"account_aud"},"buyerCharge":{"$ref":"#/components/schemas/CallCancelResponseExactAmount"},"serviceFee":{"$ref":"#/components/schemas/CallCancelResponseExactAmount"},"totalBuyerCharge":{"$ref":"#/components/schemas/CallCancelResponseExactAmount"},"providerObligation":{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/CallCancelResponseExactAmount"},"settlementMethod":{"type":"string","const":"managed_x402"},"payoutEligible":{"type":"boolean","const":false}},"required":["amount","settlementMethod","payoutEligible"],"additionalProperties":false},"providerSettlement":{"anyOf":[{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/CallCancelResponseExactAmount"},"transactionHash":{"type":"string","minLength":1},"paymentIdentifier":{"type":"string","minLength":1},"network":{"type":"string","const":"eip155:8453"},"asset":{"type":"string","const":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}},"required":["amount","network","asset"],"additionalProperties":false},{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/CallCancelResponseExactAmount"},"transactionHash":{"type":"string","minLength":1},"paymentIdentifier":{"type":"string","minLength":1},"network":{"type":"string","const":"eip155:84532"},"asset":{"type":"string","const":"0x036CbD53842c5426634e7929541eC2318f3dCF7e"}},"required":["amount","network","asset"],"additionalProperties":false}]}},"required":["receiptRef","state","priceDigest","evidenceHash","issuedAt","commercialModel","buyerCharge","serviceFee","totalBuyerCharge","providerObligation","providerSettlement"],"additionalProperties":false},"CallCancelResponse":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"found"},"callRef":{"type":"string","minLength":1,"maxLength":300},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"toolRef":{"type":"string","minLength":1,"maxLength":300},"previousInput":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/CallCancelResponseSchema0"}},"state":{"type":"string","enum":["gathering_information","awaiting_authority","authorized","leased","in_progress","retryable","reconciliation_required","terminal","cancelled","invalidated"]},"usage":{"allOf":[{"$ref":"#/components/schemas/CallCancelResponseCallUsage"}]},"evidenceHash":{"type":"string","minLength":1,"maxLength":300},"attemptRef":{"type":"string","minLength":1,"maxLength":300},"effectGeneration":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"result":{"anyOf":[{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"completed"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"evidenceHash":{"type":"string"},"usage":{"$ref":"#/components/schemas/CallCancelResponseCallUsage"},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallCancelResponseCallReceipt"}]},"output":{"$ref":"#/components/schemas/CallCancelResponseSchema0"}},"required":["kind","callRef","toolRef","evidenceHash","usage","output"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"completed"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"evidenceHash":{"type":"string"},"usage":{"$ref":"#/components/schemas/CallCancelResponseCallUsage"},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallCancelResponseCallReceipt"}]},"contentExpiredAt":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Call content was deleted under the retention policy; the completed purchase and receipt remain valid."}},"required":["kind","callRef","toolRef","evidenceHash","usage","contentExpiredAt"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"pending"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"retryAfterMs":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["kind","callRef","toolRef","retryAfterMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"needs_authority"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"authorityRequest":{"type":"object","properties":{"kind":{"type":"string","enum":["approval_required","spending_policy"]},"toolRef":{"type":"string"},"consequence":{"type":"string","enum":["read_only","communication","external_effect"]},"retryClass":{"type":"string","enum":["replayable","attributable_retry","reconcile_before_retry"]},"maximumSpend":{"allOf":[{"$ref":"#/components/schemas/CallCancelResponseExactAmount"}]},"dataFields":{"type":"array","items":{"type":"string"}},"expiresAt":{"type":"string"}},"required":["kind","toolRef","consequence","retryClass","dataFields"],"additionalProperties":false}},"required":["kind","callRef","toolRef","authorityRequest"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"reconciliation_required"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"evidence":{"type":"object","properties":{"attemptRef":{"type":"string"},"effectGeneration":{"type":"number"},"requiredAt":{"type":"string"},"retry":{"type":"string","const":"reconcile_before_retry"},"evidenceSource":{"type":"string"}},"required":["attemptRef","effectGeneration","requiredAt","retry","evidenceSource"],"additionalProperties":false},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallCancelResponseCallReceipt"}]}},"required":["kind","callRef","toolRef","evidence"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"toolRef":{"type":"string"},"code":{"type":"string","enum":["operation_ref_invalid","operation_not_found","operation_not_current","operation_not_ready","operation_unsupported","input_invalid","grant_not_found","grant_revoked","grant_expired","grant_generation_stale","environment_mismatch","rate_limited","concurrency_limited","budget_exceeded","insufficient_balance","treasury_capacity_unavailable","commercial_policy_unavailable","idempotency_conflict","invocation_runtime_unavailable","authority_reader_unavailable","authority_required","authority_denied","provider_refused","provider_output_invalid","pre_release_failed","outcome_unknown","payment_lane_not_brokered","reconciliation_required","invocation_not_found","invocation_cancelled","lease_not_current","result_invalid","source_unavailable"]},"retryable":{"type":"boolean"},"nextAction":{"type":"string"},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallCancelResponseCallReceipt"}]}},"required":["kind","code","retryable"],"additionalProperties":false}]},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallCancelResponseCallReceipt"}]},"purchaseResolution":{"type":"object","properties":{"resolutionRef":{"type":"string","minLength":1},"recordDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"callRef":{"type":"string","minLength":1},"quoteRef":{"type":"string","minLength":1},"accountRef":{"type":"string","minLength":1},"customerRef":{"type":"string","minLength":1},"agentPrincipalRef":{"type":"string","minLength":1},"sellerRef":{"type":"string","minLength":1},"providerRef":{"type":"string","minLength":1},"paymentRecipientRef":{"type":"string","minLength":1},"terminalState":{"type":"string","enum":["completed","refunded","released","disputed"]},"deliveryState":{"type":"string","enum":["delivered","not_delivered","unknown"]},"paymentState":{"type":"string","enum":["settled","released","unknown","not_applicable"]},"considerationAmount":{"$ref":"#/components/schemas/CallCancelResponseExactAmount"},"considerationNetUnits":{"type":"string","pattern":"^\\d+$"},"considerationGstUnits":{"type":"string","pattern":"^\\d+$"},"providerObligationAmount":{"$ref":"#/components/schemas/CallCancelResponseExactAmount"},"resolvedAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resolutionRef","recordDigest","callRef","quoteRef","accountRef","customerRef","agentPrincipalRef","sellerRef","providerRef","paymentRecipientRef","terminalState","deliveryState","paymentState","considerationAmount","considerationNetUnits","considerationGstUnits","providerObligationAmount","resolvedAt"],"additionalProperties":false}},"required":["kind","callRef","version","toolRef","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unchanged"},"callRef":{"type":"string","minLength":1,"maxLength":300},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"retryAfterMs":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["kind","callRef","version","retryAfterMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"callRef":{"type":"string","minLength":1,"maxLength":300},"code":{"type":"string","enum":["invocation_not_found","grant_not_found","grant_revoked","grant_expired","grant_generation_stale","environment_mismatch","invocation_runtime_unavailable"]},"retryable":{"type":"boolean"},"nextAction":{"type":"string","minLength":1,"maxLength":300},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallCancelResponseCallReceipt"}]}},"required":["kind","callRef","code","retryable"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"reconciliation_required"},"callRef":{"type":"string","minLength":1,"maxLength":300},"toolRef":{"type":"string","minLength":1,"maxLength":300},"evidence":{"type":"object","properties":{"attemptRef":{"type":"string","minLength":1,"maxLength":300},"effectGeneration":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"requiredAt":{"type":"string","minLength":1,"maxLength":100},"retry":{"type":"string","const":"reconcile_before_retry"},"evidenceSource":{"type":"string","minLength":1,"maxLength":300}},"required":["attemptRef","effectGeneration","requiredAt","retry","evidenceSource"],"additionalProperties":false},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallCancelResponseCallReceipt"}]}},"required":["kind","callRef","toolRef","evidence"],"additionalProperties":false}]},"CallReconcileCallRefExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"CallReconcileRequestExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"CallReconcileRequest":{"type":"object","properties":{"evidence":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"action_invocation_reconciliation"},"version":{"type":"number","const":1},"evidenceRef":{"type":"string","minLength":1,"maxLength":300},"source":{"type":"string","minLength":1,"maxLength":300},"invocationRef":{"type":"string","minLength":1,"maxLength":300},"attemptRef":{"type":"string","minLength":1,"maxLength":300},"effectGeneration":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"operationRef":{"type":"string","minLength":1,"maxLength":300},"inputDigest":{"type":"string","minLength":1,"maxLength":300},"requestDigest":{"type":"string","minLength":1,"maxLength":300},"providerIdentity":{"type":"string","minLength":1,"maxLength":300},"paymentIdentifier":{"type":"string","minLength":1,"maxLength":300},"transportObservationDigest":{"type":"string","minLength":1,"maxLength":300},"paymentObservationDigest":{"type":"string","minLength":1,"maxLength":300},"resolution":{"type":"string","enum":["not_released","released"]},"observedAt":{"type":"string","minLength":1,"maxLength":80},"digest":{"type":"string","minLength":1,"maxLength":300}},"required":["kind","version","evidenceRef","source","invocationRef","attemptRef","effectGeneration","resolution","observedAt","digest"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"x402_payment_reconciliation"},"version":{"type":"number","const":1},"evidenceRef":{"type":"string","minLength":1,"maxLength":300},"source":{"type":"string","minLength":1,"maxLength":300},"invocationRef":{"type":"string","minLength":1,"maxLength":300},"attemptRef":{"type":"string","minLength":1,"maxLength":300},"effectGeneration":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"operationRef":{"type":"string","minLength":1,"maxLength":300},"inputDigest":{"type":"string","minLength":1,"maxLength":300},"requestDigest":{"type":"string","minLength":1,"maxLength":300},"transportObservationDigest":{"type":"string","minLength":1,"maxLength":300},"paymentObservationDigest":{"type":"string","minLength":1,"maxLength":300},"providerRef":{"type":"string","minLength":1,"maxLength":300},"paymentIdentifier":{"type":"string","minLength":1,"maxLength":300},"reservationRef":{"type":"string","minLength":1,"maxLength":300},"challengeDigest":{"type":"string","minLength":1,"maxLength":300},"amount":{"$ref":"#/components/schemas/CallReconcileRequestExactAmount"},"settlementStatus":{"type":"string","enum":["settled","not_settled"]},"paymentResponseDigest":{"type":"string","minLength":1,"maxLength":300},"transactionHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"observedAt":{"type":"string","minLength":1,"maxLength":80},"digest":{"type":"string","minLength":1,"maxLength":300}},"required":["kind","version","evidenceRef","source","invocationRef","attemptRef","effectGeneration","operationRef","inputDigest","requestDigest","transportObservationDigest","paymentObservationDigest","providerRef","paymentIdentifier","reservationRef","challengeDigest","amount","settlementStatus","paymentResponseDigest","transactionHash","observedAt","digest"],"additionalProperties":false}]},"idempotencyKey":{"type":"string","minLength":1,"maxLength":200}},"required":["evidence","idempotencyKey"]},"CallReconcileResponseSchema0":{"anyOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"$ref":"#/components/schemas/CallReconcileResponseSchema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/CallReconcileResponseSchema0"}}]},"CallReconcileResponseCallUsage":{"type":"object","properties":{"usageRef":{"type":"string","minLength":1},"observedAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"chargeState":{"type":"string","enum":["free_tier","paid","insufficient_credit","outcome_unknown","refunded"]},"amount":{"$ref":"#/components/schemas/CallReconcileResponseExactAmount"},"priceDigest":{"type":"string","minLength":1},"transactionRef":{"type":"string","minLength":1},"durationMs":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["usageRef","observedAt","chargeState","amount","priceDigest"],"additionalProperties":false},"CallReconcileResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"CallReconcileResponseCallReceipt":{"type":"object","properties":{"receiptRef":{"type":"string","minLength":1},"state":{"type":"string","enum":["settled","refunded","reconciliation_required"]},"priceDigest":{"type":"string","minLength":1},"transactionRef":{"type":"string","minLength":1},"accountingTransactionRefs":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"refundState":{"type":"string","enum":["released","not_applicable","unknown"]},"lossState":{"type":"string","enum":["none","provider_output_invalid","provider_http_error","unknown"]},"externalSettlementRef":{"type":"string","minLength":1},"evidenceHash":{"type":"string","minLength":1},"issuedAt":{"type":"string","minLength":1},"commercialModel":{"type":"string","const":"account_aud"},"buyerCharge":{"$ref":"#/components/schemas/CallReconcileResponseExactAmount"},"serviceFee":{"$ref":"#/components/schemas/CallReconcileResponseExactAmount"},"totalBuyerCharge":{"$ref":"#/components/schemas/CallReconcileResponseExactAmount"},"providerObligation":{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/CallReconcileResponseExactAmount"},"settlementMethod":{"type":"string","const":"managed_x402"},"payoutEligible":{"type":"boolean","const":false}},"required":["amount","settlementMethod","payoutEligible"],"additionalProperties":false},"providerSettlement":{"anyOf":[{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/CallReconcileResponseExactAmount"},"transactionHash":{"type":"string","minLength":1},"paymentIdentifier":{"type":"string","minLength":1},"network":{"type":"string","const":"eip155:8453"},"asset":{"type":"string","const":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}},"required":["amount","network","asset"],"additionalProperties":false},{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/CallReconcileResponseExactAmount"},"transactionHash":{"type":"string","minLength":1},"paymentIdentifier":{"type":"string","minLength":1},"network":{"type":"string","const":"eip155:84532"},"asset":{"type":"string","const":"0x036CbD53842c5426634e7929541eC2318f3dCF7e"}},"required":["amount","network","asset"],"additionalProperties":false}]}},"required":["receiptRef","state","priceDigest","evidenceHash","issuedAt","commercialModel","buyerCharge","serviceFee","totalBuyerCharge","providerObligation","providerSettlement"],"additionalProperties":false},"CallReconcileResponse":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"found"},"callRef":{"type":"string","minLength":1,"maxLength":300},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"toolRef":{"type":"string","minLength":1,"maxLength":300},"previousInput":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/CallReconcileResponseSchema0"}},"state":{"type":"string","enum":["gathering_information","awaiting_authority","authorized","leased","in_progress","retryable","reconciliation_required","terminal","cancelled","invalidated"]},"usage":{"allOf":[{"$ref":"#/components/schemas/CallReconcileResponseCallUsage"}]},"evidenceHash":{"type":"string","minLength":1,"maxLength":300},"attemptRef":{"type":"string","minLength":1,"maxLength":300},"effectGeneration":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"result":{"anyOf":[{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"completed"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"evidenceHash":{"type":"string"},"usage":{"$ref":"#/components/schemas/CallReconcileResponseCallUsage"},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallReconcileResponseCallReceipt"}]},"output":{"$ref":"#/components/schemas/CallReconcileResponseSchema0"}},"required":["kind","callRef","toolRef","evidenceHash","usage","output"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"completed"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"evidenceHash":{"type":"string"},"usage":{"$ref":"#/components/schemas/CallReconcileResponseCallUsage"},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallReconcileResponseCallReceipt"}]},"contentExpiredAt":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Call content was deleted under the retention policy; the completed purchase and receipt remain valid."}},"required":["kind","callRef","toolRef","evidenceHash","usage","contentExpiredAt"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"pending"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"retryAfterMs":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["kind","callRef","toolRef","retryAfterMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"needs_authority"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"authorityRequest":{"type":"object","properties":{"kind":{"type":"string","enum":["approval_required","spending_policy"]},"toolRef":{"type":"string"},"consequence":{"type":"string","enum":["read_only","communication","external_effect"]},"retryClass":{"type":"string","enum":["replayable","attributable_retry","reconcile_before_retry"]},"maximumSpend":{"allOf":[{"$ref":"#/components/schemas/CallReconcileResponseExactAmount"}]},"dataFields":{"type":"array","items":{"type":"string"}},"expiresAt":{"type":"string"}},"required":["kind","toolRef","consequence","retryClass","dataFields"],"additionalProperties":false}},"required":["kind","callRef","toolRef","authorityRequest"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"reconciliation_required"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"evidence":{"type":"object","properties":{"attemptRef":{"type":"string"},"effectGeneration":{"type":"number"},"requiredAt":{"type":"string"},"retry":{"type":"string","const":"reconcile_before_retry"},"evidenceSource":{"type":"string"}},"required":["attemptRef","effectGeneration","requiredAt","retry","evidenceSource"],"additionalProperties":false},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallReconcileResponseCallReceipt"}]}},"required":["kind","callRef","toolRef","evidence"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"toolRef":{"type":"string"},"code":{"type":"string","enum":["operation_ref_invalid","operation_not_found","operation_not_current","operation_not_ready","operation_unsupported","input_invalid","grant_not_found","grant_revoked","grant_expired","grant_generation_stale","environment_mismatch","rate_limited","concurrency_limited","budget_exceeded","insufficient_balance","treasury_capacity_unavailable","commercial_policy_unavailable","idempotency_conflict","invocation_runtime_unavailable","authority_reader_unavailable","authority_required","authority_denied","provider_refused","provider_output_invalid","pre_release_failed","outcome_unknown","payment_lane_not_brokered","reconciliation_required","invocation_not_found","invocation_cancelled","lease_not_current","result_invalid","source_unavailable"]},"retryable":{"type":"boolean"},"nextAction":{"type":"string"},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallReconcileResponseCallReceipt"}]}},"required":["kind","code","retryable"],"additionalProperties":false}]},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallReconcileResponseCallReceipt"}]},"purchaseResolution":{"type":"object","properties":{"resolutionRef":{"type":"string","minLength":1},"recordDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"callRef":{"type":"string","minLength":1},"quoteRef":{"type":"string","minLength":1},"accountRef":{"type":"string","minLength":1},"customerRef":{"type":"string","minLength":1},"agentPrincipalRef":{"type":"string","minLength":1},"sellerRef":{"type":"string","minLength":1},"providerRef":{"type":"string","minLength":1},"paymentRecipientRef":{"type":"string","minLength":1},"terminalState":{"type":"string","enum":["completed","refunded","released","disputed"]},"deliveryState":{"type":"string","enum":["delivered","not_delivered","unknown"]},"paymentState":{"type":"string","enum":["settled","released","unknown","not_applicable"]},"considerationAmount":{"$ref":"#/components/schemas/CallReconcileResponseExactAmount"},"considerationNetUnits":{"type":"string","pattern":"^\\d+$"},"considerationGstUnits":{"type":"string","pattern":"^\\d+$"},"providerObligationAmount":{"$ref":"#/components/schemas/CallReconcileResponseExactAmount"},"resolvedAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resolutionRef","recordDigest","callRef","quoteRef","accountRef","customerRef","agentPrincipalRef","sellerRef","providerRef","paymentRecipientRef","terminalState","deliveryState","paymentState","considerationAmount","considerationNetUnits","considerationGstUnits","providerObligationAmount","resolvedAt"],"additionalProperties":false}},"required":["kind","callRef","version","toolRef","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unchanged"},"callRef":{"type":"string","minLength":1,"maxLength":300},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"retryAfterMs":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["kind","callRef","version","retryAfterMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"callRef":{"type":"string","minLength":1,"maxLength":300},"code":{"type":"string","enum":["invocation_not_found","grant_not_found","grant_revoked","grant_expired","grant_generation_stale","environment_mismatch","invocation_runtime_unavailable"]},"retryable":{"type":"boolean"},"nextAction":{"type":"string","minLength":1,"maxLength":300},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallReconcileResponseCallReceipt"}]}},"required":["kind","callRef","code","retryable"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"reconciliation_required"},"callRef":{"type":"string","minLength":1,"maxLength":300},"toolRef":{"type":"string","minLength":1,"maxLength":300},"evidence":{"type":"object","properties":{"attemptRef":{"type":"string","minLength":1,"maxLength":300},"effectGeneration":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"requiredAt":{"type":"string","minLength":1,"maxLength":100},"retry":{"type":"string","const":"reconcile_before_retry"},"evidenceSource":{"type":"string","minLength":1,"maxLength":300}},"required":["attemptRef","effectGeneration","requiredAt","retry","evidenceSource"],"additionalProperties":false},"receipt":{"allOf":[{"$ref":"#/components/schemas/CallReconcileResponseCallReceipt"}]}},"required":["kind","callRef","toolRef","evidence"],"additionalProperties":false}]},"RegistryToolsListRequestExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"RegistryToolsListRequest":{"type":"object","properties":{"source":{"type":"string","enum":["current","coinbase","payai"]},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","maxLength":8192},"filters":{"type":"object","properties":{"actionClass":{"type":"string","enum":["retrieve","transform","analyze","create","mutate","other","unclassified"]},"objectClass":{"type":"string","enum":["web","document","image","location","chain","data","other","unclassified"]},"category":{"type":"string","maxLength":80},"provider":{"type":"string","maxLength":200},"access":{"type":"string","enum":["ae_callable","external_listing"]},"priceBand":{"type":"string","enum":["lt_0_01","0_01_to_0_03","0_03_to_0_10","0_10_to_1","1_to_10","10_plus","unknown"]},"networkId":{"type":"string","minLength":1,"maxLength":200},"location":{"type":"string","minLength":1,"maxLength":200},"effects":{"maxItems":3,"type":"array","items":{"type":"string","enum":["data_release","financial_exposure","external_state_change"]}},"dataUse":{"maxItems":4,"type":"array","items":{"type":"string","enum":["public","personal","sensitive","credential"]}},"healthStatus":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"string","enum":["operational","degraded","unverified"]}},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"maximumPrice":{"allOf":[{"$ref":"#/components/schemas/RegistryToolsListRequestExactAmount"}]}},"additionalProperties":false}},"additionalProperties":false,"required":[]},"RegistryToolsListResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"RegistryToolsListResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"ok"},"schemaVersion":{"type":"string","const":"registry-tools:v3"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"partialResults":{"type":"boolean"},"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"toolRef":{"type":"string"},"capabilityId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"provider":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["name","slug"],"additionalProperties":false},"priceLabel":{"type":"string"},"displayPrice":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"indicative"},"amount":{"$ref":"#/components/schemas/RegistryToolsListResponseExactAmount"},"rateObservedAt":{"type":"number"},"validUntil":{"type":"number"}},"required":["kind","amount","rateObservedAt","validUntil"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unavailable"},"reason":{"type":"string","enum":["upstream_price_missing","unsupported_payment"]}},"required":["kind","reason"],"additionalProperties":false}]},"healthStatus":{"type":"string","enum":["operational","degraded","unverified"]},"verification":{"type":"string","enum":["verified","not_verified"]},"network":{"type":"string","enum":["mainnet","testnet","unknown"]},"claimSource":{"type":"string","enum":["provider","listing"]},"lastCheckedAt":{"type":"number"},"lastHealthyAt":{"type":"number"},"listingTier":{"type":"string","enum":["reviewed","listed"]},"canonicalUrl":{"type":"string"}},"required":["toolRef","capabilityId","title","description","provider","priceLabel","healthStatus","verification","network","claimSource","listingTier"],"additionalProperties":false}},"pagination":{"type":"object","properties":{"limit":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"nextCursor":{"type":"string"},"hasMore":{"type":"boolean"}},"required":["limit","hasMore"],"additionalProperties":false},"freshness":{"type":"object","properties":{"source":{"type":"string","const":"supply_projection"},"state":{"type":"string","enum":["absent","failed","stale","fresh"]},"completedAt":{"type":"number"},"staleAfterMs":{"type":"number"}},"required":["source","state","staleAfterMs"],"additionalProperties":false}},"required":["kind","schemaVersion","count","items","pagination"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unavailable"},"schemaVersion":{"type":"string","const":"registry-tools:v3"},"reason":{"type":"string","enum":["query_invalid","source_unavailable","source_capacity_exceeded"]}},"required":["kind","schemaVersion","reason"],"additionalProperties":false}]},"RegistryToolsSearchRequestExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"RegistryToolsSearchRequest":{"type":"object","properties":{"source":{"type":"string","enum":["current","coinbase"]},"query":{"type":"string","minLength":1,"maxLength":200},"limit":{"default":8,"type":"integer","minimum":1,"maximum":12},"cursor":{"type":"string","maxLength":8192},"filters":{"type":"object","properties":{"actionClass":{"type":"string","enum":["retrieve","transform","analyze","create","mutate","other","unclassified"]},"objectClass":{"type":"string","enum":["web","document","image","location","chain","data","other","unclassified"]},"category":{"type":"string","maxLength":80},"provider":{"type":"string","maxLength":200},"access":{"type":"string","enum":["ae_callable","external_listing"]},"priceBand":{"type":"string","enum":["lt_0_01","0_01_to_0_03","0_03_to_0_10","0_10_to_1","1_to_10","10_plus","unknown"]},"networkId":{"type":"string","minLength":1,"maxLength":200},"location":{"type":"string","minLength":1,"maxLength":200},"effects":{"maxItems":3,"type":"array","items":{"type":"string","enum":["data_release","financial_exposure","external_state_change"]}},"dataUse":{"maxItems":4,"type":"array","items":{"type":"string","enum":["public","personal","sensitive","credential"]}},"healthStatus":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"string","enum":["operational","degraded","unverified"]}},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"maximumPrice":{"allOf":[{"$ref":"#/components/schemas/RegistryToolsSearchRequestExactAmount"}]}},"additionalProperties":false}},"required":["query"],"additionalProperties":false},"RegistryToolsSearchResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"RegistryToolsSearchResponse":{"oneOf":[{"type":"object","properties":{"schemaVersion":{"type":"string","const":"registry-tools:v3"},"query":{"type":"string"},"partialResults":{"type":"boolean"},"recipient":{"type":"object","properties":{"label":{"type":"string"},"host":{"type":"string"},"data":{"type":"string","const":"query and candidate summaries"}},"required":["label","host","data"],"additionalProperties":false},"recommendation":{"type":"object","properties":{"toolRef":{"type":"string"},"by":{"type":"string","minLength":1,"maxLength":80}},"required":["toolRef","by"],"additionalProperties":false},"freshness":{"type":"object","properties":{"source":{"type":"string","const":"supply_projection"},"state":{"type":"string","enum":["absent","failed","stale","fresh"]},"completedAt":{"type":"number"},"staleAfterMs":{"type":"number"}},"required":["source","state","staleAfterMs"],"additionalProperties":false},"assessed":{"type":"object","properties":{"source":{"type":"string","enum":["current","coinbase","all"]},"scope":{"type":"string","enum":["complete","page"]},"examined":{"type":"integer","minimum":0,"maximum":9007199254740991},"coverage":{"type":"string","enum":["complete","partial"]},"generation":{"type":"string"},"completedAt":{"type":"number"}},"required":["source","scope","examined","coverage"],"additionalProperties":false},"pagination":{"type":"object","properties":{"limit":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"nextCursor":{"type":"string"},"hasMore":{"type":"boolean"}},"required":["limit","hasMore"],"additionalProperties":false},"next":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"describe"},"args":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["toolRef"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"describe-external"},"args":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"next-page"},"args":{"type":"object","properties":{"query":{"type":"string"},"cursor":{"type":"string"}},"required":["query","cursor"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"broaden"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"retry"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false}]}},"kind":{"type":"string","const":"match"},"results":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"source":{"type":"string","enum":["current","coinbase"]},"access":{"type":"string","enum":["ae_callable","external_listing","setup_required","unavailable"]},"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"},"sourceRouteRef":{"type":"string","maxLength":8192},"sourcePrice":{"type":"string","maxLength":80},"title":{"type":"string","maxLength":72},"summary":{"type":"string","maxLength":100},"provider":{"type":"string","maxLength":48},"host":{"type":"string","maxLength":300},"resourcePath":{"type":"string","maxLength":512},"networkLabel":{"type":"string","maxLength":128},"actionClass":{"type":"string","enum":["retrieve","transform","analyze","create","mutate","other","unclassified"]},"objectClass":{"type":"string","enum":["web","document","image","location","chain","data","other","unclassified"]},"category":{"type":"string","maxLength":80},"readiness":{"type":"string","enum":["ready","unverified","unavailable"]},"price":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"indicative"},"label":{"type":"string"},"validUntil":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","label"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unavailable"}},"required":["kind"],"additionalProperties":false}]},"detailRef":{"type":"string"},"next":{"minItems":1,"maxItems":1,"type":"array","items":{"oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"describe"},"args":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["toolRef"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"describe-external"},"args":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"next-page"},"args":{"type":"object","properties":{"query":{"type":"string"},"cursor":{"type":"string"}},"required":["query","cursor"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"broaden"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"retry"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false}]}},"freshness":{"anyOf":[{"type":"object","properties":{"source":{"type":"string","const":"supply_projection"},"state":{"type":"string","enum":["absent","failed","stale","fresh"]},"completedAt":{"type":"number"},"staleAfterMs":{"type":"number"}},"required":["source","state","staleAfterMs"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"string","const":"x402_directory"},"state":{"type":"string","enum":["absent","failed","stale","fresh"]},"completedAt":{"type":"number"},"staleAfterMs":{"type":"number"}},"required":["source","state","staleAfterMs"],"additionalProperties":false}]}},"required":["id","source","access","title","summary","provider","actionClass","objectClass","readiness","price","detailRef","next"],"additionalProperties":false}}},"required":["schemaVersion","query","partialResults","assessed","pagination","next","kind","results"],"additionalProperties":false},{"type":"object","properties":{"schemaVersion":{"type":"string","const":"registry-tools:v3"},"query":{"type":"string"},"partialResults":{"type":"boolean"},"recipient":{"type":"object","properties":{"label":{"type":"string"},"host":{"type":"string"},"data":{"type":"string","const":"query and candidate summaries"}},"required":["label","host","data"],"additionalProperties":false},"recommendation":{"type":"object","properties":{"toolRef":{"type":"string"},"by":{"type":"string","minLength":1,"maxLength":80}},"required":["toolRef","by"],"additionalProperties":false},"freshness":{"type":"object","properties":{"source":{"type":"string","const":"supply_projection"},"state":{"type":"string","enum":["absent","failed","stale","fresh"]},"completedAt":{"type":"number"},"staleAfterMs":{"type":"number"}},"required":["source","state","staleAfterMs"],"additionalProperties":false},"assessed":{"type":"object","properties":{"source":{"type":"string","enum":["current","coinbase","all"]},"scope":{"type":"string","enum":["complete","page"]},"examined":{"type":"integer","minimum":0,"maximum":9007199254740991},"coverage":{"type":"string","enum":["complete","partial"]},"generation":{"type":"string"},"completedAt":{"type":"number"}},"required":["source","scope","examined","coverage"],"additionalProperties":false},"pagination":{"type":"object","properties":{"limit":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"nextCursor":{"type":"string"},"hasMore":{"type":"boolean"}},"required":["limit","hasMore"],"additionalProperties":false},"next":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"describe"},"args":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["toolRef"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"describe-external"},"args":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"next-page"},"args":{"type":"object","properties":{"query":{"type":"string"},"cursor":{"type":"string"}},"required":["query","cursor"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"broaden"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"retry"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false}]}},"kind":{"type":"string","const":"scoped"},"results":{"maxItems":12,"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"source":{"type":"string","enum":["current","coinbase"]},"access":{"type":"string","enum":["ae_callable","external_listing","setup_required","unavailable"]},"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"},"sourceRouteRef":{"type":"string","maxLength":8192},"sourcePrice":{"type":"string","maxLength":80},"title":{"type":"string","maxLength":72},"summary":{"type":"string","maxLength":100},"provider":{"type":"string","maxLength":48},"host":{"type":"string","maxLength":300},"resourcePath":{"type":"string","maxLength":512},"networkLabel":{"type":"string","maxLength":128},"actionClass":{"type":"string","enum":["retrieve","transform","analyze","create","mutate","other","unclassified"]},"objectClass":{"type":"string","enum":["web","document","image","location","chain","data","other","unclassified"]},"category":{"type":"string","maxLength":80},"readiness":{"type":"string","enum":["ready","unverified","unavailable"]},"price":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"indicative"},"label":{"type":"string"},"validUntil":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","label"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unavailable"}},"required":["kind"],"additionalProperties":false}]},"detailRef":{"type":"string"},"next":{"minItems":1,"maxItems":1,"type":"array","items":{"oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"describe"},"args":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["toolRef"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"describe-external"},"args":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"next-page"},"args":{"type":"object","properties":{"query":{"type":"string"},"cursor":{"type":"string"}},"required":["query","cursor"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"broaden"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"retry"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false}]}},"freshness":{"anyOf":[{"type":"object","properties":{"source":{"type":"string","const":"supply_projection"},"state":{"type":"string","enum":["absent","failed","stale","fresh"]},"completedAt":{"type":"number"},"staleAfterMs":{"type":"number"}},"required":["source","state","staleAfterMs"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"string","const":"x402_directory"},"state":{"type":"string","enum":["absent","failed","stale","fresh"]},"completedAt":{"type":"number"},"staleAfterMs":{"type":"number"}},"required":["source","state","staleAfterMs"],"additionalProperties":false}]}},"required":["id","source","access","title","summary","provider","actionClass","objectClass","readiness","price","detailRef","next"],"additionalProperties":false}},"reason":{"type":"string"}},"required":["schemaVersion","query","partialResults","assessed","pagination","next","kind","results","reason"],"additionalProperties":false},{"type":"object","properties":{"schemaVersion":{"type":"string","const":"registry-tools:v3"},"query":{"type":"string"},"partialResults":{"type":"boolean"},"recipient":{"type":"object","properties":{"label":{"type":"string"},"host":{"type":"string"},"data":{"type":"string","const":"query and candidate summaries"}},"required":["label","host","data"],"additionalProperties":false},"recommendation":{"type":"object","properties":{"toolRef":{"type":"string"},"by":{"type":"string","minLength":1,"maxLength":80}},"required":["toolRef","by"],"additionalProperties":false},"freshness":{"type":"object","properties":{"source":{"type":"string","const":"supply_projection"},"state":{"type":"string","enum":["absent","failed","stale","fresh"]},"completedAt":{"type":"number"},"staleAfterMs":{"type":"number"}},"required":["source","state","staleAfterMs"],"additionalProperties":false},"assessed":{"type":"object","properties":{"source":{"type":"string","enum":["current","coinbase","all"]},"scope":{"type":"string","enum":["complete","page"]},"examined":{"type":"integer","minimum":0,"maximum":9007199254740991},"coverage":{"type":"string","enum":["complete","partial"]},"generation":{"type":"string"},"completedAt":{"type":"number"}},"required":["source","scope","examined","coverage"],"additionalProperties":false},"pagination":{"type":"object","properties":{"limit":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"nextCursor":{"type":"string"},"hasMore":{"type":"boolean"}},"required":["limit","hasMore"],"additionalProperties":false},"next":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"describe"},"args":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["toolRef"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"describe-external"},"args":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"next-page"},"args":{"type":"object","properties":{"query":{"type":"string"},"cursor":{"type":"string"}},"required":["query","cursor"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"broaden"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"retry"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false}]}},"kind":{"type":"string","const":"noMatch"},"results":{"type":"array","items":[]},"reason":{"type":"string"},"saveNeed":{"type":"object","properties":{"action":{"type":"string","const":"marketDemand.record"},"args":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"source":{"type":"string","enum":["current","coinbase"]},"filters":{"type":"object","properties":{"actionClass":{"type":"string","enum":["retrieve","transform","analyze","create","mutate","other","unclassified"]},"objectClass":{"type":"string","enum":["web","document","image","location","chain","data","other","unclassified"]},"category":{"type":"string","maxLength":80},"provider":{"type":"string","maxLength":200},"access":{"type":"string","enum":["ae_callable","external_listing"]},"priceBand":{"type":"string","enum":["lt_0_01","0_01_to_0_03","0_03_to_0_10","0_10_to_1","1_to_10","10_plus","unknown"]},"networkId":{"type":"string","minLength":1,"maxLength":200},"location":{"type":"string","minLength":1,"maxLength":200},"effects":{"maxItems":3,"type":"array","items":{"type":"string","enum":["data_release","financial_exposure","external_state_change"]}},"dataUse":{"maxItems":4,"type":"array","items":{"type":"string","enum":["public","personal","sensitive","credential"]}},"healthStatus":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"string","enum":["operational","degraded","unverified"]}},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"maximumPrice":{"allOf":[{"$ref":"#/components/schemas/RegistryToolsSearchResponseExactAmount"}]}},"additionalProperties":false}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"owner_or_connected_agent"}},"required":["action","args","authority"],"additionalProperties":false}},"required":["schemaVersion","query","partialResults","assessed","pagination","next","kind","results","reason"],"additionalProperties":false},{"type":"object","properties":{"schemaVersion":{"type":"string","const":"registry-tools:v3"},"query":{"type":"string"},"partialResults":{"type":"boolean"},"recipient":{"type":"object","properties":{"label":{"type":"string"},"host":{"type":"string"},"data":{"type":"string","const":"query and candidate summaries"}},"required":["label","host","data"],"additionalProperties":false},"recommendation":{"type":"object","properties":{"toolRef":{"type":"string"},"by":{"type":"string","minLength":1,"maxLength":80}},"required":["toolRef","by"],"additionalProperties":false},"freshness":{"type":"object","properties":{"source":{"type":"string","const":"supply_projection"},"state":{"type":"string","enum":["absent","failed","stale","fresh"]},"completedAt":{"type":"number"},"staleAfterMs":{"type":"number"}},"required":["source","state","staleAfterMs"],"additionalProperties":false},"assessed":{"type":"object","properties":{"source":{"type":"string","enum":["current","coinbase","all"]},"scope":{"type":"string","enum":["complete","page"]},"examined":{"type":"integer","minimum":0,"maximum":9007199254740991},"coverage":{"type":"string","enum":["complete","partial"]},"generation":{"type":"string"},"completedAt":{"type":"number"}},"required":["source","scope","examined","coverage"],"additionalProperties":false},"pagination":{"type":"object","properties":{"limit":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"nextCursor":{"type":"string"},"hasMore":{"type":"boolean"}},"required":["limit","hasMore"],"additionalProperties":false},"next":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"describe"},"args":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["toolRef"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"describe-external"},"args":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"next-page"},"args":{"type":"object","properties":{"query":{"type":"string"},"cursor":{"type":"string"}},"required":["query","cursor"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"broaden"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"retry"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false}]}},"kind":{"type":"string","const":"unavailable"},"results":{"type":"array","items":[]},"reason":{"type":"string","enum":["source_unavailable","capacity_exceeded"]}},"required":["schemaVersion","query","partialResults","assessed","pagination","next","kind","results","reason"],"additionalProperties":false}]},"RegistryToolsDescribeRequest":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["toolRef"],"additionalProperties":false},"RegistryToolsDescribeResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"RegistryToolsDescribeResponseSchema0":{"anyOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"$ref":"#/components/schemas/RegistryToolsDescribeResponseSchema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/RegistryToolsDescribeResponseSchema0"}}]},"RegistryToolsDescribeResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"found"},"schemaVersion":{"type":"string","const":"registry-tools:v3"},"tool":{"type":"object","properties":{"toolRef":{"type":"string"},"capabilityId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"provider":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["name","slug"],"additionalProperties":false},"priceLabel":{"type":"string"},"displayPrice":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"indicative"},"amount":{"$ref":"#/components/schemas/RegistryToolsDescribeResponseExactAmount"},"rateObservedAt":{"type":"number"},"validUntil":{"type":"number"}},"required":["kind","amount","rateObservedAt","validUntil"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unavailable"},"reason":{"type":"string","enum":["upstream_price_missing","unsupported_payment"]}},"required":["kind","reason"],"additionalProperties":false}]},"commercialPrice":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"amount":{"description":"Exact executable price: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryToolsDescribeResponseExactAmount"}]}},"required":["kind","amount"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"range"},"minimum":{"description":"Exact executable lower price: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryToolsDescribeResponseExactAmount"}]},"maximum":{"description":"Exact executable upper price: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryToolsDescribeResponseExactAmount"}]}},"required":["kind","minimum","maximum"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"on_request"}},"required":["kind"],"additionalProperties":false}]},"healthStatus":{"type":"string","enum":["operational","degraded","unverified"]},"readiness":{"type":"string","enum":["ready","unverified","unavailable"]},"verification":{"type":"string","enum":["verified","not_verified"]},"network":{"type":"string","enum":["mainnet","testnet","unknown"]},"claimSource":{"type":"string","enum":["provider","listing"]},"lastCheckedAt":{"type":"number"},"lastHealthyAt":{"type":"number"},"inputJsonSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/RegistryToolsDescribeResponseSchema0"}},"outputJsonSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/RegistryToolsDescribeResponseSchema0"}},"materialTerms":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}},"required":["label","value"],"additionalProperties":false}},"dataUse":{"type":"array","items":{"type":"object","properties":{"effectId":{"type":"string"},"inputPointer":{"type":"string"},"classification":{"type":"string","enum":["public","personal","sensitive","credential"]},"phase":{"type":"string","enum":["preparation","execution"]},"recipient":{"type":"string","enum":["candidate_binding","selected_binding","named_recipient"]},"purposes":{"type":"array","items":{"type":"string"}}},"required":["effectId","inputPointer","classification","phase","recipient","purposes"],"additionalProperties":false}},"effects":{"type":"array","items":{"type":"object","properties":{"effectId":{"type":"string"},"class":{"type":"string","enum":["data_release","financial_exposure","external_state_change"]},"authority":{"type":"string","enum":["none","explicit","mandate_or_explicit"]},"reversibility":{"type":"string","enum":["not_applicable","reversible","conditional","irreversible"]}},"required":["effectId","class","authority","reversibility"],"additionalProperties":false}},"evidence":{"type":"array","items":{"type":"object","properties":{"evidenceId":{"type":"string"},"outputPointer":{"type":"string"},"purpose":{"type":"string","enum":["comparison","completion","recovery"]}},"required":["evidenceId","outputPointer","purpose"],"additionalProperties":false}},"authentication":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"ae_api_key"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"platform_credential"},"scheme":{"type":"string","const":"api_key"},"in":{"type":"string","enum":["query","header"]},"name":{"type":"string"}},"required":["kind","scheme","in","name"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"platform_credential"},"scheme":{"type":"string","const":"bearer"}},"required":["kind","scheme"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"x402"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unknown"}},"required":["kind"],"additionalProperties":false}]},"payment":{"type":"object","properties":{"protocol":{"type":"string","const":"x402"},"scheme":{"type":"string","const":"exact"},"network":{"type":"string"},"asset":{"type":"string"},"currency":{"type":"string"}},"required":["protocol","scheme","network","asset","currency"],"additionalProperties":false},"parameters":{"type":"array","items":{"type":"object","properties":{"group":{"type":"string","enum":["body","path","query","header"]},"name":{"type":"string"},"type":{"type":"string"},"description":{"type":"string"},"example":{"allOf":[{"$ref":"#/components/schemas/RegistryToolsDescribeResponseSchema0"}]},"enumValues":{"type":"array","items":{"type":"string"}},"default":{"allOf":[{"$ref":"#/components/schemas/RegistryToolsDescribeResponseSchema0"}]},"required":{"type":"boolean"},"style":{"type":"string","enum":["form","simple"]},"explode":{"type":"boolean"}},"required":["group","name","type","required"],"additionalProperties":false}},"listingTier":{"type":"string","enum":["reviewed","listed"]},"canonicalUrl":{"type":"string"}},"required":["toolRef","capabilityId","title","description","provider","priceLabel","commercialPrice","healthStatus","readiness","verification","network","claimSource","inputJsonSchema","outputJsonSchema","materialTerms","dataUse","effects","evidence","authentication","listingTier"],"additionalProperties":false}},"required":["kind","schemaVersion","tool"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"},"schemaVersion":{"type":"string","const":"registry-tools:v3"},"toolRef":{"type":"string"}},"required":["kind","schemaVersion","toolRef"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unavailable"},"schemaVersion":{"type":"string","const":"registry-tools:v3"},"toolRef":{"type":"string"},"reason":{"type":"string"}},"required":["kind","schemaVersion","toolRef","reason"],"additionalProperties":false}]},"RegistryToolsCompareRequest":{"type":"object","properties":{"toolRefs":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}}},"required":["toolRefs"],"additionalProperties":false},"RegistryToolsCompareResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"RegistryToolsCompareResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"ok"},"schemaVersion":{"type":"string","const":"registry-tools:v3"},"tools":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"object","properties":{"toolRef":{"type":"string"},"capabilityId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"provider":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["name","slug"],"additionalProperties":false},"priceLabel":{"type":"string"},"displayPrice":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"indicative"},"amount":{"$ref":"#/components/schemas/RegistryToolsCompareResponseExactAmount"},"rateObservedAt":{"type":"number"},"validUntil":{"type":"number"}},"required":["kind","amount","rateObservedAt","validUntil"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unavailable"},"reason":{"type":"string","enum":["upstream_price_missing","unsupported_payment"]}},"required":["kind","reason"],"additionalProperties":false}]},"healthStatus":{"type":"string","enum":["operational","degraded","unverified"]},"verification":{"type":"string","enum":["verified","not_verified"]},"network":{"type":"string","enum":["mainnet","testnet","unknown"]},"claimSource":{"type":"string","enum":["provider","listing"]},"lastCheckedAt":{"type":"number"},"lastHealthyAt":{"type":"number"},"listingTier":{"type":"string","enum":["reviewed","listed"]},"canonicalUrl":{"type":"string"}},"required":["toolRef","capabilityId","title","description","provider","priceLabel","healthStatus","verification","network","claimSource","listingTier"],"additionalProperties":false}},"missing":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string"}}},"required":["kind","schemaVersion","tools"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unavailable"},"schemaVersion":{"type":"string","const":"registry-tools:v3"},"reason":{"type":"string","enum":["query_invalid","tool_not_found","tool_unavailable"]}},"required":["kind","schemaVersion","reason"],"additionalProperties":false}]},"FundingConstraintsResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"FundingConstraintsResponse":{"type":"object","properties":{"kind":{"type":"string","const":"funding_constraints"},"contractVersion":{"type":"string","const":"ae-funding-quote:v3"},"currency":{"type":"string","const":"AUD"},"minimum":{"$ref":"#/components/schemas/FundingConstraintsResponseExactAmount"},"maximum":{"$ref":"#/components/schemas/FundingConstraintsResponseExactAmount"},"increment":{"$ref":"#/components/schemas/FundingConstraintsResponseExactAmount"},"serviceFeeBps":{"type":"integer","minimum":0,"maximum":10000},"taxOnServiceFeeBps":{"type":"integer","minimum":0,"maximum":10000},"amountMeaning":{"type":"string","const":"account_aud_principal"},"quotePath":{"type":"string","const":"/api/v1/funding/quote"}},"required":["kind","contractVersion","currency","minimum","maximum","increment","serviceFeeBps","taxOnServiceFeeBps","amountMeaning","quotePath"],"additionalProperties":false},"FundingQuoteRequestExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"FundingQuoteRequest":{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/FundingQuoteRequestExactAmount"}},"required":["amount"],"additionalProperties":false},"FundingQuoteResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"FundingQuoteResponse":{"type":"object","properties":{"kind":{"type":"string","const":"funding_quote"},"contractVersion":{"type":"string","const":"ae-funding-quote:v3"},"quoteRef":{"type":"string","minLength":1},"binding":{"type":"boolean","const":false},"generatedAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"expiresAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"principalAmount":{"$ref":"#/components/schemas/FundingQuoteResponseExactAmount"},"serviceFee":{"$ref":"#/components/schemas/FundingQuoteResponseExactAmount"},"taxOnServiceFee":{"$ref":"#/components/schemas/FundingQuoteResponseExactAmount"},"totalPayment":{"$ref":"#/components/schemas/FundingQuoteResponseExactAmount"},"serviceFeeBps":{"type":"integer","minimum":0,"maximum":10000},"taxOnServiceFeeBps":{"type":"integer","minimum":0,"maximum":10000},"nextActions":{"type":"array","items":[{"type":"object","properties":{"action":{"type":"string","const":"funding.handoff.create"},"kind":{"type":"string","const":"human_handoff"},"method":{"type":"string","const":"POST"},"href":{"type":"string","const":"/api/v1/account/funding-sessions"},"requiresFreshHumanAuthority":{"type":"boolean","const":false},"consequence":{"type":"string","const":"creates_stripe_hosted_checkout"},"retryClass":{"type":"string","const":"same_idempotency_key"}},"required":["action","kind","method","href","requiresFreshHumanAuthority","consequence","retryClass"],"additionalProperties":false}]}},"required":["kind","contractVersion","quoteRef","binding","generatedAt","expiresAt","principalAmount","serviceFee","taxOnServiceFee","totalPayment","serviceFeeBps","taxOnServiceFeeBps","nextActions"],"additionalProperties":false},"RegistryListResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"RegistryListResponse":{"type":"object","properties":{"kind":{"type":"string","const":"ok"},"schemaVersion":{"type":"string","const":"public-business-catalog-api:v2"},"page":{"type":"array","items":{"type":"object","properties":{"schemaVersion":{"type":"string","const":"public-business-catalog-api:v2"},"businessId":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"category":{"type":"string"},"businessContext":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"local_human"},"suburb":{"type":"string"},"stateTerritory":{"type":"string"},"postcode":{"type":"string"},"publishedPhone":{"type":"string"}},"required":["kind","suburb","stateTerritory"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"programmable_provider"},"website":{"type":"string"},"providerIdentifier":{"type":"string"}},"required":["kind","website","providerIdentifier"],"additionalProperties":false}]},"publicUrl":{"type":"string"},"trustTier":{"type":"string","enum":["claimed","contact_confirmed","listed","registry_verified"]},"responseTimeMinutes":{"type":"number"},"photos":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"alt":{"type":"string"}},"required":["url","alt"],"additionalProperties":false}},"observedAt":{"type":"number"},"disposition":{"type":"string","enum":["current","partial","stale"]},"offerings":{"type":"array","items":{"type":"object","properties":{"offeringRef":{"type":"string"},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991},"name":{"type":"string"},"category":{"type":"string"},"summary":{"type":"string"},"serviceAreaSummary":{"type":"string"},"availabilitySummary":{"type":"string"},"pricingSummary":{"type":"string"},"price":{"description":"Comparable published price","oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"fixed","description":"Fixed published price"},"amount":{"description":"Exact published amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryListResponseExactAmount"}]},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","amount","taxTreatment"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"from","description":"Published starting price"},"amount":{"description":"Exact published amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryListResponseExactAmount"}]},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","amount","taxTreatment"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"range","description":"Published bounded price range"},"minimum":{"description":"Exact lower amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryListResponseExactAmount"}]},"maximum":{"description":"Exact upper amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryListResponseExactAmount"}]},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","minimum","maximum","taxTreatment"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"quote_only","description":"Price supplied on request"},"currency":{"type":"string","description":"Currency code retained for quote-only pricing"},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","currency","taxTreatment"],"additionalProperties":false}]},"accessPaths":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"accessPathRef":{"type":"string"},"offeringRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string","const":"human_request"},"channel":{"type":"string","enum":["phone","website"]},"disclosure":{"type":"string"},"url":{"type":"string"}},"required":["accessPathRef","offeringRevision","kind","channel","disclosure"],"additionalProperties":false},{"type":"object","properties":{"accessPathRef":{"type":"string"},"offeringRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string","const":"external_operation"},"name":{"type":"string"},"summary":{"type":"string"},"url":{"type":"string"},"method":{"type":"string"},"documentationUrl":{"type":"string"},"interfaceDescription":{"type":"object","properties":{"format":{"type":"string"},"url":{"type":"string"}},"required":["format"],"additionalProperties":false},"authenticationSummary":{"type":"string"},"pricingSummary":{"type":"string"},"provenance":{"type":"string","enum":["business_declared","publicly_observed"]}},"required":["accessPathRef","offeringRevision","kind","name","summary","url","provenance"],"additionalProperties":false}]}},"support":{"type":"object","properties":{"integrated":{"type":"boolean"},"aeSupportedAction":{"type":"boolean"},"observedAt":{"type":"number"},"validUntil":{"type":"number"}},"required":["integrated","aeSupportedAction"],"additionalProperties":false}},"required":["offeringRef","revision","name","category","summary","accessPaths","support"],"additionalProperties":false}},"accessSummary":{"type":"object","properties":{"humanRequest":{"type":"boolean"},"externalOperation":{"type":"boolean"},"aeSupportedAction":{"type":"boolean"}},"required":["humanRequest","externalOperation","aeSupportedAction"],"additionalProperties":false}},"required":["schemaVersion","businessId","slug","name","category","businessContext","publicUrl","trustTier","photos","observedAt","disposition","offerings","accessSummary"],"additionalProperties":false}},"hasMore":{"type":"boolean"},"nextCursor":{"type":"string","minLength":1,"maxLength":512}},"required":["kind","schemaVersion","page","hasMore"],"additionalProperties":false},"RegistrySearchResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"RegistrySearchResponse":{"type":"object","properties":{"kind":{"type":"string","const":"ok"},"schemaVersion":{"type":"string","const":"public-business-catalog-api:v2"},"query":{"type":"string"},"items":{"type":"array","items":{"type":"object","properties":{"schemaVersion":{"type":"string","const":"public-business-catalog-api:v2"},"businessId":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"category":{"type":"string"},"businessContext":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"local_human"},"suburb":{"type":"string"},"stateTerritory":{"type":"string"},"postcode":{"type":"string"},"publishedPhone":{"type":"string"}},"required":["kind","suburb","stateTerritory"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"programmable_provider"},"website":{"type":"string"},"providerIdentifier":{"type":"string"}},"required":["kind","website","providerIdentifier"],"additionalProperties":false}]},"publicUrl":{"type":"string"},"trustTier":{"type":"string","enum":["claimed","contact_confirmed","listed","registry_verified"]},"responseTimeMinutes":{"type":"number"},"photos":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"alt":{"type":"string"}},"required":["url","alt"],"additionalProperties":false}},"observedAt":{"type":"number"},"disposition":{"type":"string","enum":["current","partial","stale"]},"offerings":{"type":"array","items":{"type":"object","properties":{"offeringRef":{"type":"string"},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991},"name":{"type":"string"},"category":{"type":"string"},"summary":{"type":"string"},"serviceAreaSummary":{"type":"string"},"availabilitySummary":{"type":"string"},"pricingSummary":{"type":"string"},"price":{"description":"Comparable published price","oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"fixed","description":"Fixed published price"},"amount":{"description":"Exact published amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistrySearchResponseExactAmount"}]},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","amount","taxTreatment"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"from","description":"Published starting price"},"amount":{"description":"Exact published amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistrySearchResponseExactAmount"}]},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","amount","taxTreatment"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"range","description":"Published bounded price range"},"minimum":{"description":"Exact lower amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistrySearchResponseExactAmount"}]},"maximum":{"description":"Exact upper amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistrySearchResponseExactAmount"}]},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","minimum","maximum","taxTreatment"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"quote_only","description":"Price supplied on request"},"currency":{"type":"string","description":"Currency code retained for quote-only pricing"},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","currency","taxTreatment"],"additionalProperties":false}]},"accessPaths":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"accessPathRef":{"type":"string"},"offeringRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string","const":"human_request"},"channel":{"type":"string","enum":["phone","website"]},"disclosure":{"type":"string"},"url":{"type":"string"}},"required":["accessPathRef","offeringRevision","kind","channel","disclosure"],"additionalProperties":false},{"type":"object","properties":{"accessPathRef":{"type":"string"},"offeringRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string","const":"external_operation"},"name":{"type":"string"},"summary":{"type":"string"},"url":{"type":"string"},"method":{"type":"string"},"documentationUrl":{"type":"string"},"interfaceDescription":{"type":"object","properties":{"format":{"type":"string"},"url":{"type":"string"}},"required":["format"],"additionalProperties":false},"authenticationSummary":{"type":"string"},"pricingSummary":{"type":"string"},"provenance":{"type":"string","enum":["business_declared","publicly_observed"]}},"required":["accessPathRef","offeringRevision","kind","name","summary","url","provenance"],"additionalProperties":false}]}},"support":{"type":"object","properties":{"integrated":{"type":"boolean"},"aeSupportedAction":{"type":"boolean"},"observedAt":{"type":"number"},"validUntil":{"type":"number"}},"required":["integrated","aeSupportedAction"],"additionalProperties":false}},"required":["offeringRef","revision","name","category","summary","accessPaths","support"],"additionalProperties":false}},"accessSummary":{"type":"object","properties":{"humanRequest":{"type":"boolean"},"externalOperation":{"type":"boolean"},"aeSupportedAction":{"type":"boolean"}},"required":["humanRequest","externalOperation","aeSupportedAction"],"additionalProperties":false}},"required":["schemaVersion","businessId","slug","name","category","businessContext","publicUrl","trustTier","photos","observedAt","disposition","offerings","accessSummary"],"additionalProperties":false}},"pagination":{"type":"object","properties":{"cursor":{"type":"string"},"nextCursor":{"type":"string"},"limit":{"type":"integer","minimum":0,"maximum":9007199254740991},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"hasMore":{"type":"boolean"}},"required":["limit","total","hasMore"],"additionalProperties":false}},"required":["kind","schemaVersion","items","pagination"],"additionalProperties":false},"RegistryDetailResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"RegistryDetailResponse":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"found"},"schemaVersion":{"type":"string","const":"public-business-catalog-api:v2"},"business":{"type":"object","properties":{"schemaVersion":{"type":"string","const":"public-business-catalog-api:v2"},"businessId":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"category":{"type":"string"},"businessContext":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"local_human"},"suburb":{"type":"string"},"stateTerritory":{"type":"string"},"postcode":{"type":"string"},"publishedPhone":{"type":"string"}},"required":["kind","suburb","stateTerritory"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"programmable_provider"},"website":{"type":"string"},"providerIdentifier":{"type":"string"}},"required":["kind","website","providerIdentifier"],"additionalProperties":false}]},"publicUrl":{"type":"string"},"trustTier":{"type":"string","enum":["claimed","contact_confirmed","listed","registry_verified"]},"responseTimeMinutes":{"type":"number"},"photos":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"alt":{"type":"string"}},"required":["url","alt"],"additionalProperties":false}},"observedAt":{"type":"number"},"disposition":{"type":"string","enum":["current","partial","stale"]},"offerings":{"type":"array","items":{"type":"object","properties":{"offeringRef":{"type":"string"},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991},"name":{"type":"string"},"category":{"type":"string"},"summary":{"type":"string"},"serviceAreaSummary":{"type":"string"},"availabilitySummary":{"type":"string"},"pricingSummary":{"type":"string"},"price":{"description":"Comparable published price","oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"fixed","description":"Fixed published price"},"amount":{"description":"Exact published amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryDetailResponseExactAmount"}]},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","amount","taxTreatment"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"from","description":"Published starting price"},"amount":{"description":"Exact published amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryDetailResponseExactAmount"}]},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","amount","taxTreatment"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"range","description":"Published bounded price range"},"minimum":{"description":"Exact lower amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryDetailResponseExactAmount"}]},"maximum":{"description":"Exact upper amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryDetailResponseExactAmount"}]},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","minimum","maximum","taxTreatment"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"quote_only","description":"Price supplied on request"},"currency":{"type":"string","description":"Currency code retained for quote-only pricing"},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","currency","taxTreatment"],"additionalProperties":false}]},"accessPaths":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"accessPathRef":{"type":"string"},"offeringRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string","const":"human_request"},"channel":{"type":"string","enum":["phone","website"]},"disclosure":{"type":"string"},"url":{"type":"string"}},"required":["accessPathRef","offeringRevision","kind","channel","disclosure"],"additionalProperties":false},{"type":"object","properties":{"accessPathRef":{"type":"string"},"offeringRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"kind":{"type":"string","const":"external_operation"},"name":{"type":"string"},"summary":{"type":"string"},"url":{"type":"string"},"method":{"type":"string"},"documentationUrl":{"type":"string"},"interfaceDescription":{"type":"object","properties":{"format":{"type":"string"},"url":{"type":"string"}},"required":["format"],"additionalProperties":false},"authenticationSummary":{"type":"string"},"pricingSummary":{"type":"string"},"provenance":{"type":"string","enum":["business_declared","publicly_observed"]}},"required":["accessPathRef","offeringRevision","kind","name","summary","url","provenance"],"additionalProperties":false}]}},"support":{"type":"object","properties":{"integrated":{"type":"boolean"},"aeSupportedAction":{"type":"boolean"},"observedAt":{"type":"number"},"validUntil":{"type":"number"}},"required":["integrated","aeSupportedAction"],"additionalProperties":false}},"required":["offeringRef","revision","name","category","summary","accessPaths","support"],"additionalProperties":false}},"accessSummary":{"type":"object","properties":{"humanRequest":{"type":"boolean"},"externalOperation":{"type":"boolean"},"aeSupportedAction":{"type":"boolean"}},"required":["humanRequest","externalOperation","aeSupportedAction"],"additionalProperties":false}},"required":["schemaVersion","businessId","slug","name","category","businessContext","publicUrl","trustTier","photos","observedAt","disposition","offerings","accessSummary"],"additionalProperties":false}},"required":["kind","schemaVersion","business"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"},"code":{"type":"string","const":"business_not_found"},"reason":{"type":"string"}},"required":["kind","code","reason"],"additionalProperties":false}]},"RegistryServicesListResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"RegistryServicesListResponse":{"type":"object","properties":{"kind":{"type":"string","const":"ok","description":"Successful published business portfolio response"},"schemaVersion":{"type":"string","const":"public-services-api:v3","description":"Published business portfolio response schema version"},"services":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Published business identifier"},"name":{"type":"string","description":"Published business name"},"description":{"description":"Published business portfolio description","type":"string"},"domain":{"description":"Published Provider domain","type":"string"},"provider":{"description":"Published business Provider","type":"string"},"providerUrl":{"description":"Published business Provider URL","type":"string"},"category":{"type":"string","description":"Published business category"},"networks":{"type":"array","items":{"type":"string"},"description":"Payment networks represented across linked Tools"},"enriched":{"type":"boolean","description":"Whether at least one endpoint is linked to an admitted Tool"},"integrationType":{"type":"string","enum":["1P","3P"],"description":"Provider-owned or third-party publication grouping"},"isNew":{"description":"Whether the business portfolio is newly published","type":"boolean"},"endpoints":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","description":"Published external endpoint link"},"description":{"type":"string","description":"Published endpoint description"},"method":{"description":"HTTP method when published","type":"string"},"pricing":{"description":"Decimal endpoint price when published","type":"object","properties":{"amount":{"description":"Exact decimal amount","type":"string"},"currency":{"type":"string","description":"Currency code for the decimal catalog price"},"network":{"description":"Admitted x402 payment network","type":"string"},"scheme":{"type":"string","enum":["exact","upto"],"description":"Decimal price scheme"},"minAmount":{"description":"Range minimum decimal amount","type":"string"},"maxAmount":{"description":"Range maximum decimal amount","type":"string"}},"required":["currency","scheme"],"additionalProperties":false},"providerName":{"description":"Provider name only when linked supply is provider-owned","type":"string"},"serviceName":{"type":"string","description":"Published business name for endpoint grouping"},"tags":{"type":"array","items":{"type":"string"},"description":"Published endpoint tags"},"parameters":{"type":"array","items":{"type":"object","properties":{"group":{"type":"string","enum":["body","path","query"],"description":"Catalog-inferred parameter group"},"name":{"type":"string","description":"Parameter name"},"type":{"type":"string","description":"JSON-Schema type"},"description":{"description":"Parameter description","type":"string"},"example":{"description":"Example value"},"enumValues":{"description":"Allowed enum values","type":"array","items":{"type":"string"}},"default":{"description":"Default value"},"required":{"type":"boolean","description":"Whether the parameter is required"}},"required":["group","name","type","required"],"additionalProperties":false},"description":"Flat catalog parameters of the endpoint"},"quality":{"type":"null","description":"Traffic quality evidence, absent when not observed"},"ae":{"type":"object","properties":{"toolRef":{"description":"Canonical Tool read link when linked to admitted supply","type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"},"offeringRef":{"type":"string","description":"Published offering the endpoint belongs to"},"provenance":{"type":"string","enum":["business_declared","publicly_observed"],"description":"Publication authority: declared by the business or observed publicly"},"access":{"type":"string","const":"external","description":"Published external Provider endpoint access"},"authentication":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"ae_api_key"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"platform_credential"},"scheme":{"type":"string","const":"api_key"},"in":{"type":"string","enum":["query","header"]},"name":{"type":"string"}},"required":["kind","scheme","in","name"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"platform_credential"},"scheme":{"type":"string","const":"bearer"}},"required":["kind","scheme"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"x402"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unknown"}},"required":["kind"],"additionalProperties":false}],"description":"Public authentication classification without secret values"},"execution":{"type":"string","enum":["tool_call","request_route","catalog_only"],"description":"Public execution channel"},"authorityMode":{"description":"Publication authority mode when linked","type":"string","enum":["provider_owned","ae_curated_external","third_party_gateway","observed_external"]},"sourceKind":{"description":"Publication source mode when linked","type":"string","enum":["ae_envelope","openapi_http","mcp","agent_plugin_mcp","x402"]},"authenticationSummary":{"description":"Published authentication requirement","type":"string"},"settlementSupport":{"type":"string","enum":["executable","catalog_only","unpriced"],"description":"Whether the published price can be settled by the execution path"}},"required":["offeringRef","provenance","access","authentication","execution","settlementSupport"],"additionalProperties":false,"description":"AE execution and Publication provenance metadata"}},"required":["url","description","serviceName","tags","parameters","quality","ae"],"additionalProperties":false},"description":"Flat external endpoint links published by the business portfolio"},"priceSummary":{"description":"Aggregate published decimal price summary","type":"object","properties":{"currency":{"type":"string","description":"Currency shared by the exact source amounts"},"minAmount":{"type":"string","description":"Lowest published decimal amount"},"maxAmount":{"type":"string","description":"Highest published decimal amount"},"avgCostPerTransaction":{"description":"Average comparable decimal amount when derivable","type":"string"},"avgCostBasis":{"type":"string","enum":["exact","varies"],"description":"Whether the aggregate average is exact or varies"}},"required":["currency","minAmount","maxAmount","avgCostBasis"],"additionalProperties":false},"serviceName":{"type":"string","description":"Published business name for portfolio grouping"},"tags":{"type":"array","items":{"type":"string"},"description":"Published business portfolio tags"},"iconUrl":{"description":"Published business icon URL","type":"string"},"ae":{"type":"object","properties":{"trustTier":{"type":"string","enum":["claimed","contact_confirmed","listed","registry_verified"],"description":"Published business trust tier"},"businessContext":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"local_human"},"suburb":{"type":"string"},"stateTerritory":{"type":"string"},"postcode":{"type":"string"},"publishedPhone":{"type":"string"}},"required":["kind","suburb","stateTerritory"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"programmable_provider"},"website":{"type":"string"},"providerIdentifier":{"type":"string"}},"required":["kind","website","providerIdentifier"],"additionalProperties":false}],"description":"Published business context"},"publicUrl":{"type":"string","description":"Published business URL"},"responseTimeMinutes":{"description":"Typical response window","type":"number"},"photos":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"alt":{"type":"string"}},"required":["url","alt"],"additionalProperties":false},"description":"Published business photos"},"observedAt":{"type":"number","description":"Source observation time for freshness context"},"disposition":{"type":"string","enum":["current","partial","stale"],"description":"Catalog disposition"},"source":{"type":"string","const":"business_published","description":"Published business listing provenance"},"offerings":{"type":"array","items":{"type":"object","properties":{"offeringRef":{"type":"string","description":"Published offering reference"},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Published offering revision"},"name":{"type":"string","description":"Published offering name"},"category":{"type":"string","description":"Published offering category"},"summary":{"type":"string","description":"Published offering summary"},"serviceAreaSummary":{"description":"Published service area","type":"string"},"availabilitySummary":{"description":"Exact published availability or timing note","type":"string"},"pricingSummary":{"description":"Published offering pricing note","type":"string"},"price":{"description":"Comparable published offering price","oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"fixed","description":"Fixed published price"},"amount":{"description":"Exact published amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryServicesListResponseExactAmount"}]},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","amount","taxTreatment"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"from","description":"Published starting price"},"amount":{"description":"Exact published amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryServicesListResponseExactAmount"}]},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","amount","taxTreatment"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"range","description":"Published bounded price range"},"minimum":{"description":"Exact lower amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryServicesListResponseExactAmount"}]},"maximum":{"description":"Exact upper amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryServicesListResponseExactAmount"}]},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","minimum","maximum","taxTreatment"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"quote_only","description":"Price supplied on request"},"currency":{"type":"string","description":"Currency code retained for quote-only pricing"},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","currency","taxTreatment"],"additionalProperties":false}]},"support":{"type":"object","properties":{"integrated":{"type":"boolean","description":"Whether the offering is capability-integrated"},"routeable":{"type":"boolean","description":"Whether the offering is currently routeable"},"observedAt":{"description":"Source observation time","type":"number"},"validUntil":{"description":"Routeability validity window end","type":"number"}},"required":["integrated","routeable"],"additionalProperties":false}},"required":["offeringRef","revision","name","category","summary","support"],"additionalProperties":false},"description":"Supplier Operation portfolio view"},"links":{"type":"object","properties":{"business":{"type":"string","description":"Provider business detail link"},"manifest":{"type":"string","description":"Publication manifest link"}},"required":["business","manifest"],"additionalProperties":false,"description":"Related public discovery links"}},"required":["trustTier","businessContext","publicUrl","photos","observedAt","disposition","source","offerings","links"],"additionalProperties":false,"description":"Agentic Economy supplier portfolio and Publication source metadata"}},"required":["id","name","category","networks","enriched","integrationType","endpoints","serviceName","tags","ae"],"additionalProperties":false},"description":"One published business portfolio per business"},"hasMore":{"type":"boolean"},"nextCursor":{"type":"string","minLength":1,"maxLength":512}},"required":["kind","schemaVersion","services","hasMore"],"additionalProperties":false},"RegistryServicesSearchResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"RegistryServicesSearchResponse":{"type":"object","properties":{"kind":{"type":"string","const":"ok","description":"Successful published business portfolio response"},"schemaVersion":{"type":"string","const":"public-services-api:v3","description":"Published business portfolio response schema version"},"query":{"description":"Echo of the supplied search query","type":"string"},"services":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Published business identifier"},"name":{"type":"string","description":"Published business name"},"description":{"description":"Published business portfolio description","type":"string"},"domain":{"description":"Published Provider domain","type":"string"},"provider":{"description":"Published business Provider","type":"string"},"providerUrl":{"description":"Published business Provider URL","type":"string"},"category":{"type":"string","description":"Published business category"},"networks":{"type":"array","items":{"type":"string"},"description":"Payment networks represented across linked Tools"},"enriched":{"type":"boolean","description":"Whether at least one endpoint is linked to an admitted Tool"},"integrationType":{"type":"string","enum":["1P","3P"],"description":"Provider-owned or third-party publication grouping"},"isNew":{"description":"Whether the business portfolio is newly published","type":"boolean"},"endpoints":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","description":"Published external endpoint link"},"description":{"type":"string","description":"Published endpoint description"},"method":{"description":"HTTP method when published","type":"string"},"pricing":{"description":"Decimal endpoint price when published","type":"object","properties":{"amount":{"description":"Exact decimal amount","type":"string"},"currency":{"type":"string","description":"Currency code for the decimal catalog price"},"network":{"description":"Admitted x402 payment network","type":"string"},"scheme":{"type":"string","enum":["exact","upto"],"description":"Decimal price scheme"},"minAmount":{"description":"Range minimum decimal amount","type":"string"},"maxAmount":{"description":"Range maximum decimal amount","type":"string"}},"required":["currency","scheme"],"additionalProperties":false},"providerName":{"description":"Provider name only when linked supply is provider-owned","type":"string"},"serviceName":{"type":"string","description":"Published business name for endpoint grouping"},"tags":{"type":"array","items":{"type":"string"},"description":"Published endpoint tags"},"parameters":{"type":"array","items":{"type":"object","properties":{"group":{"type":"string","enum":["body","path","query"],"description":"Catalog-inferred parameter group"},"name":{"type":"string","description":"Parameter name"},"type":{"type":"string","description":"JSON-Schema type"},"description":{"description":"Parameter description","type":"string"},"example":{"description":"Example value"},"enumValues":{"description":"Allowed enum values","type":"array","items":{"type":"string"}},"default":{"description":"Default value"},"required":{"type":"boolean","description":"Whether the parameter is required"}},"required":["group","name","type","required"],"additionalProperties":false},"description":"Flat catalog parameters of the endpoint"},"quality":{"type":"null","description":"Traffic quality evidence, absent when not observed"},"ae":{"type":"object","properties":{"toolRef":{"description":"Canonical Tool read link when linked to admitted supply","type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"},"offeringRef":{"type":"string","description":"Published offering the endpoint belongs to"},"provenance":{"type":"string","enum":["business_declared","publicly_observed"],"description":"Publication authority: declared by the business or observed publicly"},"access":{"type":"string","const":"external","description":"Published external Provider endpoint access"},"authentication":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"ae_api_key"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"platform_credential"},"scheme":{"type":"string","const":"api_key"},"in":{"type":"string","enum":["query","header"]},"name":{"type":"string"}},"required":["kind","scheme","in","name"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"platform_credential"},"scheme":{"type":"string","const":"bearer"}},"required":["kind","scheme"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"x402"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unknown"}},"required":["kind"],"additionalProperties":false}],"description":"Public authentication classification without secret values"},"execution":{"type":"string","enum":["tool_call","request_route","catalog_only"],"description":"Public execution channel"},"authorityMode":{"description":"Publication authority mode when linked","type":"string","enum":["provider_owned","ae_curated_external","third_party_gateway","observed_external"]},"sourceKind":{"description":"Publication source mode when linked","type":"string","enum":["ae_envelope","openapi_http","mcp","agent_plugin_mcp","x402"]},"authenticationSummary":{"description":"Published authentication requirement","type":"string"},"settlementSupport":{"type":"string","enum":["executable","catalog_only","unpriced"],"description":"Whether the published price can be settled by the execution path"}},"required":["offeringRef","provenance","access","authentication","execution","settlementSupport"],"additionalProperties":false,"description":"AE execution and Publication provenance metadata"}},"required":["url","description","serviceName","tags","parameters","quality","ae"],"additionalProperties":false},"description":"Flat external endpoint links published by the business portfolio"},"priceSummary":{"description":"Aggregate published decimal price summary","type":"object","properties":{"currency":{"type":"string","description":"Currency shared by the exact source amounts"},"minAmount":{"type":"string","description":"Lowest published decimal amount"},"maxAmount":{"type":"string","description":"Highest published decimal amount"},"avgCostPerTransaction":{"description":"Average comparable decimal amount when derivable","type":"string"},"avgCostBasis":{"type":"string","enum":["exact","varies"],"description":"Whether the aggregate average is exact or varies"}},"required":["currency","minAmount","maxAmount","avgCostBasis"],"additionalProperties":false},"serviceName":{"type":"string","description":"Published business name for portfolio grouping"},"tags":{"type":"array","items":{"type":"string"},"description":"Published business portfolio tags"},"iconUrl":{"description":"Published business icon URL","type":"string"},"ae":{"type":"object","properties":{"trustTier":{"type":"string","enum":["claimed","contact_confirmed","listed","registry_verified"],"description":"Published business trust tier"},"businessContext":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"local_human"},"suburb":{"type":"string"},"stateTerritory":{"type":"string"},"postcode":{"type":"string"},"publishedPhone":{"type":"string"}},"required":["kind","suburb","stateTerritory"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"programmable_provider"},"website":{"type":"string"},"providerIdentifier":{"type":"string"}},"required":["kind","website","providerIdentifier"],"additionalProperties":false}],"description":"Published business context"},"publicUrl":{"type":"string","description":"Published business URL"},"responseTimeMinutes":{"description":"Typical response window","type":"number"},"photos":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"alt":{"type":"string"}},"required":["url","alt"],"additionalProperties":false},"description":"Published business photos"},"observedAt":{"type":"number","description":"Source observation time for freshness context"},"disposition":{"type":"string","enum":["current","partial","stale"],"description":"Catalog disposition"},"source":{"type":"string","const":"business_published","description":"Published business listing provenance"},"offerings":{"type":"array","items":{"type":"object","properties":{"offeringRef":{"type":"string","description":"Published offering reference"},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Published offering revision"},"name":{"type":"string","description":"Published offering name"},"category":{"type":"string","description":"Published offering category"},"summary":{"type":"string","description":"Published offering summary"},"serviceAreaSummary":{"description":"Published service area","type":"string"},"availabilitySummary":{"description":"Exact published availability or timing note","type":"string"},"pricingSummary":{"description":"Published offering pricing note","type":"string"},"price":{"description":"Comparable published offering price","oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"fixed","description":"Fixed published price"},"amount":{"description":"Exact published amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryServicesSearchResponseExactAmount"}]},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","amount","taxTreatment"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"from","description":"Published starting price"},"amount":{"description":"Exact published amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryServicesSearchResponseExactAmount"}]},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","amount","taxTreatment"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"range","description":"Published bounded price range"},"minimum":{"description":"Exact lower amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryServicesSearchResponseExactAmount"}]},"maximum":{"description":"Exact upper amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryServicesSearchResponseExactAmount"}]},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","minimum","maximum","taxTreatment"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"quote_only","description":"Price supplied on request"},"currency":{"type":"string","description":"Currency code retained for quote-only pricing"},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","currency","taxTreatment"],"additionalProperties":false}]},"support":{"type":"object","properties":{"integrated":{"type":"boolean","description":"Whether the offering is capability-integrated"},"routeable":{"type":"boolean","description":"Whether the offering is currently routeable"},"observedAt":{"description":"Source observation time","type":"number"},"validUntil":{"description":"Routeability validity window end","type":"number"}},"required":["integrated","routeable"],"additionalProperties":false}},"required":["offeringRef","revision","name","category","summary","support"],"additionalProperties":false},"description":"Supplier Operation portfolio view"},"links":{"type":"object","properties":{"business":{"type":"string","description":"Provider business detail link"},"manifest":{"type":"string","description":"Publication manifest link"}},"required":["business","manifest"],"additionalProperties":false,"description":"Related public discovery links"}},"required":["trustTier","businessContext","publicUrl","photos","observedAt","disposition","source","offerings","links"],"additionalProperties":false,"description":"Agentic Economy supplier portfolio and Publication source metadata"}},"required":["id","name","category","networks","enriched","integrationType","endpoints","serviceName","tags","ae"],"additionalProperties":false},"description":"Matching published business portfolios"},"pagination":{"type":"object","properties":{"cursor":{"description":"Cursor used for this page","type":"string"},"nextCursor":{"description":"Cursor for the next page","type":"string"},"limit":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Maximum source catalog items requested"},"total":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Total source catalog items"},"hasMore":{"type":"boolean","description":"Whether another source catalog page exists"}},"required":["limit","total","hasMore"],"additionalProperties":false,"description":"Computed search pagination"}},"required":["kind","schemaVersion","services","pagination"],"additionalProperties":false},"RegistryServicesDetailResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"RegistryServicesDetailResponse":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"found","description":"Published business portfolio found"},"schemaVersion":{"type":"string","const":"public-services-api:v3","description":"Published business portfolio response schema version"},"service":{"type":"object","properties":{"id":{"type":"string","description":"Published business identifier"},"name":{"type":"string","description":"Published business name"},"description":{"description":"Published business portfolio description","type":"string"},"domain":{"description":"Published Provider domain","type":"string"},"provider":{"description":"Published business Provider","type":"string"},"providerUrl":{"description":"Published business Provider URL","type":"string"},"category":{"type":"string","description":"Published business category"},"networks":{"type":"array","items":{"type":"string"},"description":"Payment networks represented across linked Tools"},"enriched":{"type":"boolean","description":"Whether at least one endpoint is linked to an admitted Tool"},"integrationType":{"type":"string","enum":["1P","3P"],"description":"Provider-owned or third-party publication grouping"},"isNew":{"description":"Whether the business portfolio is newly published","type":"boolean"},"endpoints":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","description":"Published external endpoint link"},"description":{"type":"string","description":"Published endpoint description"},"method":{"description":"HTTP method when published","type":"string"},"pricing":{"description":"Decimal endpoint price when published","type":"object","properties":{"amount":{"description":"Exact decimal amount","type":"string"},"currency":{"type":"string","description":"Currency code for the decimal catalog price"},"network":{"description":"Admitted x402 payment network","type":"string"},"scheme":{"type":"string","enum":["exact","upto"],"description":"Decimal price scheme"},"minAmount":{"description":"Range minimum decimal amount","type":"string"},"maxAmount":{"description":"Range maximum decimal amount","type":"string"}},"required":["currency","scheme"],"additionalProperties":false},"providerName":{"description":"Provider name only when linked supply is provider-owned","type":"string"},"serviceName":{"type":"string","description":"Published business name for endpoint grouping"},"tags":{"type":"array","items":{"type":"string"},"description":"Published endpoint tags"},"parameters":{"type":"array","items":{"type":"object","properties":{"group":{"type":"string","enum":["body","path","query"],"description":"Catalog-inferred parameter group"},"name":{"type":"string","description":"Parameter name"},"type":{"type":"string","description":"JSON-Schema type"},"description":{"description":"Parameter description","type":"string"},"example":{"description":"Example value"},"enumValues":{"description":"Allowed enum values","type":"array","items":{"type":"string"}},"default":{"description":"Default value"},"required":{"type":"boolean","description":"Whether the parameter is required"}},"required":["group","name","type","required"],"additionalProperties":false},"description":"Flat catalog parameters of the endpoint"},"quality":{"type":"null","description":"Traffic quality evidence, absent when not observed"},"ae":{"type":"object","properties":{"toolRef":{"description":"Canonical Tool read link when linked to admitted supply","type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"},"offeringRef":{"type":"string","description":"Published offering the endpoint belongs to"},"provenance":{"type":"string","enum":["business_declared","publicly_observed"],"description":"Publication authority: declared by the business or observed publicly"},"access":{"type":"string","const":"external","description":"Published external Provider endpoint access"},"authentication":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"ae_api_key"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"platform_credential"},"scheme":{"type":"string","const":"api_key"},"in":{"type":"string","enum":["query","header"]},"name":{"type":"string"}},"required":["kind","scheme","in","name"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"platform_credential"},"scheme":{"type":"string","const":"bearer"}},"required":["kind","scheme"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"x402"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unknown"}},"required":["kind"],"additionalProperties":false}],"description":"Public authentication classification without secret values"},"execution":{"type":"string","enum":["tool_call","request_route","catalog_only"],"description":"Public execution channel"},"authorityMode":{"description":"Publication authority mode when linked","type":"string","enum":["provider_owned","ae_curated_external","third_party_gateway","observed_external"]},"sourceKind":{"description":"Publication source mode when linked","type":"string","enum":["ae_envelope","openapi_http","mcp","agent_plugin_mcp","x402"]},"authenticationSummary":{"description":"Published authentication requirement","type":"string"},"settlementSupport":{"type":"string","enum":["executable","catalog_only","unpriced"],"description":"Whether the published price can be settled by the execution path"}},"required":["offeringRef","provenance","access","authentication","execution","settlementSupport"],"additionalProperties":false,"description":"AE execution and Publication provenance metadata"}},"required":["url","description","serviceName","tags","parameters","quality","ae"],"additionalProperties":false},"description":"Flat external endpoint links published by the business portfolio"},"priceSummary":{"description":"Aggregate published decimal price summary","type":"object","properties":{"currency":{"type":"string","description":"Currency shared by the exact source amounts"},"minAmount":{"type":"string","description":"Lowest published decimal amount"},"maxAmount":{"type":"string","description":"Highest published decimal amount"},"avgCostPerTransaction":{"description":"Average comparable decimal amount when derivable","type":"string"},"avgCostBasis":{"type":"string","enum":["exact","varies"],"description":"Whether the aggregate average is exact or varies"}},"required":["currency","minAmount","maxAmount","avgCostBasis"],"additionalProperties":false},"serviceName":{"type":"string","description":"Published business name for portfolio grouping"},"tags":{"type":"array","items":{"type":"string"},"description":"Published business portfolio tags"},"iconUrl":{"description":"Published business icon URL","type":"string"},"ae":{"type":"object","properties":{"trustTier":{"type":"string","enum":["claimed","contact_confirmed","listed","registry_verified"],"description":"Published business trust tier"},"businessContext":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"local_human"},"suburb":{"type":"string"},"stateTerritory":{"type":"string"},"postcode":{"type":"string"},"publishedPhone":{"type":"string"}},"required":["kind","suburb","stateTerritory"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"programmable_provider"},"website":{"type":"string"},"providerIdentifier":{"type":"string"}},"required":["kind","website","providerIdentifier"],"additionalProperties":false}],"description":"Published business context"},"publicUrl":{"type":"string","description":"Published business URL"},"responseTimeMinutes":{"description":"Typical response window","type":"number"},"photos":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"alt":{"type":"string"}},"required":["url","alt"],"additionalProperties":false},"description":"Published business photos"},"observedAt":{"type":"number","description":"Source observation time for freshness context"},"disposition":{"type":"string","enum":["current","partial","stale"],"description":"Catalog disposition"},"source":{"type":"string","const":"business_published","description":"Published business listing provenance"},"offerings":{"type":"array","items":{"type":"object","properties":{"offeringRef":{"type":"string","description":"Published offering reference"},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Published offering revision"},"name":{"type":"string","description":"Published offering name"},"category":{"type":"string","description":"Published offering category"},"summary":{"type":"string","description":"Published offering summary"},"serviceAreaSummary":{"description":"Published service area","type":"string"},"availabilitySummary":{"description":"Exact published availability or timing note","type":"string"},"pricingSummary":{"description":"Published offering pricing note","type":"string"},"price":{"description":"Comparable published offering price","oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"fixed","description":"Fixed published price"},"amount":{"description":"Exact published amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryServicesDetailResponseExactAmount"}]},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","amount","taxTreatment"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"from","description":"Published starting price"},"amount":{"description":"Exact published amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryServicesDetailResponseExactAmount"}]},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","amount","taxTreatment"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"range","description":"Published bounded price range"},"minimum":{"description":"Exact lower amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryServicesDetailResponseExactAmount"}]},"maximum":{"description":"Exact upper amount: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/RegistryServicesDetailResponseExactAmount"}]},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","minimum","maximum","taxTreatment"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"quote_only","description":"Price supplied on request"},"currency":{"type":"string","description":"Currency code retained for quote-only pricing"},"unit":{"description":"Unit the price applies to","type":"string","enum":["call","job","hour","visit","item","day","week","month"]},"taxTreatment":{"type":"string","enum":["inclusive","exclusive","unstated"],"description":"Published tax treatment"}},"required":["kind","currency","taxTreatment"],"additionalProperties":false}]},"support":{"type":"object","properties":{"integrated":{"type":"boolean","description":"Whether the offering is capability-integrated"},"routeable":{"type":"boolean","description":"Whether the offering is currently routeable"},"observedAt":{"description":"Source observation time","type":"number"},"validUntil":{"description":"Routeability validity window end","type":"number"}},"required":["integrated","routeable"],"additionalProperties":false}},"required":["offeringRef","revision","name","category","summary","support"],"additionalProperties":false},"description":"Supplier Operation portfolio view"},"links":{"type":"object","properties":{"business":{"type":"string","description":"Provider business detail link"},"manifest":{"type":"string","description":"Publication manifest link"}},"required":["business","manifest"],"additionalProperties":false,"description":"Related public discovery links"}},"required":["trustTier","businessContext","publicUrl","photos","observedAt","disposition","source","offerings","links"],"additionalProperties":false,"description":"Agentic Economy supplier portfolio and Publication source metadata"}},"required":["id","name","category","networks","enriched","integrationType","endpoints","serviceName","tags","ae"],"additionalProperties":false,"description":"Published business portfolio projection"}},"required":["kind","schemaVersion","service"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"not_found","description":"Published business was not found"},"code":{"type":"string","const":"service_not_found"},"reason":{"type":"string"}},"required":["kind","code","reason"],"additionalProperties":false}]},"PlatformReleaseResponse":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"ok"},"sourceRevision":{"type":"string"}},"required":["kind","sourceRevision"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unavailable"},"reason":{"type":"string","const":"source_revision_unconfigured"}},"required":["kind","reason"],"additionalProperties":false}]},"PlatformCatalogueStatusResponse":{"type":"object","properties":{"schemaVersion":{"type":"string","const":"catalogue-status:v1"},"status":{"type":"string","description":"Freshness state of the x402 directory index."},"refreshState":{"type":"string","enum":["none","refreshing","complete","failed"]},"generation":{"type":"string"},"completedAt":{"type":"number"},"ageHours":{"type":"number"},"lastError":{"type":"string"}},"required":["schemaVersion","status","refreshState"],"additionalProperties":false},"PlatformMarketMetricsResponse":{"type":"object","properties":{"window":{"type":"string","enum":["24h","7d","30d"]},"generatedAt":{"type":"string"},"x402Ecosystem":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"External x402 ecosystem projection."},"agenticEconomy":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"First-party AE market projection."}},"required":["window","generatedAt","x402Ecosystem","agenticEconomy"],"additionalProperties":false},"PlatformSandboxReferenceRequest":{"type":"object","properties":{"request":{"type":"string"}},"additionalProperties":false,"required":[]},"PlatformSandboxReferenceResponse":{"type":"object","properties":{"result":{"type":"string"}},"required":["result"],"additionalProperties":false},"PlatformRegistryBrowseResponse":{"type":"object","properties":{"schemaVersion":{"type":"string","const":"api-registry:v4"},"query":{"type":"string"},"kind":{"type":"string","const":"ok"},"coverage":{"type":"object","properties":{"generation":{"type":"string"},"completedAt":{"type":"number"}},"required":["generation","completedAt"],"additionalProperties":false},"page":{"maxItems":12,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^registry:[a-f0-9]{64}$"},"source":{"type":"string","enum":["coinbase","provider"]},"access":{"type":"string","enum":["ae_callable","external_listing"]},"sourceRouteRef":{"type":"string"},"toolRef":{"type":"string"},"title":{"type":"string"},"summary":{"type":"string"},"provider":{"type":"string"},"actionClass":{"type":"string","enum":["retrieve","transform","analyze","create","mutate","other","unclassified"]},"objectClass":{"type":"string","enum":["web","document","image","location","chain","data","other","unclassified"]},"category":{"type":"string"},"completedAt":{"type":"number"},"detailRef":{"type":"string"}},"required":["id","source","access","title","summary","provider","actionClass","objectClass","completedAt","detailRef"],"additionalProperties":false}},"pagination":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":12},"nextCursor":{"type":"string"},"hasMore":{"type":"boolean"}},"required":["limit","hasMore"],"additionalProperties":false},"freshness":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["schemaVersion","query","kind","coverage","page","pagination","freshness"],"additionalProperties":false},"PlatformRegistryExternalDetailResponse":{"type":"object","properties":{"schemaVersion":{"type":"string","const":"api-registry-detail:v1"},"kind":{"type":"string","const":"found"},"id":{"type":"string","pattern":"^registry:[a-f0-9]{64}$"},"access":{"type":"string","enum":["ae_callable","external_listing"]},"warning":{"type":"string"},"coverage":{"type":"object","properties":{"generation":{"type":"string"},"completedAt":{"type":"number"}},"required":["generation","completedAt"],"additionalProperties":false},"item":{"type":"object","properties":{"entry":{"type":"object","properties":{"metadataJson":{"type":"string","description":"Full retained source JSON; returned only on exact detail."},"input":{"type":"object","properties":{"schemaJson":{"type":"string"}},"additionalProperties":{}},"output":{"type":"object","properties":{"schemaJson":{"type":"string"}},"additionalProperties":{}}},"required":["metadataJson"],"additionalProperties":{}},"toolRef":{"type":"string"}},"required":["entry"],"additionalProperties":{}},"freshness":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["schemaVersion","kind","id","access","coverage","item","freshness"],"additionalProperties":false},"AgentAccessWhoamiResponse":{"type":"object","properties":{"kind":{"type":"string","const":"authenticated"},"principalRef":{"type":"string","minLength":1},"accountRef":{"type":"string","minLength":1},"credentialId":{"type":"string","minLength":1},"applicationRef":{"type":"string","minLength":1},"environment":{"type":"string","enum":["sandbox","production"]},"scopes":{"type":"array","items":{"type":"string","minLength":1}},"authorityMode":{"type":"string","enum":["read_only","approval_required","spending_policy","unrestricted_test_only"]}},"required":["kind","principalRef","accountRef","credentialId","applicationRef","environment","scopes","authorityMode"],"additionalProperties":false},"AgentAccessBalanceRequest":{"type":"object","properties":{"currency":{"default":"AUD","type":"string","const":"AUD"}},"additionalProperties":false,"required":[]},"AgentAccessBalanceResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"AgentAccessBalanceResponse":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"available"},"principalRef":{"type":"string","minLength":1},"accountRef":{"type":"string","minLength":1},"balance":{"$ref":"#/components/schemas/AgentAccessBalanceResponseExactAmount"},"purchasedBalance":{"allOf":[{"$ref":"#/components/schemas/AgentAccessBalanceResponseExactAmount"}]},"promotionalBalance":{"allOf":[{"$ref":"#/components/schemas/AgentAccessBalanceResponseExactAmount"}]},"nextPromotionalExpiryAt":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"accountState":{"type":"string","enum":["active","locked"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"updatedAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"funding":{"type":"object","properties":{"kind":{"type":"string","const":"agent_funding_handoff"},"configAction":{"type":"string","const":"funding.handoff.config"},"createAction":{"type":"string","const":"funding.handoff.create"},"statusAction":{"type":"string","const":"funding.handoff.status"}},"required":["kind","configAction","createAction","statusAction"],"additionalProperties":false}},"required":["kind","principalRef","accountRef","balance","accountState","version","updatedAt","funding"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"error"},"code":{"type":"string","enum":["unauthenticated","source_unavailable"]}},"required":["kind","code"],"additionalProperties":false}]},"AgentAccessActivityRequest":{"type":"object","properties":{"currency":{"default":"AUD","type":"string","const":"AUD"},"limit":{"default":20,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":2000}},"additionalProperties":false,"required":[]},"AgentAccessActivityResponse":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"available"},"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"callRef":{"type":"string","minLength":1},"credentialRef":{"type":"string","minLength":1},"toolRef":{"type":"string","minLength":1},"providerRef":{"type":"string","minLength":1},"state":{"type":"string","enum":["completed","refused","outcome_unknown"]},"deliveryState":{"type":"string","enum":["delivered","not_delivered","unknown"]},"paymentState":{"type":"string","enum":["settled","released","unknown","not_applicable"]},"audAmountUnits":{"type":"string","pattern":"^(?:0|[1-9]\\d*)$"},"receiptRef":{"type":"string","minLength":1},"recoveryRef":{"type":"string","minLength":1},"observedAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["callRef","credentialRef","toolRef","providerRef","state","deliveryState","paymentState","observedAt"],"additionalProperties":false}},"hasMore":{"type":"boolean"},"nextCursor":{"type":"string","minLength":1,"maxLength":2000}},"required":["kind","items","hasMore"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"error"},"code":{"type":"string","enum":["unauthenticated","source_unavailable"]}},"required":["kind","code"],"additionalProperties":false}]},"MarketDemandWithdrawRequest":{"type":"object","properties":{"requestRef":{"type":"string","minLength":1,"maxLength":300}},"required":["requestRef"],"additionalProperties":false},"MarketDemandWithdrawResponse":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"withdrawn"},"requestRef":{"type":"string","minLength":1,"maxLength":300}},"required":["kind","requestRef"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"error"},"code":{"type":"string","enum":["unauthenticated","source_unavailable"]}},"required":["kind","code"],"additionalProperties":false}]},"MarketDemandRecordRequestExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"MarketDemandRecordRequest":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":200},"source":{"type":"string","enum":["current","coinbase"]},"filters":{"type":"object","properties":{"actionClass":{"type":"string","enum":["retrieve","transform","analyze","create","mutate","other","unclassified"]},"objectClass":{"type":"string","enum":["web","document","image","location","chain","data","other","unclassified"]},"category":{"type":"string","maxLength":80},"provider":{"type":"string","maxLength":200},"access":{"type":"string","enum":["ae_callable","external_listing"]},"priceBand":{"type":"string","enum":["lt_0_01","0_01_to_0_03","0_03_to_0_10","0_10_to_1","1_to_10","10_plus","unknown"]},"networkId":{"type":"string","minLength":1,"maxLength":200},"location":{"type":"string","minLength":1,"maxLength":200},"effects":{"maxItems":3,"type":"array","items":{"type":"string","enum":["data_release","financial_exposure","external_state_change"]}},"dataUse":{"maxItems":4,"type":"array","items":{"type":"string","enum":["public","personal","sensitive","credential"]}},"healthStatus":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"string","enum":["operational","degraded","unverified"]}},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"maximumPrice":{"allOf":[{"$ref":"#/components/schemas/MarketDemandRecordRequestExactAmount"}]}},"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["query","idempotencyKey"],"additionalProperties":false},"MarketDemandRecordResponse":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["recorded","replayed"]},"requestRef":{"type":"string","minLength":1,"maxLength":300},"query":{"type":"string","minLength":1,"maxLength":200},"createdAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","requestRef","query","createdAt"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"code":{"type":"string","enum":["unauthenticated","invalid_request","idempotency_conflict","current_match_exists","source_unavailable"]}},"required":["kind","code"],"additionalProperties":false}]},"MarketDemandListRequest":{"type":"object","properties":{"limit":{"default":20,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":2000}},"additionalProperties":false,"required":[]},"MarketDemandListResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"MarketDemandListResponse":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"available"},"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"requestRef":{"type":"string","minLength":1,"maxLength":300},"query":{"type":"string","minLength":1,"maxLength":200},"source":{"type":"string","enum":["current","coinbase"]},"filters":{"type":"object","properties":{"actionClass":{"type":"string","enum":["retrieve","transform","analyze","create","mutate","other","unclassified"]},"objectClass":{"type":"string","enum":["web","document","image","location","chain","data","other","unclassified"]},"category":{"type":"string","maxLength":80},"provider":{"type":"string","maxLength":200},"access":{"type":"string","enum":["ae_callable","external_listing"]},"priceBand":{"type":"string","enum":["lt_0_01","0_01_to_0_03","0_03_to_0_10","0_10_to_1","1_to_10","10_plus","unknown"]},"networkId":{"type":"string","minLength":1,"maxLength":200},"location":{"type":"string","minLength":1,"maxLength":200},"effects":{"maxItems":3,"type":"array","items":{"type":"string","enum":["data_release","financial_exposure","external_state_change"]}},"dataUse":{"maxItems":4,"type":"array","items":{"type":"string","enum":["public","personal","sensitive","credential"]}},"healthStatus":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"string","enum":["operational","degraded","unverified"]}},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"maximumPrice":{"allOf":[{"$ref":"#/components/schemas/MarketDemandListResponseExactAmount"}]}},"additionalProperties":false},"createdAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"updatedAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["requestRef","query","createdAt","updatedAt"],"additionalProperties":false}},"hasMore":{"type":"boolean"},"nextCursor":{"type":"string","minLength":1,"maxLength":2000}},"required":["kind","items","hasMore"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"error"},"code":{"type":"string","enum":["unauthenticated","source_unavailable","invalid_cursor"]}},"required":["kind","code"],"additionalProperties":false}]},"MarketDemandStatusRequest":{"type":"object","properties":{"requestRef":{"type":"string","minLength":1,"maxLength":300}},"required":["requestRef"],"additionalProperties":false},"MarketDemandStatusResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"MarketDemandStatusResponse":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"open"},"requestRef":{"type":"string","minLength":1,"maxLength":300},"query":{"type":"string","minLength":1,"maxLength":200},"createdAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"matchedCount":{"type":"number","const":0}},"required":["kind","requestRef","query","createdAt","matchedCount"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"matched"},"requestRef":{"type":"string","minLength":1,"maxLength":300},"query":{"type":"string","minLength":1,"maxLength":200},"createdAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"matchedCount":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"tools":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"object","properties":{"toolRef":{"type":"string"},"capabilityId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"provider":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["name","slug"],"additionalProperties":false},"priceLabel":{"type":"string"},"displayPrice":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"indicative"},"amount":{"$ref":"#/components/schemas/MarketDemandStatusResponseExactAmount"},"rateObservedAt":{"type":"number"},"validUntil":{"type":"number"}},"required":["kind","amount","rateObservedAt","validUntil"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unavailable"},"reason":{"type":"string","enum":["upstream_price_missing","unsupported_payment"]}},"required":["kind","reason"],"additionalProperties":false}]},"healthStatus":{"type":"string","enum":["operational","degraded","unverified"]},"verification":{"type":"string","enum":["verified","not_verified"]},"network":{"type":"string","enum":["mainnet","testnet","unknown"]},"claimSource":{"type":"string","enum":["provider","listing"]},"lastCheckedAt":{"type":"number"},"lastHealthyAt":{"type":"number"},"listingTier":{"type":"string","enum":["reviewed","listed"]},"canonicalUrl":{"type":"string"}},"required":["toolRef","capabilityId","title","description","provider","priceLabel","healthStatus","verification","network","claimSource","listingTier"],"additionalProperties":false}}},"required":["kind","requestRef","query","createdAt","matchedCount","tools"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"error"},"code":{"type":"string","enum":["unauthenticated","source_unavailable"]}},"required":["kind","code"],"additionalProperties":false}]},"MarketSavedToolsListRequest":{"type":"object","properties":{},"additionalProperties":false,"required":[]},"MarketSavedToolsListResponseSchema0":{"anyOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"$ref":"#/components/schemas/MarketSavedToolsListResponseSchema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/MarketSavedToolsListResponseSchema0"}}]},"MarketSavedToolsListResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"MarketSavedToolsListResponse":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"available"},"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"identity":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"ae_callable"},"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["kind","toolRef"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"external_listing"},"resource":{"type":"string","maxLength":8192,"format":"uri"}},"required":["kind","resource"],"additionalProperties":false}]},"createdAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"detail":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"found"},"tool":{"type":"object","properties":{"runtimeEnvironment":{"type":"string","enum":["sandbox","production"]},"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"},"toolId":{"type":"string"},"callVia":{"type":"string","const":"/api/v1/tools/call"},"paymentLane":{"type":"string","const":"brokered"},"contract":{"type":"object","properties":{"capabilityId":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"inputJsonSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/MarketSavedToolsListResponseSchema0"}},"outputJsonSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/MarketSavedToolsListResponseSchema0"}},"customerAnnotations":{"type":"array","items":{"type":"object","properties":{"annotationId":{"type":"string"},"document":{"type":"string","enum":["input","output"]},"pointer":{"type":"string"},"label":{"type":"string"},"role":{"type":"string","enum":["request","constraint","comparison","commitment","result","completion_evidence","recovery"]},"semanticIdentity":{"type":"string"},"inference":{"type":"string","enum":["allowed","customer_required"]}},"required":["annotationId","document","pointer","label","role"],"additionalProperties":false}},"inputExamples":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":160},"input":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/MarketSavedToolsListResponseSchema0"}}},"required":["input"],"additionalProperties":false}}},"required":["capabilityId","version","inputJsonSchema","outputJsonSchema","customerAnnotations"],"additionalProperties":false},"business":{"type":"object","properties":{"businessId":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"}},"required":["businessId","slug","name"],"additionalProperties":false},"listing":{"type":"object","properties":{"listingRef":{"type":"string"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"label":{"type":"string"},"summary":{"type":"string"}},"required":["listingRef","revision","label","summary"],"additionalProperties":false},"summary":{"type":"string"},"commercial":{"type":"object","properties":{"displayPrice":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"indicative"},"amount":{"$ref":"#/components/schemas/MarketSavedToolsListResponseExactAmount"},"rateObservedAt":{"type":"number"},"validUntil":{"type":"number"}},"required":["kind","amount","rateObservedAt","validUntil"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unavailable"},"reason":{"type":"string","enum":["upstream_price_missing","unsupported_payment"]}},"required":["kind","reason"],"additionalProperties":false}]},"price":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"fixed"},"amount":{"description":"Exact executable price: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/MarketSavedToolsListResponseExactAmount"}]}},"required":["kind","amount"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"range"},"minimum":{"description":"Exact executable lower price: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/MarketSavedToolsListResponseExactAmount"}]},"maximum":{"description":"Exact executable upper price: currency, integer units, and decimal exponent","allOf":[{"$ref":"#/components/schemas/MarketSavedToolsListResponseExactAmount"}]}},"required":["kind","minimum","maximum"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"on_request"}},"required":["kind"],"additionalProperties":false}]},"priceEvidence":{"type":"object","properties":{"priceDigest":{"type":"string"},"sourceRef":{"type":"string"},"evidenceRefs":{"type":"array","items":{"type":"string"}},"observedAt":{"type":"number"},"validUntil":{"type":"number"}},"required":["priceDigest","evidenceRefs"],"additionalProperties":false},"priceBreakdown":{"type":"object","properties":{"providerQuotedAmount":{"$ref":"#/components/schemas/MarketSavedToolsListResponseExactAmount"},"agenticEconomyFee":{"$ref":"#/components/schemas/MarketSavedToolsListResponseExactAmount"},"totalBuyerAuthorization":{"$ref":"#/components/schemas/MarketSavedToolsListResponseExactAmount"},"network":{"type":"string","const":"eip155:8453"},"asset":{"type":"string","const":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}},"required":["providerQuotedAmount","agenticEconomyFee","totalBuyerAuthorization","network","asset"],"additionalProperties":false},"materialTerms":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}},"required":["label","value"],"additionalProperties":false}},"relationship":{"type":"object","properties":{"kind":{"type":"string","enum":["none","direct","affiliate","ownership"]},"summary":{"type":"string"}},"required":["kind","summary"],"additionalProperties":false}},"required":["price","materialTerms","relationship"],"additionalProperties":false},"dataUse":{"type":"array","items":{"type":"object","properties":{"effectId":{"type":"string"},"inputPointer":{"type":"string"},"classification":{"type":"string","enum":["public","personal","sensitive","credential"]},"phase":{"type":"string","enum":["preparation","execution"]},"recipient":{"type":"string","enum":["candidate_binding","selected_binding","named_recipient"]},"purposes":{"type":"array","items":{"type":"string"}}},"required":["effectId","inputPointer","classification","phase","recipient","purposes"],"additionalProperties":false}},"effects":{"type":"array","items":{"type":"object","properties":{"effectId":{"type":"string"},"class":{"type":"string","enum":["data_release","financial_exposure","external_state_change"]},"authority":{"type":"string","enum":["none","explicit","mandate_or_explicit"]},"reversibility":{"type":"string","enum":["not_applicable","reversible","conditional","irreversible"]}},"required":["effectId","class","authority","reversibility"],"additionalProperties":false}},"evidence":{"type":"array","items":{"type":"object","properties":{"evidenceId":{"type":"string"},"outputPointer":{"type":"string"},"purpose":{"type":"string","enum":["comparison","completion","recovery"]}},"required":["evidenceId","outputPointer","purpose"],"additionalProperties":false}},"cancellation":{"type":"object","properties":{"kind":{"type":"string","enum":["unsupported","adapter_managed"]}},"required":["kind"],"additionalProperties":false},"recovery":{"type":"object","properties":{"idempotency":{"type":"string","enum":["not_applicable","required"]},"recovery":{"type":"string","enum":["retry_safe","reconcile_required"]}},"required":["idempotency","recovery"],"additionalProperties":false},"authentication":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"ae_api_key"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"platform_credential"},"scheme":{"type":"string","const":"api_key"},"in":{"type":"string","enum":["query","header"]},"name":{"type":"string"}},"required":["kind","scheme","in","name"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"platform_credential"},"scheme":{"type":"string","const":"bearer"}},"required":["kind","scheme"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"x402"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unknown"}},"required":["kind"],"additionalProperties":false}]},"payment":{"type":"object","properties":{"protocol":{"type":"string","const":"x402"},"scheme":{"type":"string","const":"exact"},"network":{"type":"string"},"asset":{"type":"string"},"currency":{"type":"string"}},"required":["protocol","scheme","network","asset","currency"],"additionalProperties":false},"transport":{"type":"object","properties":{"method":{"type":"string","enum":["GET","POST"]},"pathTemplate":{"type":"string"},"responseStatus":{"type":"integer","minimum":200,"maximum":299},"responseContentType":{"type":"string"},"requestTimeoutMs":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["method","requestTimeoutMs"],"additionalProperties":false},"provenance":{"type":"object","properties":{"publisher":{"type":"string","enum":["provider_owned","ae_curated_external","third_party_gateway","observed_external"]},"sourceKind":{"type":"string","enum":["ae_envelope","openapi_http","mcp","agent_plugin_mcp","x402"]}},"required":["publisher","sourceKind"],"additionalProperties":false},"listingTier":{"type":"string","enum":["reviewed","listed"]},"canonical":{"type":"object","properties":{"providerHost":{"type":"string"},"slug":{"type":"string"},"path":{"type":"string"}},"required":["providerHost","slug","path"],"additionalProperties":false},"availability":{"type":"object","properties":{"posture":{"type":"string","enum":["setup_required","routeable","unavailable"]},"observedAt":{"type":"number"},"validUntil":{"type":"number"},"lastHealthyAt":{"type":"number"},"reason":{"type":"string","enum":["setup_required","inspection_required","temporarily_unavailable","readiness_expired","publisher_withdrew","under_review","updated_terms_require_review","not_supported_by_ae"]}},"required":["posture"],"additionalProperties":false},"navigation":{"type":"array","items":{"type":"object","properties":{"relation":{"type":"string","enum":["list","search","describe","compare","call","review_route","read_status","reconcile","cancel"]},"pathTemplate":{"type":"string"},"method":{"type":"string","enum":["GET","POST"]},"actionId":{"type":"string"},"authentication":{"type":"string","enum":["none","required"]},"inputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/MarketSavedToolsListResponseSchema0"}},"surfaces":{"type":"array","items":{"type":"string","enum":["ui","http","agentJson","chat","cli","mcp"]}},"precondition":{"type":"string"}},"required":["relation","method","actionId","authentication"],"additionalProperties":false}},"parameters":{"type":"array","items":{"type":"object","properties":{"group":{"type":"string","enum":["body","path","query","header"]},"name":{"type":"string"},"type":{"type":"string"},"description":{"type":"string"},"example":{"allOf":[{"$ref":"#/components/schemas/MarketSavedToolsListResponseSchema0"}]},"enumValues":{"type":"array","items":{"type":"string"}},"default":{"allOf":[{"$ref":"#/components/schemas/MarketSavedToolsListResponseSchema0"}]},"required":{"type":"boolean"},"style":{"type":"string","enum":["form","simple"]},"explode":{"type":"boolean"}},"required":["group","name","type","required"],"additionalProperties":false}},"catalogPrice":{"type":"object","properties":{"scheme":{"type":"string","enum":["exact","upto"],"description":"Decimal catalog merchandising scheme"},"amount":{"description":"Decimal catalog merchandising amount","type":"string"},"minAmount":{"description":"Decimal catalog merchandising minimum","type":"string"},"maxAmount":{"description":"Decimal catalog merchandising maximum","type":"string"},"currency":{"type":"string","description":"Currency code for the decimal catalog price"}},"required":["scheme","currency"],"additionalProperties":false}},"required":["runtimeEnvironment","toolRef","toolId","callVia","paymentLane","contract","business","listing","summary","commercial","dataUse","effects","evidence","cancellation","recovery","authentication","transport","provenance","listingTier","availability","navigation"],"additionalProperties":false}},"required":["kind","tool"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"found"},"entry":{"type":"object","properties":{"resource":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"protocol":{"type":"string"},"provider":{"type":"string"},"metadataJson":{"type":"string"},"prices":{"type":"array","items":{"type":"object","properties":{"network":{"type":"string"},"networkLabel":{"type":"string"},"scheme":{"type":"string"},"amount":{"type":"string"},"asset":{"type":"string"},"symbol":{"type":"string"},"decimalAmount":{"type":"string"},"payTo":{"type":"string"}},"required":["network","scheme","amount"],"additionalProperties":false}},"serviceName":{"type":"string"},"iconUrl":{"type":"string"},"skillUrl":{"type":"string"},"category":{"type":"string"},"input":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"path":{"type":"string"},"location":{"type":"string","enum":["body","queryParams","pathParams","headers","output"]},"source":{"type":"string","enum":["schema","example"]},"type":{"type":"string"},"required":{"type":"boolean"},"description":{"type":"string"},"enumValues":{"type":"array","items":{"type":"string"}},"defaultJson":{"type":"string"},"exampleJson":{"type":"string"},"constraints":{"type":"array","items":{"type":"string"}}},"required":["name","path","location","source"],"additionalProperties":false}},"type":{"type":"string"},"schemaJson":{"type":"string"},"exampleJson":{"type":"string"},"schemaOmitted":{"type":"boolean","const":true},"exampleOmitted":{"type":"boolean","const":true},"fieldsTruncated":{"type":"boolean","const":true}},"required":["fields"],"additionalProperties":false},"output":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"path":{"type":"string"},"location":{"type":"string","enum":["body","queryParams","pathParams","headers","output"]},"source":{"type":"string","enum":["schema","example"]},"type":{"type":"string"},"required":{"type":"boolean"},"description":{"type":"string"},"enumValues":{"type":"array","items":{"type":"string"}},"defaultJson":{"type":"string"},"exampleJson":{"type":"string"},"constraints":{"type":"array","items":{"type":"string"}}},"required":["name","path","location","source"],"additionalProperties":false}},"type":{"type":"string"},"schemaJson":{"type":"string"},"exampleJson":{"type":"string"},"schemaOmitted":{"type":"boolean","const":true},"exampleOmitted":{"type":"boolean","const":true},"fieldsTruncated":{"type":"boolean","const":true}},"required":["fields"],"additionalProperties":false},"method":{"type":"string"},"methodLabel":{"type":"string"},"outputSummary":{"type":"string"},"schemaSummary":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"curated":{"type":"boolean","const":true},"bundleSlugs":{"type":"array","items":{"type":"string"}},"slug":{"type":"string"},"provenance":{"type":"object","properties":{"directory":{"type":"string","const":"Coinbase Bazaar"},"metadata":{"type":"string","const":"provider_declared"},"updatedAt":{"type":"string"}},"required":["directory","metadata"],"additionalProperties":false},"activity":{"type":"object","properties":{"calls30d":{"type":"number"},"payers30d":{"type":"number"},"lastCalledAt":{"type":"string"}},"additionalProperties":false},"choice":{"type":"object","properties":{"access":{"type":"string","enum":["external_listing","ae_callable","setup_required","unavailable"]},"toolRef":{"type":"string"},"sourceRouteRef":{"type":"string"}},"required":["access"],"additionalProperties":false},"audEstimate":{"type":"string"}},"required":["resource","title","description","protocol","provider","metadataJson","prices"],"additionalProperties":false}},"required":["kind","entry"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unavailable"}},"required":["kind"],"additionalProperties":false}]}},"required":["identity","createdAt","detail"],"additionalProperties":false}}},"required":["kind","items"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"error"},"code":{"type":"string","enum":["unauthenticated","source_unavailable"]}},"required":["kind","code"],"additionalProperties":false}]},"MarketSavedToolsSaveRequest":{"anyOf":[{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"ae_callable"},"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["kind","toolRef"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"external_listing"},"resource":{"type":"string","maxLength":8192,"format":"uri"}},"required":["kind","resource"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"external_listing"},"id":{"type":"string","pattern":"^registry:[a-f0-9]{64}$"}},"required":["kind","id"],"additionalProperties":false}]},"MarketSavedToolsSaveResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["saved","already_saved"]},"identity":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"ae_callable"},"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["kind","toolRef"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"external_listing"},"resource":{"type":"string","maxLength":8192,"format":"uri"}},"required":["kind","resource"],"additionalProperties":false}]},"createdAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","identity","createdAt"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"code":{"type":"string","enum":["unauthenticated","limit_reached","not_found","source_unavailable","invalid_identity"]}},"required":["kind","code"],"additionalProperties":false}]},"MarketSavedToolsRemoveRequest":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"ae_callable"},"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["kind","toolRef"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"external_listing"},"resource":{"type":"string","maxLength":8192,"format":"uri"}},"required":["kind","resource"],"additionalProperties":false}]},"MarketSavedToolsRemoveResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["removed","not_found"]}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"error"},"code":{"type":"string","enum":["unauthenticated","source_unavailable"]}},"required":["kind","code"],"additionalProperties":false}]},"SupplySourcePreviewRequest":{"type":"object","properties":{"kind":{"type":"string","const":"x402"},"resourceUrl":{"type":"string","maxLength":2048,"format":"uri"},"method":{"type":"string","enum":["GET","POST"]},"environment":{"type":"string","enum":["sandbox","production"]}},"required":["kind","resourceUrl"],"additionalProperties":false},"SupplySourcePreviewResponseSchema0":{"anyOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"$ref":"#/components/schemas/SupplySourcePreviewResponseSchema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/SupplySourcePreviewResponseSchema0"}}]},"SupplySourcePreviewResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"ready"},"sourceDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"sourceRevision":{"type":"string"},"provenance":{"type":"object","properties":{"sourceKind":{"type":"string","const":"x402"},"sourceUrl":{"type":"string","format":"uri"},"authority":{"type":"string","const":"observed_external"}},"required":["sourceKind","sourceUrl","authority"],"additionalProperties":false},"authentication":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"public"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"api_key"},"location":{"type":"string","enum":["header","query"]},"name":{"type":"string"}},"required":["kind","location","name"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"http_bearer"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mcp_oauth"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"x402_wallet"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unsupported"}},"required":["kind"],"additionalProperties":false}]}},"candidates":{"maxItems":128,"type":"array","items":{"type":"object","properties":{"candidateRef":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"sourceSelector":{"type":"object","properties":{"resourceUrl":{"type":"string","format":"uri"},"method":{"type":"string","enum":["GET","POST"]}},"required":["resourceUrl","method"],"additionalProperties":false},"title":{"type":"string"},"description":{"type":"string"},"inputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/SupplySourcePreviewResponseSchema0"}},"outputSchema":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/SupplySourcePreviewResponseSchema0"}},"authentication":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"public"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"api_key"},"location":{"type":"string","enum":["header","query"]},"name":{"type":"string"}},"required":["kind","location","name"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"http_bearer"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mcp_oauth"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"x402_wallet"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unsupported"}},"required":["kind"],"additionalProperties":false}]},"validationExampleAvailable":{"type":"boolean"},"x402":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"amount":{"type":"string"},"asset":{"type":"string"},"payTo":{"type":"string"},"environment":{"type":"string","enum":["sandbox","production"]}},"required":["scheme","network","amount","asset","payTo","environment"],"additionalProperties":false},"disposition":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"supported"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unsupported"},"reason":{"type":"string"}},"required":["kind","reason"],"additionalProperties":false}]}},"required":["candidateRef","sourceSelector","title","description","authentication","validationExampleAvailable","disposition"],"additionalProperties":false}}},"required":["kind","sourceDigest","sourceRevision","provenance","authentication","candidates"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action_required"},"requiredAction":{"type":"object","properties":{"action":{"type":"string","const":"supply.source.preview"},"blockedCapabilities":{"type":"array","items":[{"type":"string","const":"supply.publish"}]},"cta":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}]},"ctaLabel":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"null"},"status":{"type":"string","const":"required"},"title":{"type":"string"}},"required":["action","blockedCapabilities","cta","ctaLabel","description","iconUrl","status","title"],"additionalProperties":false}},"required":["kind","requiredAction"],"additionalProperties":false}]},"SupplyToolsListRequest":{"type":"object","properties":{"businessRef":{"type":"string","minLength":1},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1}},"required":["businessRef"],"additionalProperties":false},"SupplyToolsListResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"available"},"schemaVersion":{"type":"string","const":"provider_tools:v1"},"businessRef":{"type":"string"},"page":{"type":"array","items":{"type":"object","properties":{"schemaVersion":{"type":"string","const":"provider_tools:v1"},"businessRef":{"type":"string"},"providerRef":{"type":"string"},"toolRef":{"type":"string"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"state":{"type":"string","enum":["Draft","Needs setup","Submitted","Under review","Published","Paused","Action required","Retired"]},"reasonCodes":{"type":"array","items":{"type":"string"}},"observedAt":{"type":"number"},"validUntil":{"type":"number"},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["openapi","mcp","agent_plugin","x402","legacy","unavailable"]},"revision":{"type":"string"},"digest":{"type":"string"}},"required":["kind"],"additionalProperties":false},"routeability":{"type":"object","properties":{"available":{"type":"boolean"},"reasonCodes":{"type":"array","items":{"type":"string"}}},"required":["available","reasonCodes"],"additionalProperties":false},"authority":{"type":"object","properties":{"kind":{"type":"string","enum":["public","connection","unverified","unavailable"]},"connectionRef":{"type":"string"},"providerRef":{"type":"string"}},"required":["kind"],"additionalProperties":false},"health":{"type":"object","properties":{"connection":{"type":"string","enum":["not_required","connected","action_required","unknown"]},"validation":{"type":"string","enum":["not_started","in_progress","passed","failed"]},"publication":{"type":"string","enum":["not_published","published","paused","removed"]},"freshness":{"type":"string","enum":["unobserved","current","stale","failed"]},"delivery":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"unobserved"},"provenance":{"type":"string","const":"canonical_call_receipts"}},"required":["kind","provenance"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unavailable"},"reason":{"type":"string","const":"window_too_large"},"provenance":{"type":"string","const":"canonical_call_receipts"}},"required":["kind","reason","provenance"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"observed"},"deliveredCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"notDeliveredCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"unknownCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"sampleSize":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"lastObservedAt":{"type":"number"},"windowStartAt":{"type":"number"},"windowEndAt":{"type":"number"},"provenance":{"type":"string","const":"canonical_call_receipts"}},"required":["kind","deliveredCount","notDeliveredCount","unknownCount","sampleSize","lastObservedAt","windowStartAt","windowEndAt","provenance"],"additionalProperties":false}]},"usefulOutcome":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"unobserved"},"provenance":{"type":"string","const":"qualified_use_receipts"}},"required":["kind","provenance"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unavailable"},"reason":{"type":"string","const":"window_too_large"},"provenance":{"type":"string","const":"qualified_use_receipts"}},"required":["kind","reason","provenance"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"observed"},"qualifiedUseCount":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"lastObservedAt":{"type":"number"},"windowStartAt":{"type":"number"},"windowEndAt":{"type":"number"},"provenance":{"type":"string","const":"qualified_use_receipts"}},"required":["kind","qualifiedUseCount","lastObservedAt","windowStartAt","windowEndAt","provenance"],"additionalProperties":false}]},"operationalConditions":{"type":"array","items":{"type":"string"}}},"required":["connection","validation","publication","freshness","delivery","usefulOutcome","operationalConditions"],"additionalProperties":false},"continuation":{"type":"object","properties":{"action":{"type":"string","enum":["supply.source.preview","supply.status","supply.recheck","supply.republish","supply.offboarding.status"]}},"required":["action"],"additionalProperties":false},"ownerHandoff":{"type":"object","properties":{"action":{"type":"string","enum":["supply.connection.reconnect","supply.connection.detail"]},"blockedCapabilities":{"type":"array","items":[{"type":"string","const":"supply.publish"}]},"cta":{"type":"string"},"ctaLabel":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"null"},"status":{"type":"string","enum":["required","pending"]},"title":{"type":"string"}},"required":["action","blockedCapabilities","cta","ctaLabel","description","iconUrl","status","title"],"additionalProperties":false}},"required":["schemaVersion","businessRef","providerRef","toolRef","state","reasonCodes","observedAt","source","routeability","authority","health"],"additionalProperties":false}},"isDone":{"type":"boolean"},"continueCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["kind","schemaVersion","businessRef","page","isDone","continueCursor"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"incomplete"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"error"},"code":{"type":"string","enum":["unauthenticated","source_unavailable"]}},"required":["kind","code"],"additionalProperties":false}]},"SupplyStatusRequest":{"type":"object","properties":{"businessRef":{"type":"string","minLength":1},"toolRef":{"type":"string","minLength":1}},"required":["businessRef","toolRef"],"additionalProperties":false},"SupplyStatusResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"available"},"schemaVersion":{"type":"string","const":"provider_tools:v1"},"businessRef":{"type":"string"},"status":{"type":"object","properties":{"schemaVersion":{"type":"string","const":"provider_tools:v1"},"businessRef":{"type":"string"},"providerRef":{"type":"string"},"toolRef":{"type":"string"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"state":{"type":"string","enum":["Draft","Needs setup","Submitted","Under review","Published","Paused","Action required","Retired"]},"reasonCodes":{"type":"array","items":{"type":"string"}},"observedAt":{"type":"number"},"validUntil":{"type":"number"},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["openapi","mcp","agent_plugin","x402","legacy","unavailable"]},"revision":{"type":"string"},"digest":{"type":"string"}},"required":["kind"],"additionalProperties":false},"routeability":{"type":"object","properties":{"available":{"type":"boolean"},"reasonCodes":{"type":"array","items":{"type":"string"}}},"required":["available","reasonCodes"],"additionalProperties":false},"authority":{"type":"object","properties":{"kind":{"type":"string","enum":["public","connection","unverified","unavailable"]},"connectionRef":{"type":"string"},"providerRef":{"type":"string"}},"required":["kind"],"additionalProperties":false},"health":{"type":"object","properties":{"connection":{"type":"string","enum":["not_required","connected","action_required","unknown"]},"validation":{"type":"string","enum":["not_started","in_progress","passed","failed"]},"publication":{"type":"string","enum":["not_published","published","paused","removed"]},"freshness":{"type":"string","enum":["unobserved","current","stale","failed"]},"delivery":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"unobserved"},"provenance":{"type":"string","const":"canonical_call_receipts"}},"required":["kind","provenance"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unavailable"},"reason":{"type":"string","const":"window_too_large"},"provenance":{"type":"string","const":"canonical_call_receipts"}},"required":["kind","reason","provenance"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"observed"},"deliveredCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"notDeliveredCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"unknownCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"sampleSize":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"lastObservedAt":{"type":"number"},"windowStartAt":{"type":"number"},"windowEndAt":{"type":"number"},"provenance":{"type":"string","const":"canonical_call_receipts"}},"required":["kind","deliveredCount","notDeliveredCount","unknownCount","sampleSize","lastObservedAt","windowStartAt","windowEndAt","provenance"],"additionalProperties":false}]},"usefulOutcome":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"unobserved"},"provenance":{"type":"string","const":"qualified_use_receipts"}},"required":["kind","provenance"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unavailable"},"reason":{"type":"string","const":"window_too_large"},"provenance":{"type":"string","const":"qualified_use_receipts"}},"required":["kind","reason","provenance"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"observed"},"qualifiedUseCount":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"lastObservedAt":{"type":"number"},"windowStartAt":{"type":"number"},"windowEndAt":{"type":"number"},"provenance":{"type":"string","const":"qualified_use_receipts"}},"required":["kind","qualifiedUseCount","lastObservedAt","windowStartAt","windowEndAt","provenance"],"additionalProperties":false}]},"operationalConditions":{"type":"array","items":{"type":"string"}}},"required":["connection","validation","publication","freshness","delivery","usefulOutcome","operationalConditions"],"additionalProperties":false},"continuation":{"type":"object","properties":{"action":{"type":"string","enum":["supply.source.preview","supply.status","supply.recheck","supply.republish","supply.offboarding.status"]}},"required":["action"],"additionalProperties":false},"ownerHandoff":{"type":"object","properties":{"action":{"type":"string","enum":["supply.connection.reconnect","supply.connection.detail"]},"blockedCapabilities":{"type":"array","items":[{"type":"string","const":"supply.publish"}]},"cta":{"type":"string"},"ctaLabel":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"null"},"status":{"type":"string","enum":["required","pending"]},"title":{"type":"string"}},"required":["action","blockedCapabilities","cta","ctaLabel","description","iconUrl","status","title"],"additionalProperties":false}},"required":["schemaVersion","businessRef","providerRef","toolRef","state","reasonCodes","observedAt","source","routeability","authority","health"],"additionalProperties":false}},"required":["kind","schemaVersion","businessRef","status"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"incomplete"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"error"},"code":{"type":"string","enum":["unauthenticated","source_unavailable"]}},"required":["kind","code"],"additionalProperties":false}]},"SupplyPublishRequestSchema0":{"anyOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"$ref":"#/components/schemas/SupplyPublishRequestSchema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/SupplyPublishRequestSchema0"}}]},"SupplyPublishRequest":{"type":"object","properties":{"businessRef":{"type":"string","minLength":1,"maxLength":200},"source":{"type":"object","properties":{"kind":{"type":"string","const":"x402"},"resourceUrl":{"type":"string","maxLength":2048,"format":"uri"},"method":{"type":"string","enum":["GET","POST"]},"environment":{"type":"string","enum":["sandbox","production"]}},"required":["kind","resourceUrl"],"additionalProperties":false},"candidateRef":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"expectedSourceDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"connectionRef":{"type":"string","minLength":1,"maxLength":200},"presentation":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":160},"description":{"type":"string","minLength":1,"maxLength":1000},"category":{"type":"string","minLength":1,"maxLength":120},"serviceArea":{"type":"string","minLength":1,"maxLength":160},"availability":{"type":"string","minLength":1,"maxLength":160}},"required":["name","description","category"],"additionalProperties":false},"consequences":{"type":"object","properties":{"effects":{"maxItems":64,"type":"array","items":{"type":"object","properties":{"class":{"type":"string","enum":["data_release","financial_exposure","external_state_change"]},"authority":{"type":"string","enum":["explicit","mandate_or_explicit"]},"reversibility":{"type":"string","enum":["not_applicable","reversible","conditional","irreversible"]}},"required":["class","authority","reversibility"],"additionalProperties":false}},"dataUse":{"maxItems":128,"type":"array","items":{"type":"object","properties":{"inputPointer":{"type":"string","maxLength":500,"pattern":"^\\/.*"},"classification":{"type":"string","enum":["public","personal","sensitive","credential"]},"phase":{"type":"string","enum":["preparation","execution"]},"purposes":{"minItems":1,"maxItems":16,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}}},"required":["inputPointer","classification","phase","purposes"],"additionalProperties":false}},"evidence":{"maxItems":64,"type":"array","items":{"type":"object","properties":{"outputPointer":{"type":"string","maxLength":500},"purpose":{"type":"string","enum":["comparison","completion","recovery"]}},"required":["outputPointer","purpose"],"additionalProperties":false}}},"required":["effects","dataUse","evidence"],"additionalProperties":false},"pricing":{"type":"object","properties":{"kind":{"type":"string","const":"source_x402"}},"required":["kind"],"additionalProperties":false},"validationInput":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/SupplyPublishRequestSchema0"}},"environment":{"type":"string","enum":["sandbox","production"]},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200},"attestation":{"type":"object","properties":{"authorisedToPublish":{"type":"boolean"},"informationAccurate":{"type":"boolean","const":true},"publishAfterSuccessfulValidation":{"type":"boolean","const":true}},"required":["authorisedToPublish","informationAccurate","publishAfterSuccessfulValidation"],"additionalProperties":false}},"required":["businessRef","source","candidateRef","expectedSourceDigest","presentation","consequences","pricing","environment","idempotencyKey","attestation"],"additionalProperties":false},"SupplyPublishResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["submitted","replayed"]},"publicationRef":{"type":"string"},"publicationRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"toolRef":{"type":"string"},"state":{"type":"string","const":"Submitted"}},"required":["kind","publicationRef","publicationRevision","toolRef","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"reason":{"type":"string"}},"required":["kind","reason"],"additionalProperties":false}]},"SupplyWithdrawRequest":{"type":"object","properties":{"businessId":{"type":"string","minLength":1},"offeringRef":{"type":"string","minLength":1},"offeringRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"offeringSourceHash":{"type":"string","minLength":1},"publicationRef":{"type":"string","minLength":1},"publicationRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["businessId","offeringRef","offeringRevision","offeringSourceHash","publicationRef","publicationRevision","idempotencyKey"],"additionalProperties":false},"SupplyWithdrawResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"withdrawn"},"publicationRef":{"type":"string"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"lifecycle":{"type":"object","properties":{"state":{"type":"string","enum":["inactive","active","withdrawn","incompatible"]},"reasons":{"type":"array","items":{"type":"string"}}},"required":["state","reasons"],"additionalProperties":false}},"required":["kind","publicationRef","revision","lifecycle"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"reason":{"type":"string"}},"required":["kind","reason"],"additionalProperties":false}]},"SupplyRecheckRequest":{"type":"object","properties":{"businessId":{"type":"string","minLength":1},"offeringRef":{"type":"string","minLength":1},"offeringRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"offeringSourceHash":{"type":"string","minLength":1},"publicationRef":{"type":"string","minLength":1},"publicationRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["businessId","offeringRef","offeringRevision","offeringSourceHash","publicationRef","publicationRevision","idempotencyKey"],"additionalProperties":false},"SupplyRecheckResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"refreshed"},"publicationRef":{"type":"string"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"disposition":{"type":"string","enum":["current","incompatible"]},"lifecycle":{"type":"object","properties":{"state":{"type":"string","enum":["inactive","active","withdrawn","incompatible"]},"reasons":{"type":"array","items":{"type":"string"}}},"required":["state","reasons"],"additionalProperties":false}},"required":["kind","publicationRef","revision","disposition","lifecycle"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"reason":{"type":"string"}},"required":["kind","reason"],"additionalProperties":false}]},"SupplyRepublishRequest":{"type":"object","properties":{"businessId":{"type":"string","minLength":1},"offeringRef":{"type":"string","minLength":1},"offeringRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"offeringSourceHash":{"type":"string","minLength":1},"publicationRef":{"type":"string","minLength":1},"publicationRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["businessId","offeringRef","offeringRevision","offeringSourceHash","publicationRef","publicationRevision","idempotencyKey"],"additionalProperties":false},"SupplyRepublishResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"republished"},"publicationRef":{"type":"string"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"toolRef":{"type":"string"},"bindingId":{"type":"string"},"lifecycle":{"type":"object","properties":{"state":{"type":"string","enum":["inactive","active","withdrawn","incompatible"]},"reasons":{"type":"array","items":{"type":"string"}}},"required":["state","reasons"],"additionalProperties":false}},"required":["kind","publicationRef","revision","toolRef","bindingId","lifecycle"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"reason":{"type":"string"}},"required":["kind","reason"],"additionalProperties":false}]},"SupplyEarningsRequest":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"}},"required":["currency"],"additionalProperties":false},"SupplyEarningsResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"SupplyEarningsResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"available"},"businessId":{"type":"string"},"currency":{"type":"string"},"earnings":{"type":"object","properties":{"businessId":{"type":"string","minLength":1,"maxLength":500},"grossAccrual":{"$ref":"#/components/schemas/SupplyEarningsResponseExactAmount"},"rake":{"$ref":"#/components/schemas/SupplyEarningsResponseExactAmount"},"providerNet":{"$ref":"#/components/schemas/SupplyEarningsResponseExactAmount"},"paidOut":{"$ref":"#/components/schemas/SupplyEarningsResponseExactAmount"},"held":{"$ref":"#/components/schemas/SupplyEarningsResponseExactAmount"},"recoveryDue":{"$ref":"#/components/schemas/SupplyEarningsResponseExactAmount"},"truncated":{"type":"boolean","const":false},"evidence":{"type":"string","const":"source"}},"required":["businessId","grossAccrual","rake","providerNet","paidOut","held","recoveryDue","truncated","evidence"],"additionalProperties":false},"payout":{"type":"object","properties":{"businessId":{"type":"string"},"accountState":{"type":"string","enum":["missing","not_started","onboarding_started","submitted","restricted","ready"]},"payoutState":{"type":"string","enum":["review","held_kyc","held_threshold","transfer_pending","paid","reversed","failed","outcome_unknown"]},"providerNet":{"$ref":"#/components/schemas/SupplyEarningsResponseExactAmount"},"minimumPayout":{"$ref":"#/components/schemas/SupplyEarningsResponseExactAmount"},"transferStatus":{"type":"string","enum":["pending","succeeded","failed","reversed","outcome_unknown"]},"providerRecoveryDeadlineAt":{"type":"number"},"recoveryState":{"type":"string","enum":["provider_id","idempotency_key","admin_intervention"]},"evidenceDigest":{"type":"string"},"reversalEvidenceDigest":{"type":"string"},"providerHeldBefore":{"allOf":[{"$ref":"#/components/schemas/SupplyEarningsResponseExactAmount"}]},"providerHeldAfter":{"allOf":[{"$ref":"#/components/schemas/SupplyEarningsResponseExactAmount"}]},"providerPaidBefore":{"allOf":[{"$ref":"#/components/schemas/SupplyEarningsResponseExactAmount"}]},"providerPaidAfter":{"allOf":[{"$ref":"#/components/schemas/SupplyEarningsResponseExactAmount"}]},"evidence":{"type":"string","enum":["source","labelled_local_dev"]}},"required":["businessId","accountState","providerNet","minimumPayout","evidence"],"additionalProperties":false}},"required":["kind","businessId","currency","earnings","payout"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"error"},"code":{"type":"string","enum":["unauthenticated","source_unavailable"]}},"required":["kind","code"],"additionalProperties":false}]},"SupplyCallsRequest":{"type":"object","properties":{"state":{"type":"string","enum":["pending","completed","refused","reconciliation_required","cancelled"]},"limit":{"default":20,"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":512}},"additionalProperties":false,"required":[]},"SupplyCallsResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"SupplyCallsResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"available"},"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"callRef":{"type":"string"},"toolRef":{"type":"string"},"state":{"type":"string","enum":["pending","completed","refused","reconciliation_required","cancelled"]},"outcome":{"type":"string","enum":["completed","pending","needs_authority","reconciliation_required","refused"]},"settledAmount":{"allOf":[{"$ref":"#/components/schemas/SupplyCallsResponseExactAmount"}]},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["callRef","toolRef","state","createdAt","updatedAt"],"additionalProperties":false}},"limit":{"type":"number"},"hasMore":{"type":"boolean"},"nextCursor":{"type":"string","minLength":1,"maxLength":512}},"required":["kind","items","limit","hasMore"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"error"},"code":{"type":"string","enum":["unauthenticated","source_unavailable"]}},"required":["kind","code"],"additionalProperties":false}]},"SupplyConnectionListRequest":{"type":"object","properties":{"businessId":{"type":"string","minLength":1},"lifecycle":{"type":"string","enum":["active","reauthorization_required","revocation_pending","cleanup_required","revoked"]},"limit":{"default":100,"type":"integer","minimum":1,"maximum":100}},"required":["businessId"],"additionalProperties":false},"SupplyConnectionListResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"available"},"businessId":{"type":"string"},"connections":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"connectionRef":{"type":"string"},"businessId":{"type":"string"},"providerRef":{"type":"string"},"providerAccountRef":{"type":"string"},"adapterId":{"type":"string"},"grantedScopes":{"type":"array","items":{"type":"string"}},"grantedResources":{"type":"array","items":{"type":"string"}},"authorityGeneration":{"type":"integer","minimum":0,"maximum":9007199254740991},"authorityDigest":{"type":"string"},"lifecycle":{"type":"string","enum":["active","reauthorization_required","revocation_pending","cleanup_required","revoked"]},"available":{"type":"boolean"},"credentialConfigured":{"type":"boolean"},"observedAt":{"type":"number"},"expiresAt":{"type":"number"},"revokedAt":{"type":"number"},"reasonCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"evidenceRefs":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["connectionRef","businessId","providerRef","providerAccountRef","adapterId","grantedScopes","grantedResources","authorityGeneration","authorityDigest","lifecycle","available","credentialConfigured","observedAt","reasonCode","evidenceRefs","createdAt","updatedAt"],"additionalProperties":false}}},"required":["kind","businessId","connections"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"error"},"code":{"type":"string","enum":["unauthenticated","source_unavailable"]}},"required":["kind","code"],"additionalProperties":false}]},"SupplyConnectionDetailRequest":{"type":"object","properties":{"connectionRef":{"type":"string","minLength":1}},"required":["connectionRef"],"additionalProperties":false},"SupplyConnectionDetailResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"found"},"connection":{"type":"object","properties":{"connectionRef":{"type":"string"},"businessId":{"type":"string"},"providerRef":{"type":"string"},"providerAccountRef":{"type":"string"},"adapterId":{"type":"string"},"grantedScopes":{"type":"array","items":{"type":"string"}},"grantedResources":{"type":"array","items":{"type":"string"}},"authorityGeneration":{"type":"integer","minimum":0,"maximum":9007199254740991},"authorityDigest":{"type":"string"},"lifecycle":{"type":"string","enum":["active","reauthorization_required","revocation_pending","cleanup_required","revoked"]},"available":{"type":"boolean"},"credentialConfigured":{"type":"boolean"},"observedAt":{"type":"number"},"expiresAt":{"type":"number"},"revokedAt":{"type":"number"},"reasonCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"evidenceRefs":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["connectionRef","businessId","providerRef","providerAccountRef","adapterId","grantedScopes","grantedResources","authorityGeneration","authorityDigest","lifecycle","available","credentialConfigured","observedAt","reasonCode","evidenceRefs","createdAt","updatedAt"],"additionalProperties":false}},"required":["kind","connection"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"error"},"code":{"type":"string","enum":["unauthenticated","source_unavailable"]}},"required":["kind","code"],"additionalProperties":false}]},"SupplyConnectionConnectRequest":{"type":"object","properties":{"kind":{"type":"string","enum":["http_credential","mcp_oauth","x402"]},"businessRef":{"type":"string","minLength":1},"sourceUrl":{"type":"string","maxLength":2048,"format":"uri"},"authentication":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"api_key"},"location":{"type":"string","enum":["header","query"]},"name":{"type":"string","minLength":1,"maxLength":200}},"required":["kind","location","name"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"http_bearer"}},"required":["kind"],"additionalProperties":false}]},"serverUrl":{"type":"string","maxLength":2048,"format":"uri"},"resourceUrl":{"type":"string","maxLength":2048,"format":"uri"},"method":{"type":"string","enum":["GET","POST"]},"environment":{"type":"string","enum":["sandbox","production"]},"observationDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"payTo":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"claimExpiresAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"claimSignature":{"type":"string","pattern":"^0x[0-9a-fA-F]{130}$"},"evidenceRefs":{"maxItems":64,"type":"array","items":{"type":"string","minLength":1}},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["kind","businessRef","environment","idempotencyKey"],"additionalProperties":false},"SupplyConnectionConnectResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["applied","duplicate"]},"connection":{"type":"object","properties":{"connectionRef":{"type":"string"},"businessId":{"type":"string"},"providerRef":{"type":"string"},"providerAccountRef":{"type":"string"},"adapterId":{"type":"string"},"grantedScopes":{"type":"array","items":{"type":"string"}},"grantedResources":{"type":"array","items":{"type":"string"}},"authorityGeneration":{"type":"integer","minimum":0,"maximum":9007199254740991},"authorityDigest":{"type":"string"},"lifecycle":{"type":"string","enum":["active","reauthorization_required","revocation_pending","cleanup_required","revoked"]},"available":{"type":"boolean"},"credentialConfigured":{"type":"boolean"},"observedAt":{"type":"number"},"expiresAt":{"type":"number"},"revokedAt":{"type":"number"},"reasonCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"evidenceRefs":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["connectionRef","businessId","providerRef","providerAccountRef","adapterId","grantedScopes","grantedResources","authorityGeneration","authorityDigest","lifecycle","available","credentialConfigured","observedAt","reasonCode","evidenceRefs","createdAt","updatedAt"],"additionalProperties":false},"commandDigest":{"type":"string"}},"required":["kind","connection","commandDigest"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action_required"},"attemptRef":{"type":"string"},"expiresAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"requiredAction":{"type":"object","properties":{"action":{"type":"string","const":"supply.connection.connect"},"blockedCapabilities":{"type":"array","items":[{"type":"string","const":"supply.publish"}]},"cta":{"type":"string"},"ctaLabel":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"null"},"status":{"type":"string","const":"required"},"title":{"type":"string"}},"required":["action","blockedCapabilities","cta","ctaLabel","description","iconUrl","status","title"],"additionalProperties":false}},"required":["kind","attemptRef","expiresAt","requiredAction"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"reason":{"type":"string","enum":["invalid_identity","invalid_time","invalid_scope","invalid_resource","invalid_generation","invalid_digest","invalid_transition","command_identity_conflict","claim_invalid","inspection_target_invalid","inspection_target_not_public","inspection_request_invalid","inspection_request_failed","inspection_redirect_refused","inspection_payment_not_required","inspection_challenge_missing","inspection_challenge_too_large","inspection_challenge_malformed","inspection_challenge_conflict","inspection_challenge_resource_mismatch","inspection_unsupported","inspection_ambiguous","inspection_schema_missing","inspection_selector_invalid","inspection_transport_unsupported","source_unavailable"]}},"required":["kind","reason"],"additionalProperties":false}]},"SupplyConnectionReconnectRequest":{"type":"object","properties":{"connectionRef":{"type":"string","minLength":1},"expectedAuthorityGeneration":{"type":"integer","minimum":0,"maximum":9007199254740991},"expectedAuthorityDigest":{"type":"string","minLength":1},"reasonCode":{"type":"string","minLength":1,"maxLength":200},"evidenceRefs":{"default":[],"maxItems":64,"type":"array","items":{"type":"string","minLength":1}},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["connectionRef","expectedAuthorityGeneration","expectedAuthorityDigest","idempotencyKey"],"additionalProperties":false},"SupplyConnectionReconnectResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["applied","duplicate"]},"connection":{"type":"object","properties":{"connectionRef":{"type":"string"},"businessId":{"type":"string"},"providerRef":{"type":"string"},"providerAccountRef":{"type":"string"},"adapterId":{"type":"string"},"grantedScopes":{"type":"array","items":{"type":"string"}},"grantedResources":{"type":"array","items":{"type":"string"}},"authorityGeneration":{"type":"integer","minimum":0,"maximum":9007199254740991},"authorityDigest":{"type":"string"},"lifecycle":{"type":"string","enum":["active","reauthorization_required","revocation_pending","cleanup_required","revoked"]},"available":{"type":"boolean"},"credentialConfigured":{"type":"boolean"},"observedAt":{"type":"number"},"expiresAt":{"type":"number"},"revokedAt":{"type":"number"},"reasonCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"evidenceRefs":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["connectionRef","businessId","providerRef","providerAccountRef","adapterId","grantedScopes","grantedResources","authorityGeneration","authorityDigest","lifecycle","available","credentialConfigured","observedAt","reasonCode","evidenceRefs","createdAt","updatedAt"],"additionalProperties":false},"commandDigest":{"type":"string"}},"required":["kind","connection","commandDigest"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action_required"},"attemptRef":{"type":"string"},"expiresAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"requiredAction":{"type":"object","properties":{"action":{"type":"string","const":"supply.connection.connect"},"blockedCapabilities":{"type":"array","items":[{"type":"string","const":"supply.publish"}]},"cta":{"type":"string"},"ctaLabel":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"null"},"status":{"type":"string","const":"required"},"title":{"type":"string"}},"required":["action","blockedCapabilities","cta","ctaLabel","description","iconUrl","status","title"],"additionalProperties":false}},"required":["kind","attemptRef","expiresAt","requiredAction"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"reason":{"type":"string","enum":["invalid_identity","invalid_time","invalid_scope","invalid_resource","invalid_generation","invalid_digest","invalid_transition","command_identity_conflict","claim_invalid","inspection_target_invalid","inspection_target_not_public","inspection_request_invalid","inspection_request_failed","inspection_redirect_refused","inspection_payment_not_required","inspection_challenge_missing","inspection_challenge_too_large","inspection_challenge_malformed","inspection_challenge_conflict","inspection_challenge_resource_mismatch","inspection_unsupported","inspection_ambiguous","inspection_schema_missing","inspection_selector_invalid","inspection_transport_unsupported","source_unavailable"]}},"required":["kind","reason"],"additionalProperties":false}]},"SupplyConnectionRevokeRequest":{"type":"object","properties":{"connectionRef":{"type":"string","minLength":1},"expectedAuthorityGeneration":{"type":"integer","minimum":0,"maximum":9007199254740991},"expectedAuthorityDigest":{"type":"string","minLength":1},"reasonCode":{"type":"string","minLength":1,"maxLength":200},"evidenceRefs":{"default":[],"maxItems":64,"type":"array","items":{"type":"string","minLength":1}},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["connectionRef","expectedAuthorityGeneration","expectedAuthorityDigest","idempotencyKey"],"additionalProperties":false},"SupplyConnectionRevokeResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["applied","duplicate"]},"connection":{"type":"object","properties":{"connectionRef":{"type":"string"},"businessId":{"type":"string"},"providerRef":{"type":"string"},"providerAccountRef":{"type":"string"},"adapterId":{"type":"string"},"grantedScopes":{"type":"array","items":{"type":"string"}},"grantedResources":{"type":"array","items":{"type":"string"}},"authorityGeneration":{"type":"integer","minimum":0,"maximum":9007199254740991},"authorityDigest":{"type":"string"},"lifecycle":{"type":"string","enum":["active","reauthorization_required","revocation_pending","cleanup_required","revoked"]},"available":{"type":"boolean"},"credentialConfigured":{"type":"boolean"},"observedAt":{"type":"number"},"expiresAt":{"type":"number"},"revokedAt":{"type":"number"},"reasonCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"evidenceRefs":{"type":"array","items":{"type":"string"}},"createdAt":{"type":"number"},"updatedAt":{"type":"number"}},"required":["connectionRef","businessId","providerRef","providerAccountRef","adapterId","grantedScopes","grantedResources","authorityGeneration","authorityDigest","lifecycle","available","credentialConfigured","observedAt","reasonCode","evidenceRefs","createdAt","updatedAt"],"additionalProperties":false},"commandDigest":{"type":"string"}},"required":["kind","connection","commandDigest"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"action_required"},"attemptRef":{"type":"string"},"expiresAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"requiredAction":{"type":"object","properties":{"action":{"type":"string","const":"supply.connection.connect"},"blockedCapabilities":{"type":"array","items":[{"type":"string","const":"supply.publish"}]},"cta":{"type":"string"},"ctaLabel":{"type":"string"},"description":{"type":"string"},"iconUrl":{"type":"null"},"status":{"type":"string","const":"required"},"title":{"type":"string"}},"required":["action","blockedCapabilities","cta","ctaLabel","description","iconUrl","status","title"],"additionalProperties":false}},"required":["kind","attemptRef","expiresAt","requiredAction"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"reason":{"type":"string","enum":["invalid_identity","invalid_time","invalid_scope","invalid_resource","invalid_generation","invalid_digest","invalid_transition","command_identity_conflict","claim_invalid","inspection_target_invalid","inspection_target_not_public","inspection_request_invalid","inspection_request_failed","inspection_redirect_refused","inspection_payment_not_required","inspection_challenge_missing","inspection_challenge_too_large","inspection_challenge_malformed","inspection_challenge_conflict","inspection_challenge_resource_mismatch","inspection_unsupported","inspection_ambiguous","inspection_schema_missing","inspection_selector_invalid","inspection_transport_unsupported","source_unavailable"]}},"required":["kind","reason"],"additionalProperties":false}]},"SupplyOffboardingStatusRequest":{"type":"object","properties":{"businessRef":{"type":"string","minLength":1}},"required":["businessRef"],"additionalProperties":false},"SupplyOffboardingStatusResponse":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"available"},"status":{"type":"object","properties":{"schemaVersion":{"type":"string","const":"provider_offboarding:v1"},"caseRef":{"type":"string","minLength":1},"businessRef":{"type":"string","minLength":1},"providerRef":{"type":"string","minLength":1},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"state":{"type":"string","enum":["Cancelled","Freezing","Draining","Waiting for obligations","Revoking connections","Verifying cleanup","Action required","Retired"]},"routeabilityFrozen":{"type":"boolean"},"blockerCodes":{"type":"array","items":{"type":"string","enum":["routeable_tools_remain","calls_remain","obligations_remain","payout_resolution_required","connections_remain","provider_cleanup_pending","offering_retirement_conflict","retention_policy_unbound"]}},"observedAt":{"type":"number"},"retentionPolicyVersion":{"type":"string","minLength":1},"continuation":{"type":"object","properties":{"action":{"type":"string","enum":["supply.offboarding.status","supply.offboarding.resume"]}},"required":["action"],"additionalProperties":false}},"required":["schemaVersion","caseRef","businessRef","providerRef","revision","state","routeabilityFrozen","blockerCodes","observedAt","retentionPolicyVersion"],"additionalProperties":false}},"required":["kind","status"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"}},"required":["kind"],"additionalProperties":false}]},"FundingHandoffConfigResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"FundingHandoffConfigResponse":{"type":"object","properties":{"kind":{"type":"string","const":"funding_config"},"success":{"type":"boolean","const":true},"currency":{"type":"string","const":"AUD"},"minimum":{"$ref":"#/components/schemas/FundingHandoffConfigResponseExactAmount"},"maximum":{"$ref":"#/components/schemas/FundingHandoffConfigResponseExactAmount"},"increment":{"$ref":"#/components/schemas/FundingHandoffConfigResponseExactAmount"},"checkout":{"type":"string","const":"stripe_hosted"},"payerGainsAuthority":{"type":"boolean","const":false},"reusablePaymentAuthority":{"type":"boolean","const":false}},"required":["kind","success","currency","minimum","maximum","increment","checkout","payerGainsAuthority","reusablePaymentAuthority"],"additionalProperties":false},"FundingHandoffCreateRequestExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"FundingHandoffCreateRequest":{"type":"object","properties":{"principalAmount":{"allOf":[{"$ref":"#/components/schemas/FundingHandoffCreateRequestExactAmount"}]}},"required":["principalAmount"],"additionalProperties":false},"FundingHandoffCreateResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"FundingHandoffCreateResponse":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"funding_session"},"success":{"type":"boolean","const":true},"fundingSessionId":{"type":"string","pattern":"^cs_[A-Za-z0-9_]+$"},"checkoutUrl":{"type":"string","format":"uri"},"statusUrl":{"type":"string","format":"uri"},"expiresAt":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"quote":{"type":"object","properties":{"principalAmount":{"$ref":"#/components/schemas/FundingHandoffCreateResponseExactAmount"},"serviceFeeAmount":{"$ref":"#/components/schemas/FundingHandoffCreateResponseExactAmount"},"taxAmount":{"$ref":"#/components/schemas/FundingHandoffCreateResponseExactAmount"},"totalPaymentAmount":{"$ref":"#/components/schemas/FundingHandoffCreateResponseExactAmount"}},"required":["principalAmount","serviceFeeAmount","taxAmount","totalPaymentAmount"],"additionalProperties":false},"humanHandoff":{"type":"object","properties":{"message":{"type":"string","minLength":1},"instruction":{"type":"string","minLength":1}},"required":["message","instruction"],"additionalProperties":false},"pollAfterMs":{"type":"number","const":5000},"idempotentReplay":{"type":"boolean"}},"required":["kind","success","fundingSessionId","checkoutUrl","statusUrl","expiresAt","quote","humanHandoff","pollAfterMs","idempotentReplay"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"code":{"type":"string","minLength":1},"retryable":{"type":"boolean"},"correlationRef":{"type":"string","minLength":1}},"required":["kind","code","retryable"],"additionalProperties":false}]},"FundingHandoffStatusResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"FundingHandoffStatusResponse":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"awaiting_payment"},"success":{"type":"boolean","const":true},"fundingSessionId":{"type":"string","pattern":"^cs_[A-Za-z0-9_]+$"},"quote":{"type":"object","properties":{"principalAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"},"serviceFeeAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"},"taxAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"},"totalPaymentAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"}},"required":["principalAmount","serviceFeeAmount","taxAmount","totalPaymentAmount"],"additionalProperties":false},"state":{"type":"string","const":"awaiting_payment"},"paymentStatus":{"type":"string","const":"unpaid"},"nextAction":{"type":"object","properties":{"kind":{"type":"string","const":"share_checkout"},"checkoutUrl":{"type":"string","format":"uri"}},"required":["kind","checkoutUrl"],"additionalProperties":false},"pollAfterMs":{"type":"number","const":5000}},"required":["kind","success","fundingSessionId","quote","state","paymentStatus","nextAction","pollAfterMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"processing"},"success":{"type":"boolean","const":true},"fundingSessionId":{"type":"string","pattern":"^cs_[A-Za-z0-9_]+$"},"quote":{"type":"object","properties":{"principalAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"},"serviceFeeAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"},"taxAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"},"totalPaymentAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"}},"required":["principalAmount","serviceFeeAmount","taxAmount","totalPaymentAmount"],"additionalProperties":false},"state":{"type":"string","const":"processing"},"paymentStatus":{"type":"string","enum":["unpaid","paid"]},"nextAction":{"type":"object","properties":{"kind":{"type":"string","const":"poll"}},"required":["kind"],"additionalProperties":false},"pollAfterMs":{"type":"number","const":5000}},"required":["kind","success","fundingSessionId","quote","state","paymentStatus","nextAction","pollAfterMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"ready"},"success":{"type":"boolean","const":true},"fundingSessionId":{"type":"string","pattern":"^cs_[A-Za-z0-9_]+$"},"quote":{"type":"object","properties":{"principalAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"},"serviceFeeAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"},"taxAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"},"totalPaymentAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"}},"required":["principalAmount","serviceFeeAmount","taxAmount","totalPaymentAmount"],"additionalProperties":false},"state":{"type":"string","const":"ready"},"paymentStatus":{"type":"string","const":"paid"},"balance":{"type":"object","properties":{"usableAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"}},"required":["usableAmount"],"additionalProperties":false},"nextAction":{"type":"object","properties":{"kind":{"type":"string","const":"continue"}},"required":["kind"],"additionalProperties":false}},"required":["kind","success","fundingSessionId","quote","state","paymentStatus","balance","nextAction"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"expired"},"success":{"type":"boolean","const":true},"fundingSessionId":{"type":"string","pattern":"^cs_[A-Za-z0-9_]+$"},"quote":{"type":"object","properties":{"principalAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"},"serviceFeeAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"},"taxAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"},"totalPaymentAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"}},"required":["principalAmount","serviceFeeAmount","taxAmount","totalPaymentAmount"],"additionalProperties":false},"state":{"type":"string","const":"expired"},"paymentStatus":{"type":"string","const":"unpaid"},"nextAction":{"type":"object","properties":{"kind":{"type":"string","const":"create_new"}},"required":["kind"],"additionalProperties":false}},"required":["kind","success","fundingSessionId","quote","state","paymentStatus","nextAction"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"failed"},"success":{"type":"boolean","const":true},"fundingSessionId":{"type":"string","pattern":"^cs_[A-Za-z0-9_]+$"},"quote":{"type":"object","properties":{"principalAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"},"serviceFeeAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"},"taxAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"},"totalPaymentAmount":{"$ref":"#/components/schemas/FundingHandoffStatusResponseExactAmount"}},"required":["principalAmount","serviceFeeAmount","taxAmount","totalPaymentAmount"],"additionalProperties":false},"state":{"type":"string","const":"failed"},"paymentStatus":{"type":"string","const":"failed"},"nextAction":{"type":"object","properties":{"kind":{"type":"string","const":"create_new"}},"required":["kind"],"additionalProperties":false}},"required":["kind","success","fundingSessionId","quote","state","paymentStatus","nextAction"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"not_found"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"error"},"code":{"type":"string","minLength":1},"retryable":{"type":"boolean"},"correlationRef":{"type":"string","minLength":1},"nextAction":{"type":"object","properties":{"kind":{"type":"string","const":"poll"}},"required":["kind"],"additionalProperties":false}},"required":["kind","code","retryable","correlationRef","nextAction"],"additionalProperties":false}]},"FundingHandoffPublicStatusResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"FundingHandoffPublicStatusResponse":{"type":"object","properties":{"success":{"type":"boolean","const":true},"funding":{"type":"object","properties":{"state":{"type":"string","enum":["awaiting_payment","processing","ready","expired","failed"]},"agentName":{"type":"string"},"creditAmount":{"$ref":"#/components/schemas/FundingHandoffPublicStatusResponseExactAmount"}},"required":["state","agentName","creditAmount"],"additionalProperties":false}},"required":["success","funding"],"additionalProperties":false},"ChatTurnStartRequest":{"type":"object","properties":{"prompt":{"type":"string","minLength":1,"maxLength":2000},"threadId":{"type":"string","minLength":1},"clientTurnId":{"type":"string","minLength":1,"maxLength":200}},"required":["prompt","clientTurnId"],"additionalProperties":false},"ChatTurnStartResponse":{"type":"string"},"ChatTurnReadResponse":{"type":"object","properties":{"threadId":{"type":"string"},"turnRef":{"type":"string"},"promptMessageId":{"type":"string"},"state":{"type":"string","enum":["submitted","working","input-required","auth-required","completed","failed","canceled","rejected"]},"sequence":{"type":"number"},"cancelRequestedAt":{"type":"number"},"callRefs":{"type":"array","items":{"type":"string"}},"inFlightCallRefs":{"type":"array","items":{"type":"string"}}},"required":["threadId","turnRef","promptMessageId","state","sequence","callRefs","inFlightCallRefs"],"additionalProperties":false},"ChatTurnCancelResponse":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"stopped"},"turnRef":{"type":"string"},"inFlightEffects":{"type":"array","items":{"type":"object","properties":{"callRef":{"type":"string"}},"required":["callRef"],"additionalProperties":false}}},"required":["kind","turnRef","inFlightEffects"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"in_flight"},"turnRef":{"type":"string"},"inFlightEffects":{"type":"array","items":{"type":"object","properties":{"callRef":{"type":"string"}},"required":["callRef"],"additionalProperties":false}}},"required":["kind","turnRef","inFlightEffects"],"additionalProperties":false}]},"JourneyStatusResponseSchema0":{"anyOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"$ref":"#/components/schemas/JourneyStatusResponseSchema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/JourneyStatusResponseSchema0"}}]},"JourneyStatusResponseCallUsage":{"type":"object","properties":{"usageRef":{"type":"string","minLength":1},"observedAt":{"type":"integer","minimum":0,"maximum":9007199254740991},"chargeState":{"type":"string","enum":["free_tier","paid","insufficient_credit","outcome_unknown","refunded"]},"amount":{"$ref":"#/components/schemas/JourneyStatusResponseExactAmount"},"priceDigest":{"type":"string","minLength":1},"transactionRef":{"type":"string","minLength":1},"durationMs":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["usageRef","observedAt","chargeState","amount","priceDigest"],"additionalProperties":false},"JourneyStatusResponseExactAmount":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z][A-Z0-9]{2,19}$"},"units":{"type":"string","pattern":"^(0|[1-9]\\d*)$"},"exponent":{"type":"integer","minimum":0,"maximum":18}},"required":["currency","units","exponent"],"additionalProperties":false},"JourneyStatusResponseCallReceipt":{"type":"object","properties":{"receiptRef":{"type":"string","minLength":1},"state":{"type":"string","enum":["settled","refunded","reconciliation_required"]},"priceDigest":{"type":"string","minLength":1},"transactionRef":{"type":"string","minLength":1},"accountingTransactionRefs":{"minItems":1,"type":"array","items":{"type":"string","minLength":1}},"refundState":{"type":"string","enum":["released","not_applicable","unknown"]},"lossState":{"type":"string","enum":["none","provider_output_invalid","provider_http_error","unknown"]},"externalSettlementRef":{"type":"string","minLength":1},"evidenceHash":{"type":"string","minLength":1},"issuedAt":{"type":"string","minLength":1},"commercialModel":{"type":"string","const":"account_aud"},"buyerCharge":{"$ref":"#/components/schemas/JourneyStatusResponseExactAmount"},"serviceFee":{"$ref":"#/components/schemas/JourneyStatusResponseExactAmount"},"totalBuyerCharge":{"$ref":"#/components/schemas/JourneyStatusResponseExactAmount"},"providerObligation":{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/JourneyStatusResponseExactAmount"},"settlementMethod":{"type":"string","const":"managed_x402"},"payoutEligible":{"type":"boolean","const":false}},"required":["amount","settlementMethod","payoutEligible"],"additionalProperties":false},"providerSettlement":{"anyOf":[{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/JourneyStatusResponseExactAmount"},"transactionHash":{"type":"string","minLength":1},"paymentIdentifier":{"type":"string","minLength":1},"network":{"type":"string","const":"eip155:8453"},"asset":{"type":"string","const":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}},"required":["amount","network","asset"],"additionalProperties":false},{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/JourneyStatusResponseExactAmount"},"transactionHash":{"type":"string","minLength":1},"paymentIdentifier":{"type":"string","minLength":1},"network":{"type":"string","const":"eip155:84532"},"asset":{"type":"string","const":"0x036CbD53842c5426634e7929541eC2318f3dCF7e"}},"required":["amount","network","asset"],"additionalProperties":false}]}},"required":["receiptRef","state","priceDigest","evidenceHash","issuedAt","commercialModel","buyerCharge","serviceFee","totalBuyerCharge","providerObligation","providerSettlement"],"additionalProperties":false},"JourneyStatusResponse":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"tool"},"ref":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"},"readiness":{"type":"string","enum":["ready","unverified","unavailable"]},"next":{"type":"array","items":{"anyOf":[{"oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"describe"},"args":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["toolRef"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"describe-external"},"args":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"next-page"},"args":{"type":"object","properties":{"query":{"type":"string"},"cursor":{"type":"string"}},"required":["query","cursor"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"broaden"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"retry"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false}]},{"type":"object","properties":{"action":{"type":"string","const":"quote"},"args":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"},"input":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/JourneyStatusResponseSchema0"}}},"required":["toolRef","input"],"additionalProperties":false},"authority":{"type":"string","const":"agent_key"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"call"},"args":{"type":"object","properties":{"quoteRef":{"type":"string","pattern":"^operation-commitment:v1:[0-9a-f]{64}$"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["quoteRef","idempotencyKey"],"additionalProperties":false},"authority":{"type":"string","const":"agent_key"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"procure"},"args":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"need"},"need":{"type":"string","minLength":3,"maxLength":4096},"prefer":{"type":"string","enum":["balanced","cheapest","reliable"],"description":"How to choose between matching Tools: cheapest, balanced (default), or reliable"}},"required":["kind","need"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"exact"},"toolRef":{"type":"string"},"input":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/JourneyStatusResponseSchema0"}},"maxSpendAud":{"type":"string","pattern":"^\\d+(?:\\.\\d{1,6})?$"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["kind","toolRef","input","maxSpendAud","idempotencyKey"],"additionalProperties":false}]},"authority":{"type":"string","const":"agent_key"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"status"},"args":{"type":"object","properties":{"ref":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"tool"},"ref":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["kind","ref"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"quote"},"ref":{"type":"string","pattern":"^operation-commitment:v1:[0-9a-f]{64}$"}},"required":["kind","ref"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"call"},"ref":{"type":"string","pattern":"^operation-invocation:v1:[0-9a-f]{64}$"}},"required":["kind","ref"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"turn"},"ref":{"type":"string","pattern":"^turn_[0-9a-f-]{36}$"}},"required":["kind","ref"],"additionalProperties":false}]}},"required":["ref"],"additionalProperties":false},"authority":{"type":"string","const":"same_principal"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"wait"},"args":{"type":"object","properties":{"callRef":{"type":"string","pattern":"^operation-invocation:v1:[0-9a-f]{64}$"},"afterVersion":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["callRef"],"additionalProperties":false},"authority":{"type":"string","const":"same_principal"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"fund"},"args":{"type":"object","properties":{},"additionalProperties":false},"authority":{"type":"string","const":"agent_key"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"describe"},"args":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["toolRef"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"connect"},"args":{"type":"object","properties":{"via":{"type":"string","const":"cli"},"command":{"type":"string","const":"ae connect"}},"required":["via","command"],"additionalProperties":false},"authority":{"type":"string","const":"human_owner"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"connect"},"args":{"type":"object","properties":{"via":{"type":"string","const":"oauth_device"},"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","pattern":"^\\/.*"}]},"pollHandle":{"type":"string","minLength":1}},"required":["via","url"],"additionalProperties":false},"authority":{"type":"string","const":"human_owner"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"approve"},"args":{"type":"object","properties":{"callRef":{"type":"string","pattern":"^operation-invocation:v1:[0-9a-f]{64}$"},"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","pattern":"^\\/.*"}]}},"required":["callRef","url"],"additionalProperties":false},"authority":{"type":"string","const":"human_owner"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"provide-input"},"args":{"type":"object","properties":{"taskId":{"type":"string","pattern":"^turn_[0-9a-f-]{36}$"},"fields":{"type":"array","items":{"type":"string"}}},"required":["taskId","fields"],"additionalProperties":false},"authority":{"type":"string","const":"same_principal"}},"required":["action","args","authority"],"additionalProperties":false}]}}},"required":["kind","ref","readiness","next"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"quote"},"ref":{"type":"string","pattern":"^operation-commitment:v1:[0-9a-f]{64}$"},"principalRef":{"type":"string"},"commitment":{"type":"string","enum":["committed","refused","expired","consumed"]},"next":{"type":"array","items":{"anyOf":[{"oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"describe"},"args":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["toolRef"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"describe-external"},"args":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"next-page"},"args":{"type":"object","properties":{"query":{"type":"string"},"cursor":{"type":"string"}},"required":["query","cursor"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"broaden"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"retry"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false}]},{"type":"object","properties":{"action":{"type":"string","const":"quote"},"args":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"},"input":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/JourneyStatusResponseSchema0"}}},"required":["toolRef","input"],"additionalProperties":false},"authority":{"type":"string","const":"agent_key"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"call"},"args":{"type":"object","properties":{"quoteRef":{"type":"string","pattern":"^operation-commitment:v1:[0-9a-f]{64}$"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["quoteRef","idempotencyKey"],"additionalProperties":false},"authority":{"type":"string","const":"agent_key"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"procure"},"args":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"need"},"need":{"type":"string","minLength":3,"maxLength":4096},"prefer":{"type":"string","enum":["balanced","cheapest","reliable"],"description":"How to choose between matching Tools: cheapest, balanced (default), or reliable"}},"required":["kind","need"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"exact"},"toolRef":{"type":"string"},"input":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/JourneyStatusResponseSchema0"}},"maxSpendAud":{"type":"string","pattern":"^\\d+(?:\\.\\d{1,6})?$"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["kind","toolRef","input","maxSpendAud","idempotencyKey"],"additionalProperties":false}]},"authority":{"type":"string","const":"agent_key"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"status"},"args":{"type":"object","properties":{"ref":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"tool"},"ref":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["kind","ref"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"quote"},"ref":{"type":"string","pattern":"^operation-commitment:v1:[0-9a-f]{64}$"}},"required":["kind","ref"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"call"},"ref":{"type":"string","pattern":"^operation-invocation:v1:[0-9a-f]{64}$"}},"required":["kind","ref"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"turn"},"ref":{"type":"string","pattern":"^turn_[0-9a-f-]{36}$"}},"required":["kind","ref"],"additionalProperties":false}]}},"required":["ref"],"additionalProperties":false},"authority":{"type":"string","const":"same_principal"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"wait"},"args":{"type":"object","properties":{"callRef":{"type":"string","pattern":"^operation-invocation:v1:[0-9a-f]{64}$"},"afterVersion":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["callRef"],"additionalProperties":false},"authority":{"type":"string","const":"same_principal"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"fund"},"args":{"type":"object","properties":{},"additionalProperties":false},"authority":{"type":"string","const":"agent_key"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"describe"},"args":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["toolRef"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"connect"},"args":{"type":"object","properties":{"via":{"type":"string","const":"cli"},"command":{"type":"string","const":"ae connect"}},"required":["via","command"],"additionalProperties":false},"authority":{"type":"string","const":"human_owner"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"connect"},"args":{"type":"object","properties":{"via":{"type":"string","const":"oauth_device"},"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","pattern":"^\\/.*"}]},"pollHandle":{"type":"string","minLength":1}},"required":["via","url"],"additionalProperties":false},"authority":{"type":"string","const":"human_owner"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"approve"},"args":{"type":"object","properties":{"callRef":{"type":"string","pattern":"^operation-invocation:v1:[0-9a-f]{64}$"},"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","pattern":"^\\/.*"}]}},"required":["callRef","url"],"additionalProperties":false},"authority":{"type":"string","const":"human_owner"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"provide-input"},"args":{"type":"object","properties":{"taskId":{"type":"string","pattern":"^turn_[0-9a-f-]{36}$"},"fields":{"type":"array","items":{"type":"string"}}},"required":["taskId","fields"],"additionalProperties":false},"authority":{"type":"string","const":"same_principal"}},"required":["action","args","authority"],"additionalProperties":false}]}}},"required":["kind","ref","principalRef","commitment","next"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"call"},"ref":{"type":"string","pattern":"^operation-invocation:v1:[0-9a-f]{64}$"},"principalRef":{"type":"string"},"recovery":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"found"},"callRef":{"type":"string","minLength":1,"maxLength":300},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"toolRef":{"type":"string","minLength":1,"maxLength":300},"previousInput":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/JourneyStatusResponseSchema0"}},"state":{"type":"string","enum":["gathering_information","awaiting_authority","authorized","leased","in_progress","retryable","reconciliation_required","terminal","cancelled","invalidated"]},"usage":{"allOf":[{"$ref":"#/components/schemas/JourneyStatusResponseCallUsage"}]},"evidenceHash":{"type":"string","minLength":1,"maxLength":300},"attemptRef":{"type":"string","minLength":1,"maxLength":300},"effectGeneration":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"result":{"anyOf":[{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"completed"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"evidenceHash":{"type":"string"},"usage":{"$ref":"#/components/schemas/JourneyStatusResponseCallUsage"},"receipt":{"allOf":[{"$ref":"#/components/schemas/JourneyStatusResponseCallReceipt"}]},"output":{"$ref":"#/components/schemas/JourneyStatusResponseSchema0"}},"required":["kind","callRef","toolRef","evidenceHash","usage","output"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"completed"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"evidenceHash":{"type":"string"},"usage":{"$ref":"#/components/schemas/JourneyStatusResponseCallUsage"},"receipt":{"allOf":[{"$ref":"#/components/schemas/JourneyStatusResponseCallReceipt"}]},"contentExpiredAt":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Call content was deleted under the retention policy; the completed purchase and receipt remain valid."}},"required":["kind","callRef","toolRef","evidenceHash","usage","contentExpiredAt"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","const":"pending"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"retryAfterMs":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["kind","callRef","toolRef","retryAfterMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"needs_authority"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"authorityRequest":{"type":"object","properties":{"kind":{"type":"string","enum":["approval_required","spending_policy"]},"toolRef":{"type":"string"},"consequence":{"type":"string","enum":["read_only","communication","external_effect"]},"retryClass":{"type":"string","enum":["replayable","attributable_retry","reconcile_before_retry"]},"maximumSpend":{"allOf":[{"$ref":"#/components/schemas/JourneyStatusResponseExactAmount"}]},"dataFields":{"type":"array","items":{"type":"string"}},"expiresAt":{"type":"string"}},"required":["kind","toolRef","consequence","retryClass","dataFields"],"additionalProperties":false}},"required":["kind","callRef","toolRef","authorityRequest"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"reconciliation_required"},"callRef":{"type":"string"},"toolRef":{"type":"string"},"evidence":{"type":"object","properties":{"attemptRef":{"type":"string"},"effectGeneration":{"type":"number"},"requiredAt":{"type":"string"},"retry":{"type":"string","const":"reconcile_before_retry"},"evidenceSource":{"type":"string"}},"required":["attemptRef","effectGeneration","requiredAt","retry","evidenceSource"],"additionalProperties":false},"receipt":{"allOf":[{"$ref":"#/components/schemas/JourneyStatusResponseCallReceipt"}]}},"required":["kind","callRef","toolRef","evidence"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"toolRef":{"type":"string"},"code":{"type":"string","enum":["operation_ref_invalid","operation_not_found","operation_not_current","operation_not_ready","operation_unsupported","input_invalid","grant_not_found","grant_revoked","grant_expired","grant_generation_stale","environment_mismatch","rate_limited","concurrency_limited","budget_exceeded","insufficient_balance","treasury_capacity_unavailable","commercial_policy_unavailable","idempotency_conflict","invocation_runtime_unavailable","authority_reader_unavailable","authority_required","authority_denied","provider_refused","provider_output_invalid","pre_release_failed","outcome_unknown","payment_lane_not_brokered","reconciliation_required","invocation_not_found","invocation_cancelled","lease_not_current","result_invalid","source_unavailable"]},"retryable":{"type":"boolean"},"nextAction":{"type":"string"},"receipt":{"allOf":[{"$ref":"#/components/schemas/JourneyStatusResponseCallReceipt"}]}},"required":["kind","code","retryable"],"additionalProperties":false}]},"receipt":{"allOf":[{"$ref":"#/components/schemas/JourneyStatusResponseCallReceipt"}]},"purchaseResolution":{"type":"object","properties":{"resolutionRef":{"type":"string","minLength":1},"recordDigest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"callRef":{"type":"string","minLength":1},"quoteRef":{"type":"string","minLength":1},"accountRef":{"type":"string","minLength":1},"customerRef":{"type":"string","minLength":1},"agentPrincipalRef":{"type":"string","minLength":1},"sellerRef":{"type":"string","minLength":1},"providerRef":{"type":"string","minLength":1},"paymentRecipientRef":{"type":"string","minLength":1},"terminalState":{"type":"string","enum":["completed","refunded","released","disputed"]},"deliveryState":{"type":"string","enum":["delivered","not_delivered","unknown"]},"paymentState":{"type":"string","enum":["settled","released","unknown","not_applicable"]},"considerationAmount":{"$ref":"#/components/schemas/JourneyStatusResponseExactAmount"},"considerationNetUnits":{"type":"string","pattern":"^\\d+$"},"considerationGstUnits":{"type":"string","pattern":"^\\d+$"},"providerObligationAmount":{"$ref":"#/components/schemas/JourneyStatusResponseExactAmount"},"resolvedAt":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["resolutionRef","recordDigest","callRef","quoteRef","accountRef","customerRef","agentPrincipalRef","sellerRef","providerRef","paymentRecipientRef","terminalState","deliveryState","paymentState","considerationAmount","considerationNetUnits","considerationGstUnits","providerObligationAmount","resolvedAt"],"additionalProperties":false}},"required":["kind","callRef","version","toolRef","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"unchanged"},"callRef":{"type":"string","minLength":1,"maxLength":300},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"retryAfterMs":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["kind","callRef","version","retryAfterMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"refused"},"callRef":{"type":"string","minLength":1,"maxLength":300},"code":{"type":"string","enum":["invocation_not_found","grant_not_found","grant_revoked","grant_expired","grant_generation_stale","environment_mismatch","invocation_runtime_unavailable"]},"retryable":{"type":"boolean"},"nextAction":{"type":"string","minLength":1,"maxLength":300},"receipt":{"allOf":[{"$ref":"#/components/schemas/JourneyStatusResponseCallReceipt"}]}},"required":["kind","callRef","code","retryable"],"additionalProperties":false}]},"workState":{"type":"string","enum":["submitted","working","input-required","auth-required","completed","failed","canceled","rejected"]},"next":{"type":"array","items":{"anyOf":[{"oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"describe"},"args":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["toolRef"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"describe-external"},"args":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"next-page"},"args":{"type":"object","properties":{"query":{"type":"string"},"cursor":{"type":"string"}},"required":["query","cursor"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"broaden"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"retry"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false}]},{"type":"object","properties":{"action":{"type":"string","const":"quote"},"args":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"},"input":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/JourneyStatusResponseSchema0"}}},"required":["toolRef","input"],"additionalProperties":false},"authority":{"type":"string","const":"agent_key"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"call"},"args":{"type":"object","properties":{"quoteRef":{"type":"string","pattern":"^operation-commitment:v1:[0-9a-f]{64}$"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["quoteRef","idempotencyKey"],"additionalProperties":false},"authority":{"type":"string","const":"agent_key"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"procure"},"args":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"need"},"need":{"type":"string","minLength":3,"maxLength":4096},"prefer":{"type":"string","enum":["balanced","cheapest","reliable"],"description":"How to choose between matching Tools: cheapest, balanced (default), or reliable"}},"required":["kind","need"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"exact"},"toolRef":{"type":"string"},"input":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/JourneyStatusResponseSchema0"}},"maxSpendAud":{"type":"string","pattern":"^\\d+(?:\\.\\d{1,6})?$"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["kind","toolRef","input","maxSpendAud","idempotencyKey"],"additionalProperties":false}]},"authority":{"type":"string","const":"agent_key"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"status"},"args":{"type":"object","properties":{"ref":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"tool"},"ref":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["kind","ref"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"quote"},"ref":{"type":"string","pattern":"^operation-commitment:v1:[0-9a-f]{64}$"}},"required":["kind","ref"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"call"},"ref":{"type":"string","pattern":"^operation-invocation:v1:[0-9a-f]{64}$"}},"required":["kind","ref"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"turn"},"ref":{"type":"string","pattern":"^turn_[0-9a-f-]{36}$"}},"required":["kind","ref"],"additionalProperties":false}]}},"required":["ref"],"additionalProperties":false},"authority":{"type":"string","const":"same_principal"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"wait"},"args":{"type":"object","properties":{"callRef":{"type":"string","pattern":"^operation-invocation:v1:[0-9a-f]{64}$"},"afterVersion":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["callRef"],"additionalProperties":false},"authority":{"type":"string","const":"same_principal"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"fund"},"args":{"type":"object","properties":{},"additionalProperties":false},"authority":{"type":"string","const":"agent_key"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"describe"},"args":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["toolRef"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"connect"},"args":{"type":"object","properties":{"via":{"type":"string","const":"cli"},"command":{"type":"string","const":"ae connect"}},"required":["via","command"],"additionalProperties":false},"authority":{"type":"string","const":"human_owner"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"connect"},"args":{"type":"object","properties":{"via":{"type":"string","const":"oauth_device"},"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","pattern":"^\\/.*"}]},"pollHandle":{"type":"string","minLength":1}},"required":["via","url"],"additionalProperties":false},"authority":{"type":"string","const":"human_owner"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"approve"},"args":{"type":"object","properties":{"callRef":{"type":"string","pattern":"^operation-invocation:v1:[0-9a-f]{64}$"},"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","pattern":"^\\/.*"}]}},"required":["callRef","url"],"additionalProperties":false},"authority":{"type":"string","const":"human_owner"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"provide-input"},"args":{"type":"object","properties":{"taskId":{"type":"string","pattern":"^turn_[0-9a-f-]{36}$"},"fields":{"type":"array","items":{"type":"string"}}},"required":["taskId","fields"],"additionalProperties":false},"authority":{"type":"string","const":"same_principal"}},"required":["action","args","authority"],"additionalProperties":false}]}}},"required":["kind","ref","principalRef","recovery","workState","next"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"turn"},"ref":{"type":"string","pattern":"^turn_[0-9a-f-]{36}$"},"principalRef":{"type":"string"},"workState":{"type":"string","enum":["submitted","working","input-required","auth-required","completed","failed","canceled","rejected"]},"next":{"type":"array","items":{"anyOf":[{"oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"describe"},"args":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["toolRef"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"describe-external"},"args":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"next-page"},"args":{"type":"object","properties":{"query":{"type":"string"},"cursor":{"type":"string"}},"required":["query","cursor"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"broaden"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"retry"},"args":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false}]},{"type":"object","properties":{"action":{"type":"string","const":"quote"},"args":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"},"input":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/JourneyStatusResponseSchema0"}}},"required":["toolRef","input"],"additionalProperties":false},"authority":{"type":"string","const":"agent_key"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"call"},"args":{"type":"object","properties":{"quoteRef":{"type":"string","pattern":"^operation-commitment:v1:[0-9a-f]{64}$"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["quoteRef","idempotencyKey"],"additionalProperties":false},"authority":{"type":"string","const":"agent_key"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"procure"},"args":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"need"},"need":{"type":"string","minLength":3,"maxLength":4096},"prefer":{"type":"string","enum":["balanced","cheapest","reliable"],"description":"How to choose between matching Tools: cheapest, balanced (default), or reliable"}},"required":["kind","need"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"exact"},"toolRef":{"type":"string"},"input":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/JourneyStatusResponseSchema0"}},"maxSpendAud":{"type":"string","pattern":"^\\d+(?:\\.\\d{1,6})?$"},"idempotencyKey":{"type":"string","minLength":8,"maxLength":200}},"required":["kind","toolRef","input","maxSpendAud","idempotencyKey"],"additionalProperties":false}]},"authority":{"type":"string","const":"agent_key"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"status"},"args":{"type":"object","properties":{"ref":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"tool"},"ref":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["kind","ref"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"quote"},"ref":{"type":"string","pattern":"^operation-commitment:v1:[0-9a-f]{64}$"}},"required":["kind","ref"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"call"},"ref":{"type":"string","pattern":"^operation-invocation:v1:[0-9a-f]{64}$"}},"required":["kind","ref"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"turn"},"ref":{"type":"string","pattern":"^turn_[0-9a-f-]{36}$"}},"required":["kind","ref"],"additionalProperties":false}]}},"required":["ref"],"additionalProperties":false},"authority":{"type":"string","const":"same_principal"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"wait"},"args":{"type":"object","properties":{"callRef":{"type":"string","pattern":"^operation-invocation:v1:[0-9a-f]{64}$"},"afterVersion":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["callRef"],"additionalProperties":false},"authority":{"type":"string","const":"same_principal"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"fund"},"args":{"type":"object","properties":{},"additionalProperties":false},"authority":{"type":"string","const":"agent_key"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"describe"},"args":{"type":"object","properties":{"toolRef":{"type":"string","pattern":"^operation:v1:[0-9a-f]{64}$"}},"required":["toolRef"],"additionalProperties":false},"authority":{"type":"string","const":"public"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"connect"},"args":{"type":"object","properties":{"via":{"type":"string","const":"cli"},"command":{"type":"string","const":"ae connect"}},"required":["via","command"],"additionalProperties":false},"authority":{"type":"string","const":"human_owner"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"connect"},"args":{"type":"object","properties":{"via":{"type":"string","const":"oauth_device"},"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","pattern":"^\\/.*"}]},"pollHandle":{"type":"string","minLength":1}},"required":["via","url"],"additionalProperties":false},"authority":{"type":"string","const":"human_owner"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"approve"},"args":{"type":"object","properties":{"callRef":{"type":"string","pattern":"^operation-invocation:v1:[0-9a-f]{64}$"},"url":{"anyOf":[{"type":"string","format":"uri"},{"type":"string","pattern":"^\\/.*"}]}},"required":["callRef","url"],"additionalProperties":false},"authority":{"type":"string","const":"human_owner"}},"required":["action","args","authority"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"provide-input"},"args":{"type":"object","properties":{"taskId":{"type":"string","pattern":"^turn_[0-9a-f-]{36}$"},"fields":{"type":"array","items":{"type":"string"}}},"required":["taskId","fields"],"additionalProperties":false},"authority":{"type":"string","const":"same_principal"}},"required":["action","args","authority"],"additionalProperties":false}]}}},"required":["kind","ref","principalRef","workState","next"],"additionalProperties":false}]}},"securitySchemes":{"agentAccessKey":{"type":"http","scheme":"bearer","description":"Agent access key. Connect through the OAuth device flow (`ae connect`) or the `https://app.aecon.ai/.well-known/oauth-protected-resource` metadata; send the resulting key as `Authorization: Bearer <Agent access key>`."}}}}