{"openapi":"3.1.0","info":{"title":"Ellimist","description":"Pay-per-call data and analytics for agents. No account or API key: call a skill, receive HTTP 402 with x402 v2 payment requirements, retry with PAYMENT-SIGNATURE.","version":"0.1.0"},"paths":{"/v1/find":{"get":{"summary":"Find","description":"Free skill search: describe what you need in plain words, get matching skills, prices and a ready call.","operationId":"find_skills_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Find","description":"Free skill search: describe what you need in plain words, get matching skills, prices and a ready call.","operationId":"find_skills_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/agent.json":{"get":{"summary":"Agent Card","operationId":"agent_card__well_known_agent_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/agent-card.json":{"get":{"summary":"Agent Card","operationId":"agent_card__well_known_agent_card_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/catalog":{"get":{"summary":"Catalog","operationId":"catalog_v1_catalog_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/catalog/{skill_id}":{"get":{"summary":"Catalog Skill","operationId":"catalog_skill_v1_catalog__skill_id__get","parameters":[{"name":"skill_id","in":"path","required":true,"schema":{"type":"string","title":"Skill Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/catalog/{skill_id}/quote":{"post":{"summary":"Catalog Quote","operationId":"catalog_quote_v1_catalog__skill_id__quote_post","parameters":[{"name":"skill_id","in":"path","required":true,"schema":{"type":"string","title":"Skill Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/a2a":{"post":{"summary":"A2A","operationId":"a2a_a2a_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/skills/{skill_id}":{"post":{"summary":"Call Skill","operationId":"call_skill_v1_skills__skill_id__post","parameters":[{"name":"skill_id","in":"path","required":true,"schema":{"type":"string","title":"Skill Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/tasks/{task_id}":{"get":{"summary":"Task","operationId":"task_v1_tasks__task_id__get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/verify":{"post":{"summary":"Verify","operationId":"verify_v1_verify_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/healthz":{"get":{"summary":"Healthz","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/readyz":{"get":{"summary":"Readyz","operationId":"readyz_readyz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/track-record":{"get":{"summary":"Track Record","operationId":"track_record_v1_track_record_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/skills/data.attest.snapshot":{"post":{"operationId":"data_attest_snapshot","summary":"Signed point-in-time snapshot","description":"Signed statement of the value Ellimist recorded at or just before time T: Aave USDC rates, native USDC supply or the Treasury curve. For backtests, audits and disputes.","tags":["data"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"feed":{"enum":["treasury_curve","aave_rates","usdc_supply"],"title":"Feed","type":"string"},"key":{"description":"Chain (base, ethereum) or UST","maxLength":160,"title":"Key","type":"string"},"at":{"description":"Point in time (UTC) to attest","format":"date-time","title":"At","type":"string"}},"required":["feed","key","at"],"title":"SnapshotParams","type":"object"},"example":{"feed":"aave_rates","key":"base","at":"2026-11-21T12:00:00Z"}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"statement":{"type":"string"},"feed":{"type":"string"},"key":{"type":"string"},"requested_at":{"type":"string","format":"date-time"},"recorded_at":{"type":"string","format":"date-time"},"gap_seconds":{"type":"number"},"value":{"type":"object","description":"Archived value for the selected feed"},"record_sha256":{"type":"string"}}},"meta":{"type":"object","properties":{"skill":{"const":"data.attest.snapshot"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."},"202":{"description":"Work is queued or payment is confirming. Poll the returned URL with the X-Ellimist-Task-Read header and read_token.","content":{"application/json":{"schema":{"type":"object","properties":{"skill":{"type":"string"},"task_id":{"type":"string"},"state":{"enum":["submitted","payment_pending"]},"poll":{"type":"string"},"poll_header":{"const":"X-Ellimist-Task-Read"},"read_token":{"type":["string","null"],"description":"Private polling token"}},"required":["skill","task_id","state","poll","poll_header","read_token"]}}}}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.010000","price_varies":false,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/data.chain.account":{"post":{"operationId":"data_chain_account","summary":"Account snapshot","description":"Use this to know everything basic about a wallet in one call: native and USDC balances (plus up to 5 tokens you name), nonce, whether it is a contract or an EIP-7702 delegated account, whether its public key is already revealed on this chain (quantum exposure), contract details (code size, minimal proxy, owner) and an official OFAC sanctions check. All read at once.","tags":["data"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"address":{"title":"Address","type":"string"},"chain":{"default":"ethereum","enum":["ethereum","base","arbitrum","optimism","polygon","bsc","avalanche"],"title":"Chain","type":"string"},"tokens":{"description":"extra ERC-20 tokens to include (native USDC is always included)","items":{"type":"string"},"maxItems":5,"title":"Tokens","type":"array"}},"required":["address"],"title":"AccountParams","type":"object"},"example":{"chain":"base","address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"address":{"type":"string"},"chain":{"type":"string"},"native_balance":{"type":"number"},"native_balance_wei":{"type":"string"},"tokens":{"type":"array","items":{"type":"object","properties":{"token":{"type":"string"},"symbol":{"type":"string"},"balance":{"type":"number"},"balance_raw":{"type":"string","description":"Exact token balance in smallest units"},"error":{"type":"string","description":"Present when the token balance could not be read"}}}},"nonce":{"type":"integer"},"is_contract":{"type":"boolean"},"is_7702_delegated":{"type":"boolean"},"sanctions":{"type":"object","properties":{"checked":{"type":"boolean"},"listed":{"type":["boolean","null"],"description":"OFAC SDN match"}}}}},"meta":{"type":"object","properties":{"skill":{"const":"data.chain.account"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."},"202":{"description":"Work is queued or payment is confirming. Poll the returned URL with the X-Ellimist-Task-Read header and read_token.","content":{"application/json":{"schema":{"type":"object","properties":{"skill":{"type":"string"},"task_id":{"type":"string"},"state":{"enum":["submitted","payment_pending"]},"poll":{"type":"string"},"poll_header":{"const":"X-Ellimist-Task-Read"},"read_token":{"type":["string","null"],"description":"Private polling token"}},"required":["skill","task_id","state","poll","poll_header","read_token"]}}}}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.010000","price_varies":false,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/data.chain.erc20_transfers":{"post":{"operationId":"data_chain_erc20_transfers","summary":"ERC-20 transfers","description":"Use this to list recent ERC-20 Transfer events for a token, optionally only those to or from one address (up to 2,000 recent blocks): incoming/outgoing payments, flows.","tags":["data"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"chain":{"default":"ethereum","enum":["ethereum","base","arbitrum","optimism","polygon","bsc","avalanche"],"title":"Chain","type":"string"},"token":{"title":"Token","type":"string"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Address"},"blocks":{"default":500,"maximum":2000,"minimum":1,"title":"Blocks","type":"integer"}},"required":["token"],"title":"TransfersParams","type":"object"},"example":{"chain":"base","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","blocks":200}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"chain":{"type":"string"},"token":{"type":"string"},"symbol":{"type":"string"},"from_block":{"type":"integer"},"to_block":{"type":"integer"},"transfers":{"type":"array","items":{"type":"object","properties":{"block":{"type":"integer"},"tx":{"type":"string","description":"Transaction hash"},"from":{"type":"string"},"to":{"type":"string"},"amount_raw":{"type":"string","description":"Exact amount in smallest token units"},"amount":{"type":"number","description":"Amount in whole-token units"}}},"description":"Matching transfer events, newest first"},"truncated":{"type":"boolean","description":"More events matched than were returned"}}},"meta":{"type":"object","properties":{"skill":{"const":"data.chain.erc20_transfers"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."},"202":{"description":"Work is queued or payment is confirming. Poll the returned URL with the X-Ellimist-Task-Read header and read_token.","content":{"application/json":{"schema":{"type":"object","properties":{"skill":{"type":"string"},"task_id":{"type":"string"},"state":{"enum":["submitted","payment_pending"]},"poll":{"type":"string"},"poll_header":{"const":"X-Ellimist-Task-Read"},"read_token":{"type":["string","null"],"description":"Private polling token"}},"required":["skill","task_id","state","poll","poll_header","read_token"]}}}}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.005000","price_varies":false,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/data.chain.gas_price":{"post":{"operationId":"data_chain_gas_price","summary":"EVM gas price and block height","description":"Get the RPC gas price per unit of execution gas in wei and gwei, plus the latest observed block height. Total transaction fees also depend on gas used and any rollup data fees.","tags":["data"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"chain":{"default":"base","enum":["ethereum","base","arbitrum","optimism","polygon","bsc","avalanche"],"title":"Chain","type":"string"}},"title":"GasPriceParams","type":"object"},"example":{"chain":"base"}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"chain":{"type":"string"},"chain_id":{"type":"integer"},"gas_price_wei":{"type":"string","description":"Exact RPC price per unit of execution gas in wei"},"gas_price_gwei":{"type":"number","description":"RPC price per unit of execution gas in gwei"},"latest_block_number":{"type":"integer","description":"Latest block height observed during the same fetch"}},"required":["chain","chain_id","gas_price_wei","gas_price_gwei","latest_block_number"]},"meta":{"type":"object","properties":{"skill":{"const":"data.chain.gas_price"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.000000","price_varies":false,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/data.chain.token_price":{"post":{"operationId":"data_chain_token_price","summary":"Crypto USD reference price","description":"Get the latest BTC, ETH or USDC USD reference price and its observation time from a Chainlink oracle on Ethereum. Rates update on price movement or on the oracle's heartbeat.","tags":["data"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"asset":{"default":"ETH","enum":["BTC","ETH","USDC"],"title":"Asset","type":"string"}},"title":"TokenPriceParams","type":"object"},"example":{"asset":"ETH"}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"asset":{"enum":["BTC","ETH","USDC"]},"price_usd":{"type":"string","description":"Exact decimal USD reference price"},"oracle_chain":{"type":"string"},"oracle_proxy":{"type":"string"},"heartbeat_seconds":{"type":"integer"},"updated_at_unix":{"type":"integer"}},"required":["asset","price_usd","oracle_chain","oracle_proxy","heartbeat_seconds","updated_at_unix"]},"meta":{"type":"object","properties":{"skill":{"const":"data.chain.token_price"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.000000","price_varies":false,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/data.chain.wallet_balance":{"post":{"operationId":"data_chain_wallet_balance","summary":"EVM wallet balance","description":"Read the current native gas-token or native USDC balance of one EVM wallet. Returns the exact amount in smallest units. Use Account snapshot for multiple tokens and account details.","tags":["data"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"address":{"title":"Address","type":"string"},"chain":{"default":"base","enum":["ethereum","base","arbitrum","optimism","polygon","bsc","avalanche"],"title":"Chain","type":"string"},"asset":{"default":"native","enum":["native","USDC"],"title":"Asset","type":"string"}},"required":["address"],"title":"WalletBalanceParams","type":"object"},"example":{"chain":"base","address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"address":{"type":"string"},"chain":{"type":"string"},"asset":{"enum":["native","USDC"]},"balance":{"type":"number"},"balance_raw":{"type":"string","description":"Exact balance in smallest units"},"decimals":{"type":"integer"},"token":{"type":"string"}},"required":["address","chain","asset","balance","balance_raw","decimals"]},"meta":{"type":"object","properties":{"skill":{"const":"data.chain.wallet_balance"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.000000","price_varies":false,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/data.defi.aave_rates":{"post":{"operationId":"data_defi_aave_rates","summary":"Aave V3 USDC rates","description":"Use this to get the current USDC lending (supply) APR and variable borrow APR on Aave V3 (Base or Ethereum), read from the Aave pool contract at a finalized block.","tags":["data"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"chain":{"default":"base","enum":["ethereum","base"],"title":"Chain","type":"string"}},"title":"AaveRateParams","type":"object"},"example":{"chain":"base"}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"chain":{"type":"string"},"asset":{"type":"string"},"pool":{"type":"string"},"token":{"type":"string"},"block_number":{"type":"integer"},"block_timestamp":{"type":"integer","description":"Finalized block time in Unix seconds"},"supply_apr":{"type":"number","description":"Annual supply rate as a fraction, e.g. 0.05 for 5%"},"variable_borrow_apr":{"type":"number","description":"Annual variable borrowing rate as a fraction"},"active":{"type":"boolean"},"frozen":{"type":"boolean"},"paused":{"type":"boolean"}}},"meta":{"type":"object","properties":{"skill":{"const":"data.defi.aave_rates"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."},"202":{"description":"Work is queued or payment is confirming. Poll the returned URL with the X-Ellimist-Task-Read header and read_token.","content":{"application/json":{"schema":{"type":"object","properties":{"skill":{"type":"string"},"task_id":{"type":"string"},"state":{"enum":["submitted","payment_pending"]},"poll":{"type":"string"},"poll_header":{"const":"X-Ellimist-Task-Read"},"read_token":{"type":["string","null"],"description":"Private polling token"}},"required":["skill","task_id","state","poll","poll_header","read_token"]}}}}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.005000","price_varies":false,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/data.defi.yield_vs_tbill":{"post":{"operationId":"data_defi_yield_vs_tbill","summary":"DeFi yield vs T-bill","description":"Use this to compare parking USDC on Aave V3 with a 3-month U.S. Treasury bill right now: Aave's supply APR and APY, the T-bill yield, and the spread in basis points, with both source dates. Data comparison, not advice; Aave carries smart-contract risk a T-bill does not.","tags":["data"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"chain":{"default":"base","enum":["base","ethereum"],"title":"Chain","type":"string"}},"title":"YieldVsTbillParams","type":"object"},"example":{"chain":"base"}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"chain":{"type":"string"},"aave_usdc_supply_apr_pct":{"type":"number"},"aave_usdc_supply_apy_pct":{"type":"number"},"tbill_3m_yield_pct":{"type":"number"},"spread_bps":{"type":"number","description":"Aave supply APY minus T-bill yield in basis points"},"higher":{"enum":["aave","tbill"]},"aave_block_timestamp":{"type":"integer","description":"Unix seconds"},"tbill_date":{"type":"string","format":"date"},"basis":{"type":"string"}}},"meta":{"type":"object","properties":{"skill":{"const":"data.defi.yield_vs_tbill"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."},"202":{"description":"Work is queued or payment is confirming. Poll the returned URL with the X-Ellimist-Task-Read header and read_token.","content":{"application/json":{"schema":{"type":"object","properties":{"skill":{"type":"string"},"task_id":{"type":"string"},"state":{"enum":["submitted","payment_pending"]},"poll":{"type":"string"},"poll_header":{"const":"X-Ellimist-Task-Read"},"read_token":{"type":["string","null"],"description":"Private polling token"}},"required":["skill","task_id","state","poll","poll_header","read_token"]}}}}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.010000","price_varies":false,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/data.macro.bls":{"post":{"operationId":"data_macro_bls","summary":"BLS series","description":"Use this to get U.S. Bureau of Labor Statistics series: CPI inflation, unemployment rate, payrolls, wages and other BLS series IDs (e.g. CUUR0000SA0, LNS14000000). Official public-domain data.","tags":["data"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"series_ids":{"examples":[["CUUR0000SA0","LNS14000000"]],"items":{"pattern":"^[A-Za-z0-9_#\\-]{1,50}$","type":"string"},"maxItems":25,"minItems":1,"title":"Series Ids","type":"array"}},"required":["series_ids"],"title":"BlsParams","type":"object"},"example":{"series_ids":["CUUR0000SA0","LNS14000000"]}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","description":"Observations keyed by requested BLS series ID","additionalProperties":{"type":"array","items":{"type":"object","properties":{"year":{"type":"string"},"period":{"type":"string"},"value":{"type":["number","null"],"description":"Series value"}}}}},"meta":{"type":"object","properties":{"skill":{"const":"data.macro.bls"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."},"202":{"description":"Work is queued or payment is confirming. Poll the returned URL with the X-Ellimist-Task-Read header and read_token.","content":{"application/json":{"schema":{"type":"object","properties":{"skill":{"type":"string"},"task_id":{"type":"string"},"state":{"enum":["submitted","payment_pending"]},"poll":{"type":"string"},"poll_header":{"const":"X-Ellimist-Task-Read"},"read_token":{"type":["string","null"],"description":"Private polling token"}},"required":["skill","task_id","state","poll","poll_header","read_token"]}}}}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.005000","price_varies":false,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/data.macro.recession_signals":{"post":{"operationId":"data_macro_recession_signals","summary":"Recession signals","description":"Use this to answer 'are recession signals on?' in one call: Treasury yield-curve inversion (10y-2y and 10y-3m), the Sahm rule from BLS unemployment, and real 10-year and 3-month rates after CPI inflation. Each with its official source date. Data, not advice.","tags":["data"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"NoParams","type":"object"},"example":{}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"summary":{"type":"string"},"signals_on":{"type":"integer"},"signals_total":{"type":"integer"},"signals":{"type":"object","properties":{"yield_curve_10y_2y":{"type":"object"},"yield_curve_10y_3m":{"type":"object"},"sahm_rule":{"type":"object"}}},"real_rates":{"type":"object","properties":{"cpi_inflation_yoy_pct":{"type":"number"},"cpi_month":{"type":"string"},"real_10y_pct":{"type":["number","null"],"description":"Real 10-year rate"},"real_3m_pct":{"type":["number","null"],"description":"Real 3-month rate"}}},"curve_date":{"type":"string","format":"date"}}},"meta":{"type":"object","properties":{"skill":{"const":"data.macro.recession_signals"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."},"202":{"description":"Work is queued or payment is confirming. Poll the returned URL with the X-Ellimist-Task-Read header and read_token.","content":{"application/json":{"schema":{"type":"object","properties":{"skill":{"type":"string"},"task_id":{"type":"string"},"state":{"enum":["submitted","payment_pending"]},"poll":{"type":"string"},"poll_header":{"const":"X-Ellimist-Task-Read"},"read_token":{"type":["string","null"],"description":"Private polling token"}},"required":["skill","task_id","state","poll","poll_header","read_token"]}}}}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.010000","price_varies":false,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/data.macro.treasury_curve":{"post":{"operationId":"data_macro_treasury_curve","summary":"U.S. Treasury par yield curve","description":"Use this to get the U.S. Treasury par yield curve (1-month to 30-year yields) by day, with 10y-2y and 10y-3m spreads for recession and rates signals. Official data.","tags":["data"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"start":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"default":null,"description":"First day. Default: 30 days before end.","title":"Start"},"end":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"default":null,"description":"Last day. Default: today (UTC).","title":"End"}},"title":"CurveParams","type":"object"},"example":{}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","format":"date"},"yields":{"type":"object","description":"Percent yields by maturity","additionalProperties":{"type":"number"}},"spread_10y_2y":{"type":["number","null"],"description":"10-year minus 2-year yield in percentage points"},"spread_10y_3m":{"type":["number","null"],"description":"10-year minus 3-month yield in percentage points"}}}},"meta":{"type":"object","properties":{"skill":{"const":"data.macro.treasury_curve"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."},"202":{"description":"Work is queued or payment is confirming. Poll the returned URL with the X-Ellimist-Task-Read header and read_token.","content":{"application/json":{"schema":{"type":"object","properties":{"skill":{"type":"string"},"task_id":{"type":"string"},"state":{"enum":["submitted","payment_pending"]},"poll":{"type":"string"},"poll_header":{"const":"X-Ellimist-Task-Read"},"read_token":{"type":["string","null"],"description":"Private polling token"}},"required":["skill","task_id","state","poll","poll_header","read_token"]}}}}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.005000","price_varies":false,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/data.risk.ofac":{"post":{"operationId":"data_risk_ofac","summary":"OFAC SDN wallet lookup","description":"Use this to check whether a wallet address appears on the official U.S. Treasury OFAC SDN list before a payment. Pass address for the latest list or add at (UTC timestamp) for a historical check within Ellimist's coverage. Read listed in the signed result.","tags":["data"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"address":{"maxLength":128,"minLength":1,"pattern":"^\\S+$","title":"Address","type":"string"},"at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"description":"Past point in time (UTC) to check instead of today: proves whether the address was listed then, from Ellimist's list history","title":"At"}},"required":["address"],"title":"OfacParams","type":"object"},"example":{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"address":{"type":"string"},"listed":{"type":"boolean","description":"Address matched the OFAC SDN list"},"publication_date":{"type":["string","null"],"description":"Current list publication date"},"snapshot_sha256":{"type":"string"},"at":{"type":"string","format":"date-time"},"list_in_effect":{"type":"object","properties":{"published":{"type":["string","null"],"description":"List publication date"},"sha256":{"type":"string"},"recorded_at":{"type":"string","format":"date-time"}}},"history_starts":{"type":"string","format":"date-time"},"first_listed":{"type":["string","null"],"description":"First observed listing date"},"delisted":{"type":["string","null"],"description":"Observed removal date"}},"required":["address","listed"]},"meta":{"type":"object","properties":{"skill":{"const":"data.risk.ofac"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."},"202":{"description":"Work is queued or payment is confirming. Poll the returned URL with the X-Ellimist-Task-Read header and read_token.","content":{"application/json":{"schema":{"type":"object","properties":{"skill":{"type":"string"},"task_id":{"type":"string"},"state":{"enum":["submitted","payment_pending"]},"poll":{"type":"string"},"poll_header":{"const":"X-Ellimist-Task-Read"},"read_token":{"type":["string","null"],"description":"Private polling token"}},"required":["skill","task_id","state","poll","poll_header","read_token"]}}}}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.005000","price_varies":true,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/exchange.build_swap":{"post":{"operationId":"exchange_build_swap","summary":"Build swap transaction (non-custodial)","description":"Unsigned approval + swap transactions for the best route. Your agent signs and broadcasts from its own wallet; Ellimist never takes custody. Conversions are executed by third-party smart contracts (routed by LI.FI) that may fail or be exploited; funds may be lost and transactions are irreversible.","tags":["exchange"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"from_chain":{"examples":["base"],"maxLength":40,"title":"From Chain","type":"string"},"to_chain":{"examples":["arbitrum"],"maxLength":40,"title":"To Chain","type":"string"},"from_token":{"description":"symbol (USDC) or token address","maxLength":100,"title":"From Token","type":"string"},"to_token":{"description":"symbol (ETH) or token address","maxLength":100,"title":"To Token","type":"string"},"from_amount":{"description":"Amount in smallest token units, e.g. 1000000 for 1 USDC","pattern":"^[0-9]{1,78}$","title":"From Amount","type":"string"},"from_address":{"maxLength":100,"title":"From Address","type":"string"},"to_address":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"title":"To Address"},"slippage":{"default":0.005,"description":"Maximum slippage as a fraction, e.g. 0.005 for 0.5%","exclusiveMinimum":0,"maximum":0.03,"title":"Slippage","type":"number"},"order":{"default":"CHEAPEST","enum":["CHEAPEST","FASTEST"],"title":"Order","type":"string"},"allow_high_impact":{"default":false,"title":"Allow High Impact","type":"boolean"}},"required":["from_chain","to_chain","from_token","to_token","from_amount","from_address"],"title":"SwapParams","type":"object"},"example":{"from_chain":"base","to_chain":"arbitrum","from_token":"USDC","to_token":"ETH","from_amount":"100000000","from_address":"0x4e65fE4DbA92790696d040ac24Aa414708F5c0AB"}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"quote_id":{"type":"string"},"expires_at":{"type":"number","description":"Quote expiry in Unix seconds"},"tool":{"type":["string","null"],"description":"Route provider"},"from":{"type":"object","properties":{"chain_id":{"type":"integer"},"token":{"type":["string","null"]},"token_address":{"type":"string"},"amount":{"type":"string","description":"Amount in smallest source-token units"},"amount_usd":{"type":"number"}}},"to":{"type":"object","properties":{"chain_id":{"type":"integer"},"token":{"type":["string","null"]},"token_address":{"type":"string"},"decimals":{"type":["integer","null"]},"amount":{"type":"string","description":"Estimated output in smallest destination-token units"},"amount_min":{"type":"string","description":"Minimum output in smallest destination-token units"},"amount_usd":{"type":"number"}}},"fees":{"type":"object","properties":{"integrator_fee_atomic":{"type":"string"},"integrator_fee_usd":{"type":"number"},"lifi_fee_usd":{"type":"number"},"bridge_and_dex_fees_usd":{"type":"number"},"gas_usd":{"type":"number"}}},"execution_seconds":{"type":["number","null"],"description":"Estimated execution time"},"warnings":{"type":"array","items":{"type":"string"}},"preflight":{"type":"object"},"transactions":{"type":"array","items":{"type":"object","properties":{"type":{"enum":["approve","swap","revoke"]},"chainId":{"type":"integer"},"to":{"type":"string"},"data":{"type":"string"},"value":{"type":"string"},"optional":{"type":"boolean"}}}},"track_with":{"type":"object"}}},"meta":{"type":"object","properties":{"skill":{"const":"exchange.build_swap"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."},"202":{"description":"Work is queued or payment is confirming. Poll the returned URL with the X-Ellimist-Task-Read header and read_token.","content":{"application/json":{"schema":{"type":"object","properties":{"skill":{"type":"string"},"task_id":{"type":"string"},"state":{"enum":["submitted","payment_pending"]},"poll":{"type":"string"},"poll_header":{"const":"X-Ellimist-Task-Read"},"read_token":{"type":["string","null"],"description":"Private polling token"}},"required":["skill","task_id","state","poll","poll_header","read_token"]}}}}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.005000","price_varies":false,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/exchange.quote":{"post":{"operationId":"exchange_quote","summary":"Swap / bridge quote","description":"Best route to convert any token to any token across chains: output, minimum output, fees, gas, time; with 'alternatives', other routes to compare. Sanctions-screened. Ellimist fee: 0.25% of volume, at least $0.05 and never more than 1%. Conversions are executed by third-party smart contracts (routed by LI.FI) that may fail or be exploited; funds may be lost and transactions are irreversible.","tags":["exchange"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"from_chain":{"examples":["base"],"maxLength":40,"title":"From Chain","type":"string"},"to_chain":{"examples":["arbitrum"],"maxLength":40,"title":"To Chain","type":"string"},"from_token":{"description":"symbol (USDC) or token address","maxLength":100,"title":"From Token","type":"string"},"to_token":{"description":"symbol (ETH) or token address","maxLength":100,"title":"To Token","type":"string"},"from_amount":{"description":"Amount in smallest token units, e.g. 1000000 for 1 USDC","pattern":"^[0-9]{1,78}$","title":"From Amount","type":"string"},"from_address":{"maxLength":100,"title":"From Address","type":"string"},"to_address":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"title":"To Address"},"slippage":{"default":0.005,"description":"Maximum slippage as a fraction, e.g. 0.005 for 0.5%","exclusiveMinimum":0,"maximum":0.03,"title":"Slippage","type":"number"},"order":{"default":"CHEAPEST","enum":["CHEAPEST","FASTEST"],"title":"Order","type":"string"},"allow_high_impact":{"default":false,"title":"Allow High Impact","type":"boolean"},"alternatives":{"default":0,"description":"also return up to this many alternative routes","maximum":10,"minimum":0,"title":"Alternatives","type":"integer"}},"required":["from_chain","to_chain","from_token","to_token","from_amount","from_address"],"title":"QuoteParams","type":"object"},"example":{"from_chain":"base","to_chain":"arbitrum","from_token":"USDC","to_token":"ETH","from_amount":"100000000","from_address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"quote_id":{"type":"string"},"expires_at":{"type":"number","description":"Quote expiry in Unix seconds"},"tool":{"type":["string","null"],"description":"Route provider"},"from":{"type":"object","properties":{"chain_id":{"type":"integer"},"token":{"type":["string","null"]},"token_address":{"type":"string"},"amount":{"type":"string","description":"Amount in smallest source-token units"},"amount_usd":{"type":"number"}}},"to":{"type":"object","properties":{"chain_id":{"type":"integer"},"token":{"type":["string","null"]},"token_address":{"type":"string"},"decimals":{"type":["integer","null"]},"amount":{"type":"string","description":"Estimated output in smallest destination-token units"},"amount_min":{"type":"string","description":"Minimum output in smallest destination-token units"},"amount_usd":{"type":"number"}}},"fees":{"type":"object","properties":{"integrator_fee_atomic":{"type":"string"},"integrator_fee_usd":{"type":"number"},"lifi_fee_usd":{"type":"number"},"bridge_and_dex_fees_usd":{"type":"number"},"gas_usd":{"type":"number"}}},"execution_seconds":{"type":["number","null"],"description":"Estimated execution time"},"warnings":{"type":"array","items":{"type":"string"}},"alternatives":{"type":"array","items":{"type":"object"}}}},"meta":{"type":"object","properties":{"skill":{"const":"exchange.quote"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."},"202":{"description":"Work is queued or payment is confirming. Poll the returned URL with the X-Ellimist-Task-Read header and read_token.","content":{"application/json":{"schema":{"type":"object","properties":{"skill":{"type":"string"},"task_id":{"type":"string"},"state":{"enum":["submitted","payment_pending"]},"poll":{"type":"string"},"poll_header":{"const":"X-Ellimist-Task-Read"},"read_token":{"type":["string","null"],"description":"Private polling token"}},"required":["skill","task_id","state","poll","poll_header","read_token"]}}}}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.005000","price_varies":false,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/quantum.exposure_index":{"post":{"operationId":"quantum_exposure_index","summary":"Quantum exposure index","description":"Use this to see how much tracked ETH sits in addresses whose public key is already revealed, and so would be exposed to a future quantum computer: daily index with history, shares of tracked balance (revealed, hidden, contract), counts and coverage. Aggregate only; no addresses.","tags":["quantum"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"chain":{"default":"ethereum","enum":["ethereum","base"],"title":"Chain","type":"string"},"days":{"default":30,"description":"history to include","maximum":365,"minimum":1,"title":"Days","type":"integer"}},"title":"ExposureIndexParams","type":"object"},"example":{"chain":"ethereum","days":30}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"chain":{"type":"string"},"latest":{"type":"object"},"history":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","format":"date-time"},"share_of_tracked_balance":{"type":"object"},"coverage":{"type":"object"}}}},"methodology":{"type":"string"}}},"meta":{"type":"object","properties":{"skill":{"const":"quantum.exposure_index"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."},"202":{"description":"Work is queued or payment is confirming. Poll the returned URL with the X-Ellimist-Task-Read header and read_token.","content":{"application/json":{"schema":{"type":"object","properties":{"skill":{"type":"string"},"task_id":{"type":"string"},"state":{"enum":["submitted","payment_pending"]},"poll":{"type":"string"},"poll_header":{"const":"X-Ellimist-Task-Read"},"read_token":{"type":["string","null"],"description":"Private polling token"}},"required":["skill","task_id","state","poll","poll_header","read_token"]}}}}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.010000","price_varies":false,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/quantum.portfolio.index_tracking":{"post":{"operationId":"quantum_portfolio_index_tracking","summary":"Index tracking with K assets","description":"Use this to pick K assets and weights that track an index with minimal tracking error, from your own asset and index return series.","tags":["quantum"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"requested_backend":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"set by Ellimist; leave empty","title":"Requested Backend"},"backend_note":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"set by Ellimist; leave empty","title":"Backend Note"},"assets":{"items":{"maxLength":64,"minLength":1,"type":"string"},"maxItems":500,"minItems":1,"title":"Assets","type":"array"},"asset_returns":{"description":"T x N","items":{"items":{"type":"number"},"type":"array"},"title":"Asset Returns","type":"array"},"index_returns":{"description":"length T","items":{"type":"number"},"maxItems":5000,"title":"Index Returns","type":"array"},"max_assets":{"maximum":24,"minimum":1,"title":"Max Assets","type":"integer"},"backend":{"default":"aer","enum":["classical","aer","ibm"],"title":"Backend","type":"string"}},"required":["assets","asset_returns","index_returns","max_assets"],"title":"TrackingParams","type":"object"},"example":{"assets":["A","B","C"],"asset_returns":[[0.012,-0.004,0.006],[-0.008,0.01,0.002],[0.015,0.003,-0.005],[-0.002,-0.007,0.009],[0.006,0.012,0.001],[0.009,-0.003,0.004],[-0.011,0.005,-0.002],[0.004,0.008,0.007],[0.013,-0.006,0.003],[-0.005,0.002,-0.008],[0.007,0.009,0.005],[0.002,-0.001,0.006]],"index_returns":[0.00467,0.00133,0.00433,-0.0,0.00633,0.00333,-0.00267,0.00633,0.00333,-0.00367,0.007,0.00233],"max_assets":2,"backend":"classical"}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"cardinality":{"type":"integer"},"classical":{"type":"object","properties":{"method":{"type":"string"},"weights":{"type":"object","additionalProperties":{"type":"number"},"description":"Portfolio fractions by asset"},"tracking_error_annual":{"type":"number"}}},"quantum":{"type":["object","null"],"properties":{"method":{"type":"string"},"weights":{"type":"object","additionalProperties":{"type":"number"},"description":"Portfolio fractions by asset"},"tracking_error_annual":{"type":"number"}}},"recommended":{"type":"string"}}},"meta":{"type":"object","properties":{"skill":{"const":"quantum.portfolio.index_tracking"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."},"202":{"description":"Work is queued or payment is confirming. Poll the returned URL with the X-Ellimist-Task-Read header and read_token.","content":{"application/json":{"schema":{"type":"object","properties":{"skill":{"type":"string"},"task_id":{"type":"string"},"state":{"enum":["submitted","payment_pending"]},"poll":{"type":"string"},"poll_header":{"const":"X-Ellimist-Task-Read"},"read_token":{"type":["string","null"],"description":"Private polling token"}},"required":["skill","task_id","state","poll","poll_header","read_token"]}}}}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.050000","price_varies":true,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/quantum.portfolio.optimize":{"post":{"operationId":"quantum_portfolio_optimize","summary":"Portfolio optimization (QAOA + classical)","description":"Use this to compute mean-variance portfolio weights from your own returns or covariance, optionally limited to a maximum number of assets; QAOA asset selection next to an exact classical baseline.","tags":["quantum"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"requested_backend":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"set by Ellimist; leave empty","title":"Requested Backend"},"backend_note":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"set by Ellimist; leave empty","title":"Backend Note"},"assets":{"anyOf":[{"items":{"maxLength":64,"minLength":1,"type":"string"},"maxItems":64,"type":"array"},{"type":"null"}],"default":null,"title":"Assets"},"expected_returns":{"anyOf":[{"items":{"type":"number"},"maxItems":64,"type":"array"},{"type":"null"}],"default":null,"title":"Expected Returns"},"covariance":{"anyOf":[{"items":{"items":{"type":"number"},"type":"array"},"type":"array"},{"type":"null"}],"default":null,"title":"Covariance"},"returns":{"anyOf":[{"items":{"items":{"type":"number"},"type":"array"},"type":"array"},{"type":"null"}],"default":null,"description":"T x N periodic returns","title":"Returns"},"periods_per_year":{"default":365,"maximum":100000,"minimum":1,"title":"Periods Per Year","type":"integer"},"backend":{"default":"aer","enum":["classical","aer","ibm"],"title":"Backend","type":"string"},"current_weights":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"default":null,"description":"Your current holdings (weights by asset). Given, the result trades off turnover cost.","title":"Current Weights"},"turnover_penalty":{"default":0.002,"description":"cost per unit of turnover (e.g. fees + slippage)","minimum":0,"title":"Turnover Penalty","type":"number"},"risk_aversion":{"default":2.0,"exclusiveMinimum":0,"title":"Risk Aversion","type":"number"},"max_assets":{"anyOf":[{"maximum":24,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"title":"Max Assets"},"max_weight":{"default":1.0,"exclusiveMinimum":0,"maximum":1,"title":"Max Weight","type":"number"}},"title":"OptimizeParams","type":"object"},"example":{"assets":["A","B","C"],"returns":[[0.012,-0.004,0.006],[-0.008,0.01,0.002],[0.015,0.003,-0.005],[-0.002,-0.007,0.009],[0.006,0.012,0.001],[0.009,-0.003,0.004],[-0.011,0.005,-0.002],[0.004,0.008,0.007],[0.013,-0.006,0.003],[-0.005,0.002,-0.008],[0.007,0.009,0.005],[0.002,-0.001,0.006]],"backend":"classical","max_assets":2}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"classical":{"type":"object","properties":{"method":{"type":"string"},"weights":{"type":"object","additionalProperties":{"type":"number"},"description":"Portfolio fractions by asset"},"expected_return":{"type":"number"},"volatility":{"type":"number"}}},"quantum":{"type":["object","null"],"properties":{"method":{"type":"string"},"weights":{"type":"object","additionalProperties":{"type":"number"},"description":"Portfolio fractions by asset"},"expected_return":{"type":"number"},"volatility":{"type":"number"}}},"recommended":{"type":"string"},"current_weights":{"type":"object","additionalProperties":{"type":"number"},"description":"Portfolio fractions by asset"}}},"meta":{"type":"object","properties":{"skill":{"const":"quantum.portfolio.optimize"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."},"202":{"description":"Work is queued or payment is confirming. Poll the returned URL with the X-Ellimist-Task-Read header and read_token.","content":{"application/json":{"schema":{"type":"object","properties":{"skill":{"type":"string"},"task_id":{"type":"string"},"state":{"enum":["submitted","payment_pending"]},"poll":{"type":"string"},"poll_header":{"const":"X-Ellimist-Task-Read"},"read_token":{"type":["string","null"],"description":"Private polling token"}},"required":["skill","task_id","state","poll","poll_header","read_token"]}}}}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.050000","price_varies":true,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/quantum.pq_exposure":{"post":{"operationId":"quantum_pq_exposure","summary":"Post-quantum exposure score","description":"Use this to score how exposed an Ethereum or Bitcoin wallet is to future quantum attacks (revealed public keys, address reuse, Taproot) with migration advice.","tags":["quantum"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"address":{"maxLength":128,"minLength":1,"title":"Address","type":"string"}},"required":["address"],"title":"PqParams","type":"object"},"example":{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"address":{"type":"string"},"type":{"type":"string"},"status":{"type":"string"},"pq_exposure_score":{"type":["integer","null"],"description":"Exposure score on a 0–100 scale"},"advice":{"type":"array","items":{"type":"string"}},"coverage":{"type":"object"}}},"meta":{"type":"object","properties":{"skill":{"const":"quantum.pq_exposure"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."},"202":{"description":"Work is queued or payment is confirming. Poll the returned URL with the X-Ellimist-Task-Read header and read_token.","content":{"application/json":{"schema":{"type":"object","properties":{"skill":{"type":"string"},"task_id":{"type":"string"},"state":{"enum":["submitted","payment_pending"]},"poll":{"type":"string"},"poll_header":{"const":"X-Ellimist-Task-Read"},"read_token":{"type":["string","null"],"description":"Private polling token"}},"required":["skill","task_id","state","poll","poll_header","read_token"]}}}}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.020000","price_varies":false,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/quantum.risk.var_cvar":{"post":{"operationId":"quantum_risk_var_cvar","summary":"VaR / CVaR risk attestation","description":"Use this to compute Value-at-Risk and CVaR (expected shortfall) with confidence intervals for your portfolio returns, returned as a signed attestation a lender or counterparty can verify.","tags":["quantum"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"requested_backend":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"set by Ellimist; leave empty","title":"Requested Backend"},"backend_note":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"set by Ellimist; leave empty","title":"Backend Note"},"assets":{"anyOf":[{"items":{"maxLength":64,"minLength":1,"type":"string"},"maxItems":64,"type":"array"},{"type":"null"}],"default":null,"title":"Assets"},"expected_returns":{"anyOf":[{"items":{"type":"number"},"maxItems":64,"type":"array"},{"type":"null"}],"default":null,"title":"Expected Returns"},"covariance":{"anyOf":[{"items":{"items":{"type":"number"},"type":"array"},"type":"array"},{"type":"null"}],"default":null,"title":"Covariance"},"returns":{"anyOf":[{"items":{"items":{"type":"number"},"type":"array"},"type":"array"},{"type":"null"}],"default":null,"description":"T x N periodic returns","title":"Returns"},"periods_per_year":{"default":365,"maximum":100000,"minimum":1,"title":"Periods Per Year","type":"integer"},"weights":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"default":null,"description":"defaults to equal weight","title":"Weights"},"confidence":{"default":0.95,"maximum":0.999,"minimum":0.8,"title":"Confidence","type":"number"},"horizon_days":{"default":1,"maximum":30,"minimum":1,"title":"Horizon Days","type":"integer"},"portfolio_value":{"default":1.0,"exclusiveMinimum":0,"maximum":1000000000000000.0,"title":"Portfolio Value","type":"number"},"backend":{"default":"aer","enum":["classical","aer","ibm"],"title":"Backend","type":"string"},"qubits":{"default":6,"maximum":10,"minimum":3,"title":"Qubits","type":"integer"}},"title":"VarParams","type":"object"},"example":{"assets":["A","B","C"],"returns":[[0.012,-0.004,0.006],[-0.008,0.01,0.002],[0.015,0.003,-0.005],[-0.002,-0.007,0.009],[0.006,0.012,0.001],[0.009,-0.003,0.004],[-0.011,0.005,-0.002],[0.004,0.008,0.007],[0.013,-0.006,0.003],[-0.005,0.002,-0.008],[0.007,0.009,0.005],[0.002,-0.001,0.006]],"backend":"classical"}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"attestation":{"type":"string"},"weights":{"type":"object","additionalProperties":{"type":"number"},"description":"Portfolio fractions by asset"},"confidence":{"type":"number"},"horizon_days":{"type":"integer"},"classical":{"type":"object","properties":{"var":{"type":"number","description":"Value-at-Risk in portfolio-value units"},"cvar":{"type":"number","description":"Expected shortfall in portfolio-value units"}}},"quantum":{"type":["object","null"],"properties":{"var":{"type":"number","description":"Value-at-Risk in portfolio-value units"},"cvar":{"type":"number","description":"Expected shortfall in portfolio-value units"}}}}},"meta":{"type":"object","properties":{"skill":{"const":"quantum.risk.var_cvar"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."},"202":{"description":"Work is queued or payment is confirming. Poll the returned URL with the X-Ellimist-Task-Read header and read_token.","content":{"application/json":{"schema":{"type":"object","properties":{"skill":{"type":"string"},"task_id":{"type":"string"},"state":{"enum":["submitted","payment_pending"]},"poll":{"type":"string"},"poll_header":{"const":"X-Ellimist-Task-Read"},"read_token":{"type":["string","null"],"description":"Private polling token"}},"required":["skill","task_id","state","poll","poll_header","read_token"]}}}}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.050000","price_varies":true,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}},"/v1/skills/quantum.routing.split_order":{"post":{"operationId":"quantum_routing_split_order","summary":"Large-order route splitting","description":"For large conversions: probes route output at several sizes and splits the order across routes to maximize total output versus a single route.","tags":["exchange"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"from_chain":{"examples":["base"],"maxLength":40,"title":"From Chain","type":"string"},"to_chain":{"examples":["arbitrum"],"maxLength":40,"title":"To Chain","type":"string"},"from_token":{"description":"symbol (USDC) or token address","maxLength":100,"title":"From Token","type":"string"},"to_token":{"description":"symbol (ETH) or token address","maxLength":100,"title":"To Token","type":"string"},"from_amount":{"description":"Amount in smallest token units, e.g. 1000000 for 1 USDC","pattern":"^[0-9]{1,78}$","title":"From Amount","type":"string"},"from_address":{"maxLength":100,"title":"From Address","type":"string"},"to_address":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"title":"To Address"},"slippage":{"default":0.005,"description":"Maximum slippage as a fraction, e.g. 0.005 for 0.5%","exclusiveMinimum":0,"maximum":0.03,"title":"Slippage","type":"number"},"order":{"default":"CHEAPEST","enum":["CHEAPEST","FASTEST"],"title":"Order","type":"string"},"allow_high_impact":{"default":false,"title":"Allow High Impact","type":"boolean"},"chunks":{"default":8,"maximum":32,"minimum":2,"title":"Chunks","type":"integer"},"backend":{"default":"classical","enum":["classical","aer"],"title":"Backend","type":"string"}},"required":["from_chain","to_chain","from_token","to_token","from_amount","from_address"],"title":"SplitParams","type":"object"},"example":{"from_chain":"base","to_chain":"arbitrum","from_token":"USDC","to_token":"ETH","from_amount":"100000000","from_address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}}}},"responses":{"200":{"description":"Signed result. Verify the envelope at POST /v1/verify. The PAYMENT-RESPONSE header carries the receipt for a paid call.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"plan":{"type":"array","items":{"type":"object","properties":{"route":{"type":"string"},"share":{"type":"number"},"from_amount":{"type":"string"},"expected_output":{"type":"string"}}}},"expected_total_output":{"type":"string","description":"Indicative total output in smallest token units"},"best_single_route_output":{"type":"string","description":"Single-route estimate in smallest token units"},"improvement_pct":{"type":["number","null"],"description":"Estimated percent improvement"},"backend_used":{"type":"string"},"note":{"type":"string"}}},"meta":{"type":"object","properties":{"skill":{"const":"quantum.routing.split_order"},"served_at":{"type":"string","format":"date-time"},"fetched_at":{"type":["string","null"],"description":"UTC source timestamp when available"},"stale":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}}}},"license":{"type":["object","null"],"description":"Source attribution and redistribution terms"}},"required":["skill","served_at","fetched_at","stale","sources","license"]},"proof":{"type":"object","properties":{"scheme":{"const":"eip191-sha256-canonical-json"},"signer":{"type":"string"},"payload_sha256":{"type":"string"},"signature":{"type":"string"}},"required":["scheme","signer","payload_sha256","signature"]}},"required":["data","meta","proof"]}}}},"400":{"description":"Invalid parameters; nothing is charged."},"402":{"description":"Payment required (x402 v2): body and PAYMENT-REQUIRED header list the accepted assets and amount. Retry with a PAYMENT-SIGNATURE header."},"202":{"description":"Work is queued or payment is confirming. Poll the returned URL with the X-Ellimist-Task-Read header and read_token.","content":{"application/json":{"schema":{"type":"object","properties":{"skill":{"type":"string"},"task_id":{"type":"string"},"state":{"enum":["submitted","payment_pending"]},"poll":{"type":"string"},"poll_header":{"const":"X-Ellimist-Task-Read"},"read_token":{"type":["string","null"],"description":"Private polling token"}},"required":["skill","task_id","state","poll","poll_header","read_token"]}}}}},"x-payment":{"protocol":"x402","x402Version":2,"scheme":"exact","price_usd":"0.050000","price_varies":false,"accepts":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","symbol":"USDC"},{"network":"eip155:137","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","symbol":"USDC"},{"network":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","symbol":"USDC"},{"network":"eip155:42161","asset":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9","symbol":"USDT"}],"header":"PAYMENT-SIGNATURE","recovery_header":"X-Ellimist-Recovery","settles_only_on_success":true}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}