{"openapi":"3.0.1","info":{"title":"Truvian Telegraph Intelligence (Coze plugin)","version":"1.0.0","description":"Telegraph miner answers with receipts and caps"},"servers":[{"url":"https://truvian.xyz"}],"paths":{"/api/platform/v1/list-intents":{"post":{"operationId":"list_intents","summary":"List Telegraph intents","description":"Find which Telegraph intent answers a question (130+ live intents: prices, gas, sanctions, company registries, CVEs, malware, news, token supply and holders, liquidity, fact-checks...). With `search`, the intents whose name or description contain every word; with `intent`, that intent's request params and response fields (the scored one marked). Free. Call it before ask_intent to get the exact name and params.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"search":{"type":"string","description":"Words to match, e.g. \"sanction\" or \"token supply\""},"intent":{"type":"string","description":"Exact intent name, e.g. CVE_LOOKUP_CVSS"}}},"example":{"search":"sanction"}}}},"responses":{"200":{"description":"The tool envelope: summary, result, evidence (receipts and signals) and spend","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"summary":{"type":"string","description":"One line to show the user, citing evidence ids"},"result":{"type":"object","properties":{"count":{"type":"integer"},"intents":{"type":"array","items":{"type":"object","properties":{"intent":{"type":"string"},"miners":{"type":"integer"},"state":{"type":"string"},"about":{"type":"string"}}}},"intent":{"type":"string"},"params":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"required":{"type":"boolean"},"description":{"type":"string"}}}},"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"scored":{"type":"boolean"},"description":{"type":"string"}}}}}},"evidence":{"type":"array","items":{"type":"object","description":"One Telegraph answer bought: who answered, what it cost and the public proof","properties":{"id":{"type":"string","description":"Evidence id (E1, E2, ...): cite it"},"tool":{"type":"string"},"intent":{"type":"string"},"mode":{"type":"string","enum":["routed","pinned"]},"purpose":{"type":"string","enum":["answer","second-opinion"]},"ok":{"type":"boolean"},"fields":{"type":"object","properties":{}},"minerId":{"type":"string"},"minerName":{"type":"string"},"servedRank":{"type":"integer"},"costUsd":{"type":"number"},"signalHash":{"type":"string"},"signalUrl":{"type":"string","description":"The node's public record of this answer"},"receipt":{"type":"object","properties":{"hash":{"type":"string"},"payer":{"type":"string"},"minerRegistration":{"type":"string"},"amountUsd":{"type":"number"},"epoch":{"type":"integer"},"rail":{"type":"string"},"settlement":{"type":"string"}}},"latencyMs":{"type":"integer"},"error":{"type":"string"},"at":{"type":"string"}}},"description":"Every Telegraph answer this call bought, with its receipt and signal"},"spend":{"type":"object","properties":{"callUsd":{"type":"number"},"sessionSpentUsd":{"type":"number"},"sessionCapUsd":{"type":"number"},"remainingUsd":{"type":"number"},"refusals":{"type":"array","items":{"type":"string"}}}},"network":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"504":{"description":"No answer within the deadline","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}}}}},"/api/platform/v1/ask-intent":{"post":{"operationId":"ask_intent","summary":"Ask Telegraph (spend-capped, with receipt)","description":"Buy one answer to any Telegraph intent from the node's top-ranked miner, under a spend cap. Returns the typed answer, the evidence record (miner, cost, escrow receipt, public signal hash) and what the call spent. If the answer fails or lacks the intent's scored field, one second opinion is bought from the best-ranked other miner the cap allows (recover=false turns this off). Refused before any spending when the intent's worst-case price does not fit the cap. Common intents and their params: CRYPTO_PRICE_USD {symbol}; GAS_PRICE_GENERAL {chain}; TVL_LOOKUP_GENERAL {protocol}; CRYPTO_YIELD_RATE_GENERAL {project, symbol, chain} (e.g. aave-v3, USDC, Ethereum); NEWS_SEARCH_GENERAL {query}; WEB_SEARCH_GENERAL {query}; SANCTIONS_SCREENING_MATCH_GENERAL {name}; CORPORATE_REGISTRY_LOOKUP_GENERAL {company, jurisdiction}; CVE_LOOKUP_CVSS {cve_id}; MALWARE_DETECTION_HASH {indicator} (file hash, domain or IP); THREAT_INTELLIGENCE_INDICATOR {indicator}; URL_SCAN_VERDICT {url}; TOKEN_HOLDER_COUNT_GENERAL {token, chain}. For any other, list_intents gives the name and params.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["intent","params_json"],"properties":{"intent":{"type":"string","description":"Exact intent name, e.g. CRYPTO_PRICE_USD"},"params_json":{"type":"string","description":"The intent's request params as a JSON object in text, e.g. {\"symbol\":\"ETH\"} (list_intents with `intent` shows them)"},"max_usd":{"type":"number","description":"Per-call spend cap in USD for this call (each Telegraph answer is about $0.01; never above the key's own cap)"},"recover":{"type":"boolean","description":"Ask a second miner when the first answer is no evidence (default true)"},"miner":{"type":"string","description":"Optional node miner id to pin the ask to (no routing, no recovery)"},"question":{"type":"string","description":"The question in words, sent with the ask"}}},"example":{"intent":"CRYPTO_PRICE_USD","params_json":"{\"symbol\":\"ETH\"}","max_usd":0.02}}}},"responses":{"200":{"description":"The tool envelope: summary, result, evidence (receipts and signals) and spend","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"summary":{"type":"string","description":"One line to show the user, citing evidence ids"},"result":{"type":"object","properties":{"intent":{"type":"string"},"params":{"type":"object","properties":{}},"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"refused":{"type":"string"},"error":{"type":"string"}}},"evidence":{"type":"array","items":{"type":"object","description":"One Telegraph answer bought: who answered, what it cost and the public proof","properties":{"id":{"type":"string","description":"Evidence id (E1, E2, ...): cite it"},"tool":{"type":"string"},"intent":{"type":"string"},"mode":{"type":"string","enum":["routed","pinned"]},"purpose":{"type":"string","enum":["answer","second-opinion"]},"ok":{"type":"boolean"},"fields":{"type":"object","properties":{}},"minerId":{"type":"string"},"minerName":{"type":"string"},"servedRank":{"type":"integer"},"costUsd":{"type":"number"},"signalHash":{"type":"string"},"signalUrl":{"type":"string","description":"The node's public record of this answer"},"receipt":{"type":"object","properties":{"hash":{"type":"string"},"payer":{"type":"string"},"minerRegistration":{"type":"string"},"amountUsd":{"type":"number"},"epoch":{"type":"integer"},"rail":{"type":"string"},"settlement":{"type":"string"}}},"latencyMs":{"type":"integer"},"error":{"type":"string"},"at":{"type":"string"}}},"description":"Every Telegraph answer this call bought, with its receipt and signal"},"spend":{"type":"object","properties":{"callUsd":{"type":"number"},"sessionSpentUsd":{"type":"number"},"sessionCapUsd":{"type":"number"},"remainingUsd":{"type":"number"},"refusals":{"type":"array","items":{"type":"string"}}}},"network":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"401":{"description":"Missing or unknown API key","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"429":{"description":"The key's daily spend cap is reached","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"504":{"description":"No answer within the deadline","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}}}}},"/api/platform/v1/second-opinion":{"post":{"operationId":"second_opinion","summary":"Second opinion from another miner","description":"Buy one more answer to an intent, pinned to the best-ranked miner not in `exclude_miners` (use the minerId of the answer you doubt). Use it when an answer looks wrong, is missing a field, or a decision rests on one source.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["intent","params_json"],"properties":{"intent":{"type":"string"},"params_json":{"type":"string","description":"The intent's request params as a JSON object in text, e.g. {\"symbol\":\"ETH\"} (list_intents with `intent` shows them)"},"exclude_miners":{"type":"string","description":"Comma-separated miner ids not to ask (the ones already asked)"},"max_usd":{"type":"number","description":"Per-call spend cap in USD for this call (each Telegraph answer is about $0.01; never above the key's own cap)"}}},"example":{"intent":"CRYPTO_PRICE_USD","params_json":"{\"symbol\":\"ETH\"}","exclude_miners":"20260828"}}}},"responses":{"200":{"description":"The tool envelope: summary, result, evidence (receipts and signals) and spend","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"summary":{"type":"string","description":"One line to show the user, citing evidence ids"},"result":{"type":"object","properties":{"intent":{"type":"string"},"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"refused":{"type":"string"},"error":{"type":"string"}}},"evidence":{"type":"array","items":{"type":"object","description":"One Telegraph answer bought: who answered, what it cost and the public proof","properties":{"id":{"type":"string","description":"Evidence id (E1, E2, ...): cite it"},"tool":{"type":"string"},"intent":{"type":"string"},"mode":{"type":"string","enum":["routed","pinned"]},"purpose":{"type":"string","enum":["answer","second-opinion"]},"ok":{"type":"boolean"},"fields":{"type":"object","properties":{}},"minerId":{"type":"string"},"minerName":{"type":"string"},"servedRank":{"type":"integer"},"costUsd":{"type":"number"},"signalHash":{"type":"string"},"signalUrl":{"type":"string","description":"The node's public record of this answer"},"receipt":{"type":"object","properties":{"hash":{"type":"string"},"payer":{"type":"string"},"minerRegistration":{"type":"string"},"amountUsd":{"type":"number"},"epoch":{"type":"integer"},"rail":{"type":"string"},"settlement":{"type":"string"}}},"latencyMs":{"type":"integer"},"error":{"type":"string"},"at":{"type":"string"}}},"description":"Every Telegraph answer this call bought, with its receipt and signal"},"spend":{"type":"object","properties":{"callUsd":{"type":"number"},"sessionSpentUsd":{"type":"number"},"sessionCapUsd":{"type":"number"},"remainingUsd":{"type":"number"},"refusals":{"type":"array","items":{"type":"string"}}}},"network":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"401":{"description":"Missing or unknown API key","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"429":{"description":"The key's daily spend cap is reached","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"504":{"description":"No answer within the deadline","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}}}}},"/api/platform/v1/verify-claim":{"post":{"operationId":"verify_claim","summary":"Fact-check a claim","description":"Fact-check one statement (an ad claim, a supplier's marketing, a news line) through Telegraph's FACT_CHECK_GENERAL miners. Returns SUPPORTED, CONTRADICTED, DISPUTED or UNVERIFIED with the miner's reasoning and sources. An \"Unverified\" answer is retried once on another miner; two_sources=true always buys a second, independent verdict.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["claim"],"properties":{"claim":{"type":"string","description":"One factual statement"},"two_sources":{"type":"boolean","description":"Buy a second verdict from another miner (default false)"},"recover":{"type":"boolean"},"max_usd":{"type":"number","description":"Per-call spend cap in USD for this call (each Telegraph answer is about $0.01; never above the key's own cap)"}}},"example":{"claim":"Aave V3 is deployed on Base."}}}},"responses":{"200":{"description":"The tool envelope: summary, result, evidence (receipts and signals) and spend","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"summary":{"type":"string","description":"One line to show the user, citing evidence ids"},"result":{"type":"object","properties":{"claim":{"type":"string"},"status":{"type":"string","enum":["SUPPORTED","CONTRADICTED","DISPUTED","UNVERIFIED"]},"verdicts":{"type":"array","items":{"type":"string"}},"reasoning":{"type":"string"},"sources":{"type":"array","items":{"type":"string"}},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"rule":{"type":"string"}}},"evidence":{"type":"array","items":{"type":"object","description":"One Telegraph answer bought: who answered, what it cost and the public proof","properties":{"id":{"type":"string","description":"Evidence id (E1, E2, ...): cite it"},"tool":{"type":"string"},"intent":{"type":"string"},"mode":{"type":"string","enum":["routed","pinned"]},"purpose":{"type":"string","enum":["answer","second-opinion"]},"ok":{"type":"boolean"},"fields":{"type":"object","properties":{}},"minerId":{"type":"string"},"minerName":{"type":"string"},"servedRank":{"type":"integer"},"costUsd":{"type":"number"},"signalHash":{"type":"string"},"signalUrl":{"type":"string","description":"The node's public record of this answer"},"receipt":{"type":"object","properties":{"hash":{"type":"string"},"payer":{"type":"string"},"minerRegistration":{"type":"string"},"amountUsd":{"type":"number"},"epoch":{"type":"integer"},"rail":{"type":"string"},"settlement":{"type":"string"}}},"latencyMs":{"type":"integer"},"error":{"type":"string"},"at":{"type":"string"}}},"description":"Every Telegraph answer this call bought, with its receipt and signal"},"spend":{"type":"object","properties":{"callUsd":{"type":"number"},"sessionSpentUsd":{"type":"number"},"sessionCapUsd":{"type":"number"},"remainingUsd":{"type":"number"},"refusals":{"type":"array","items":{"type":"string"}}}},"network":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"401":{"description":"Missing or unknown API key","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"429":{"description":"The key's daily spend cap is reached","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"504":{"description":"No answer within the deadline","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}}}}},"/api/platform/v1/counterparty-check":{"post":{"operationId":"counterparty_check","summary":"Counterparty check (sanctions + registry)","description":"Screen a company before paying or onboarding it: buys a sanctions screening and its corporate registry record from Telegraph and applies Truvian Shield's fixed rules. PROCEED (not listed, registered and active), REVIEW (uncertain, near match, another entity, or no answer) or DECLINE (sanctions match, or inactive in its registry), with every finding.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","jurisdiction"],"properties":{"name":{"type":"string","description":"Legal name, e.g. Siemens AG"},"jurisdiction":{"type":"string","description":"Country (or US state) of registration, e.g. Germany"},"max_usd":{"type":"number","description":"Per-call spend cap in USD for this call (each Telegraph answer is about $0.01; never above the key's own cap)"}}},"example":{"name":"Siemens AG","jurisdiction":"Germany"}}}},"responses":{"200":{"description":"The tool envelope: summary, result, evidence (receipts and signals) and spend","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"summary":{"type":"string","description":"One line to show the user, citing evidence ids"},"result":{"type":"object","properties":{"name":{"type":"string"},"jurisdiction":{"type":"string"},"recommendation":{"type":"string","enum":["PROCEED","REVIEW","DECLINE"]},"rule":{"type":"string"},"findings":{"type":"array","items":{"type":"object","properties":{"rule":{"type":"string"},"severity":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}}}},"sanctions":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}},"registry":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}}}},"evidence":{"type":"array","items":{"type":"object","description":"One Telegraph answer bought: who answered, what it cost and the public proof","properties":{"id":{"type":"string","description":"Evidence id (E1, E2, ...): cite it"},"tool":{"type":"string"},"intent":{"type":"string"},"mode":{"type":"string","enum":["routed","pinned"]},"purpose":{"type":"string","enum":["answer","second-opinion"]},"ok":{"type":"boolean"},"fields":{"type":"object","properties":{}},"minerId":{"type":"string"},"minerName":{"type":"string"},"servedRank":{"type":"integer"},"costUsd":{"type":"number"},"signalHash":{"type":"string"},"signalUrl":{"type":"string","description":"The node's public record of this answer"},"receipt":{"type":"object","properties":{"hash":{"type":"string"},"payer":{"type":"string"},"minerRegistration":{"type":"string"},"amountUsd":{"type":"number"},"epoch":{"type":"integer"},"rail":{"type":"string"},"settlement":{"type":"string"}}},"latencyMs":{"type":"integer"},"error":{"type":"string"},"at":{"type":"string"}}},"description":"Every Telegraph answer this call bought, with its receipt and signal"},"spend":{"type":"object","properties":{"callUsd":{"type":"number"},"sessionSpentUsd":{"type":"number"},"sessionCapUsd":{"type":"number"},"remainingUsd":{"type":"number"},"refusals":{"type":"array","items":{"type":"string"}}}},"network":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"401":{"description":"Missing or unknown API key","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"429":{"description":"The key's daily spend cap is reached","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"504":{"description":"No answer within the deadline","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}}}}},"/api/platform/v1/payment-check":{"post":{"operationId":"payment_check","summary":"Crypto payment verification (USDC)","description":"Was an agreed USDC payment delivered? Reads the transaction from receipt archives on Ethereum, Base, OP Mainnet or Arbitrum (status, USDC transfers to the payee, block time, finality) and buys Telegraph's transaction lookup as a recorded second opinion. delivered, not_delivered (reverted, short-paid, wrong payee, late) or needs_investigation (not found, wrong chain, not final). The chain decides.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["chain","tx_hash","payee","min_usdc"],"properties":{"chain":{"type":"string","enum":["ethereum","base","optimism","arbitrum"]},"tx_hash":{"type":"string"},"payee":{"type":"string","description":"Address that should have received the USDC"},"min_usdc":{"type":"string","description":"Agreed amount in USDC, e.g. \"15\" or \"3007.588864\""},"deadline":{"type":"string","description":"Optional ISO time the payment was due by"},"max_usd":{"type":"number","description":"Per-call cap in USD; transaction lookups can cost up to $0.10 on some miners, so set at least 0.10"}}},"example":{"chain":"base","tx_hash":"0x654e020614784b8e6e0759157b7a08062adf6e7a373ad0f9816c7de24d2cc0b5","payee":"0x264bd8291fae1d75db2c5f573b07faa6715997b5","min_usdc":"3007.588864","max_usd":0.1}}}},"responses":{"200":{"description":"The tool envelope: summary, result, evidence (receipts and signals) and spend","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"summary":{"type":"string","description":"One line to show the user, citing evidence ids"},"result":{"type":"object","properties":{"verdict":{"type":"string","enum":["delivered","not_delivered","needs_investigation"]},"reasons":{"type":"array","items":{"type":"string"}},"paidUsdc":{"type":"string"},"agreed":{"type":"object","properties":{"chain":{"type":"string"},"payee":{"type":"string"},"minUsdc":{"type":"string"},"deadline":{"type":"string"}}},"chain":{"type":"object","properties":{}},"telegraphCheck":{"type":"object","properties":{"status":{"type":"string"},"blockNumber":{"type":"string"},"consistent":{"type":"boolean"},"note":{"type":"string"}}},"telegraph":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}},"rule":{"type":"string"}}},"evidence":{"type":"array","items":{"type":"object","description":"One Telegraph answer bought: who answered, what it cost and the public proof","properties":{"id":{"type":"string","description":"Evidence id (E1, E2, ...): cite it"},"tool":{"type":"string"},"intent":{"type":"string"},"mode":{"type":"string","enum":["routed","pinned"]},"purpose":{"type":"string","enum":["answer","second-opinion"]},"ok":{"type":"boolean"},"fields":{"type":"object","properties":{}},"minerId":{"type":"string"},"minerName":{"type":"string"},"servedRank":{"type":"integer"},"costUsd":{"type":"number"},"signalHash":{"type":"string"},"signalUrl":{"type":"string","description":"The node's public record of this answer"},"receipt":{"type":"object","properties":{"hash":{"type":"string"},"payer":{"type":"string"},"minerRegistration":{"type":"string"},"amountUsd":{"type":"number"},"epoch":{"type":"integer"},"rail":{"type":"string"},"settlement":{"type":"string"}}},"latencyMs":{"type":"integer"},"error":{"type":"string"},"at":{"type":"string"}}},"description":"Every Telegraph answer this call bought, with its receipt and signal"},"spend":{"type":"object","properties":{"callUsd":{"type":"number"},"sessionSpentUsd":{"type":"number"},"sessionCapUsd":{"type":"number"},"remainingUsd":{"type":"number"},"refusals":{"type":"array","items":{"type":"string"}}}},"network":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"401":{"description":"Missing or unknown API key","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"429":{"description":"The key's daily spend cap is reached","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"504":{"description":"No answer within the deadline","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}}}}},"/api/platform/v1/token-intel":{"post":{"operationId":"token_intel","summary":"Digital-asset / game-token intelligence","description":"One token's profile for a trader, game studio or listing desk: the chain's own supply, decimals, upgradeability and owner (read at one block), Telegraph's holder count, USD price and supply (cross-checked against the chain), optional pool liquidity and news, the share of supply held by wallets you name, and a CLEAR / WATCH / RISK rating from fixed flags. Give `claims` (e.g. a whitepaper's \"total supply 3,000,000,000\") to have each judged TRUE / FALSE / UNVERIFIED. An address that is not a token is reported without buying anything.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["token"],"properties":{"chain":{"type":"string","description":"ethereum (default), base, arbitrum, optimism, polygon, bsc, ..."},"token":{"type":"string","description":"Token contract address 0x..."},"pool":{"type":"string","description":"Optional DEX pool address or name for liquidity"},"include_news":{"type":"boolean","description":"Also buy the latest news (one more answer)"},"wallets":{"type":"array","items":{"type":"string"},"description":"Up to 5 wallets (team, treasury, exchange) whose share of supply to read"},"claims":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","enum":["total_supply","holders_count","decimals","upgradeable"]},"value":{"type":"string"}}},"description":"Statements to judge, e.g. [{\"field\":\"total_supply\",\"value\":\"3000000000\"}]"},"max_usd":{"type":"number","description":"Per-call spend cap in USD for this call (each Telegraph answer is about $0.01; never above the key's own cap)"}}},"example":{"chain":"ethereum","token":"0x3845badAde8e6dFF049820680d1F14bD3903a5d0","claims":[{"field":"total_supply","value":"3000000000"}]}}}},"responses":{"200":{"description":"The tool envelope: summary, result, evidence (receipts and signals) and spend","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"summary":{"type":"string","description":"One line to show the user, citing evidence ids"},"result":{"type":"object","properties":{"rating":{"type":"string","enum":["CLEAR","WATCH","RISK","NOT_A_TOKEN"]},"chain":{"type":"object","properties":{"chain":{"type":"string"},"address":{"type":"string"},"block":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"integer"},"totalSupply":{"type":"string"},"upgradeable":{"type":"boolean"},"owner":{"type":"string"},"source":{"type":"string"}}},"telegraph":{"type":"object","properties":{"totalSupply":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}},"holders":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}},"price":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}},"liquidity":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}},"news":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}}}},"supplyCheck":{"type":"object","properties":{"status":{"type":"string"},"bps":{"type":"number"},"text":{"type":"string"}}},"marketCapUsd":{"type":"number"},"holdersCount":{"type":"number"},"priceUsd":{"type":"number"},"liquidityUsd":{"type":"number"},"walletShares":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string"},"whole":{"type":"string"},"pctOfSupply":{"type":"number"}}}},"flags":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"level":{"type":"string"},"text":{"type":"string"}}}},"claims":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"claimed":{"type":"string"},"verdict":{"type":"string","enum":["TRUE","FALSE","UNVERIFIED"]},"basis":{"type":"string"},"detail":{"type":"string"},"telegraphOnly":{"type":"string"}}}},"news":{"type":"object","properties":{"brief":{"type":"string"},"answer":{"type":"string"},"sources":{"type":"array","items":{"type":"string"}}}},"rule":{"type":"string"}}},"evidence":{"type":"array","items":{"type":"object","description":"One Telegraph answer bought: who answered, what it cost and the public proof","properties":{"id":{"type":"string","description":"Evidence id (E1, E2, ...): cite it"},"tool":{"type":"string"},"intent":{"type":"string"},"mode":{"type":"string","enum":["routed","pinned"]},"purpose":{"type":"string","enum":["answer","second-opinion"]},"ok":{"type":"boolean"},"fields":{"type":"object","properties":{}},"minerId":{"type":"string"},"minerName":{"type":"string"},"servedRank":{"type":"integer"},"costUsd":{"type":"number"},"signalHash":{"type":"string"},"signalUrl":{"type":"string","description":"The node's public record of this answer"},"receipt":{"type":"object","properties":{"hash":{"type":"string"},"payer":{"type":"string"},"minerRegistration":{"type":"string"},"amountUsd":{"type":"number"},"epoch":{"type":"integer"},"rail":{"type":"string"},"settlement":{"type":"string"}}},"latencyMs":{"type":"integer"},"error":{"type":"string"},"at":{"type":"string"}}},"description":"Every Telegraph answer this call bought, with its receipt and signal"},"spend":{"type":"object","properties":{"callUsd":{"type":"number"},"sessionSpentUsd":{"type":"number"},"sessionCapUsd":{"type":"number"},"remainingUsd":{"type":"number"},"refusals":{"type":"array","items":{"type":"string"}}}},"network":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"401":{"description":"Missing or unknown API key","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"429":{"description":"The key's daily spend cap is reached","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"504":{"description":"No answer within the deadline","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}}}}}}}