{"openapi":"3.0.0","info":{"title":"thirdweb analytics","description":"Internal service for retrieving thirdweb analytics data","version":"1.0.0"},"servers":[{"scheme":"https","url":"https://analytics.thirdweb.com","description":"Current"}],"components":{"securitySchemes":{"Bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"ApiKey":{"type":"apiKey","in":"header","name":"x-secret-key"},"JWT":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{},"parameters":{}},"paths":{"/v2/bundler/sponsored-transactions":{"get":{"description":"Get sponsored transactions paginated","tags":["Bundler"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"number","nullable":true,"description":"The chain ID","example":1},"required":false,"name":"chainId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"number","nullable":true,"description":"The number of items to return","example":100,"maximum":1000},"required":false,"name":"limit","in":"query"},{"schema":{"type":"number","nullable":true,"description":"The number of items to skip"},"required":false,"name":"offset","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"timestamp":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"teamId":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"projectId":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"chainId":{"type":"string","description":"The chain ID","example":"1"},"transactionFee":{"type":"number","description":"The transaction fee in wei","example":1230000000000000000},"transactionFeeUsd":{"type":"number","description":"The transaction fee in USD","example":0.05},"walletAddress":{"type":"string","description":"The wallet address"},"transactionHash":{"type":"string","description":"The transaction hash confirming this sponsored transaction"},"userOpHash":{"type":"string","description":"The user operation hash (not provided for zksync chains)"}},"required":["teamId","projectId","chainId","transactionFee","transactionFeeUsd","walletAddress","transactionHash","userOpHash"]}},"meta":{"type":"object","properties":{"total":{"type":"number"}},"required":["total"]}},"required":["data","meta"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/bundler/sponsored-transactions/export":{"get":{"description":"Export sponsored transactions as CSV","tags":["Bundler"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"number","nullable":true,"description":"The chain ID","example":1},"required":false,"name":"chainId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"}],"responses":{"200":{"description":"Success","content":{"text/csv":{"schema":{"type":"string"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/bundler/fleet-transactions":{"get":{"description":"Get fleet transactions paginated (transactions from dedicated relayer)","tags":["Bundler","Fleet"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"Fleet ID in format fleet-{teamId}-{projectId} (used as paymaster identifier)","example":"fleet-team_cljxlboqq000p2a2zvy1kch4c-prj_cmigfus8z0dyz9y0kva9vg0qn"},"required":true,"name":"fleetId","in":"query"},{"schema":{"type":"number","nullable":true,"description":"Filter by chain ID","example":8453},"required":false,"name":"chainId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"number","nullable":true,"description":"The number of items to return","example":100,"maximum":1000},"required":false,"name":"limit","in":"query"},{"schema":{"type":"number","nullable":true,"description":"The number of items to skip"},"required":false,"name":"offset","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"timestamp":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"chainId":{"type":"string","description":"The chain ID","example":"8453"},"transactionFee":{"type":"number","description":"The transaction fee in wei","example":1230000000000000000},"transactionFeeUsd":{"type":"number","nullable":true,"description":"The transaction fee in USD","example":0.05},"walletAddress":{"type":"string","description":"The wallet address that initiated the transaction"},"transactionHash":{"type":"string","description":"The transaction hash confirming this transaction"}},"required":["chainId","transactionFee","transactionFeeUsd","walletAddress","transactionHash"]}},"meta":{"type":"object","properties":{"total":{"type":"number"}},"required":["total"]}},"required":["data","meta"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/bundler/fleet-transactions/summary":{"get":{"description":"Get fleet transactions summary (total count, gas spent, breakdown by chain)","tags":["Bundler","Fleet"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"Fleet ID in format fleet-{teamId}-{projectId} (used as paymaster identifier)","example":"fleet-team_cljxlboqq000p2a2zvy1kch4c-prj_cmigfus8z0dyz9y0kva9vg0qn"},"required":true,"name":"fleetId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"totalTransactions":{"type":"number","description":"Total number of transactions","example":1000},"totalGasSpentUsd":{"type":"number","description":"Total gas spent in USD","example":50.25},"transactionsByChain":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"string"},"count":{"type":"number"},"gasSpentUsd":{"type":"number"}},"required":["chainId","count","gasSpentUsd"]},"description":"Breakdown of transactions by chain"}},"required":["totalTransactions","totalGasSpentUsd","transactionsByChain"]}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/bundler/usage":{"get":{"description":"Fetches bundler usage by period","tags":["Bundler"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"chainId":{"type":"string","description":"The chain the user op was executed on","example":"1"},"successful":{"type":"number","nullable":true,"description":"The number of successful user ops for the period","example":100},"sponsored":{"type":"number","nullable":true,"description":"The number of sponsored user ops for the period","example":100},"failed":{"type":"number","nullable":true,"description":"The number of failed user ops for the period","example":100},"sponsoredUsd":{"type":"number","nullable":true,"description":"The amount of USD sponsored by the user ops","example":100},"gasUnits":{"type":"number","nullable":true,"description":"The total gas units consumed by sponsored transactions","example":1000000},"avgGasPrice":{"type":"number","nullable":true,"description":"The average gas price in wei for the period","example":50000000000}},"required":["chainId","successful","sponsored","failed","sponsoredUsd","gasUnits","avgGasPrice"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/insight/usage":{"get":{"description":"Fetches Insight data by period","tags":["Insight"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"limit","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"totalRequests":{"type":"number","nullable":true,"description":"Total number of requests","example":150}},"required":["totalRequests"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[401]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/insight/usage/by-chain":{"get":{"description":"Fetches Insight usage by chain and period","tags":["Insight"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"limit","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"chainId":{"type":"string","description":"Chain ID used in the request","example":"1"},"totalRequests":{"type":"number","nullable":true,"description":"Total number of requests for the given chain ID","example":150}},"required":["chainId","totalRequests"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[401]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/insight/usage/by-status-code":{"get":{"description":"Fetches Insight usage by status code and period","tags":["Insight"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"limit","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"httpStatusCode":{"type":"number","description":"HTTP status code of the request","example":200},"totalRequests":{"type":"number","nullable":true,"description":"Total number of requests for the given chain ID","example":150}},"required":["httpStatusCode","totalRequests"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[401]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/insight/usage/by-endpoint":{"get":{"description":"Fetches Insight usage by endpoint and period","tags":["Insight"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"limit","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"endpoint":{"type":"string","description":"Endpoint used in the request","example":"/v1/transactions"},"totalRequests":{"type":"number","nullable":true,"description":"Total number of requests for the given endpoint","example":150}},"required":["endpoint","totalRequests"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[401]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/engine-cloud/requests":{"get":{"description":"Fetches Engine Cloud request data by period","tags":["Engine Cloud"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"chainId":{"type":"string","description":"The chain ID of the request. May be empty for chain-agnostic paths.","example":"137"},"pathname":{"type":"string","description":"The pathname of the request","example":"/v1/write/transaction"},"totalRequests":{"type":"number","nullable":true,"description":"Total number of requests","example":150}},"required":["chainId","pathname","totalRequests"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/nebula/usage":{"get":{"description":"Fetches nebula data by period","tags":["Nebula"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"totalPromptTokens":{"type":"number","nullable":true,"description":"Total number of prompt tokens","example":1000},"totalCompletionTokens":{"type":"number","nullable":true,"description":"Total number of completion tokens","example":2000},"totalSessions":{"type":"number","nullable":true,"description":"Total number of sessions","example":50},"totalRequests":{"type":"number","nullable":true,"description":"Total number of requests","example":150}},"required":["totalPromptTokens","totalCompletionTokens","totalSessions","totalRequests"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/rpc/evm-methods":{"get":{"description":"Fetches EVM method usage by period","tags":["RPC"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"evmMethod":{"type":"string","description":"The EVM method used","example":"eth_sendTransaction"},"count":{"type":"number","nullable":true,"description":"The number of times the given EVM method was called","example":100}},"required":["evmMethod","count"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/rpc/usage-types":{"get":{"description":"Fetches RPC usage by usage type and period","tags":["RPC"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"usageType":{"type":"string","description":"The billing type for the RPC usage (included, overage, rate-limit)","example":"included"},"count":{"type":"number","nullable":true,"description":"The number of requests for this usage type","example":100}},"required":["usageType","count"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/rpc/24-hours":{"get":{"description":"Fetches combined RPC usage data for the last 24 hours","tags":["RPC"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"peakRate":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"peakRPS":{"type":"number","nullable":true,"description":"The peak rate in requests per second","example":100}},"required":["peakRPS"]},"averageRate":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"averageRate":{"type":"number","nullable":true,"description":"The average rate in requests per second","example":100},"peakRPS":{"type":"number","nullable":true,"description":"The peak rate in requests per second","example":100},"includedCount":{"type":"number","nullable":true,"description":"The number of included requests","example":100},"rateLimitedCount":{"type":"number","nullable":true,"description":"The number of rate-limited requests","example":100},"overageCount":{"type":"number","nullable":true,"description":"The number of overage requests","example":100}},"required":["averageRate","peakRPS","includedCount","rateLimitedCount","overageCount"]}},"totalCounts":{"type":"object","properties":{"includedCount":{"type":"number","nullable":true,"description":"The number of included requests","example":100},"rateLimitedCount":{"type":"number","nullable":true,"description":"The number of rate-limited requests","example":100},"overageCount":{"type":"number","nullable":true,"description":"The number of overage requests","example":100}},"required":["includedCount","rateLimitedCount","overageCount"]}},"required":["peakRate","averageRate","totalCounts"]}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/rpc/status-codes":{"get":{"description":"Fetches RPC status codes by period","tags":["RPC"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"statusCode":{"type":"number","description":"RPC status code","example":200},"count":{"type":"number","nullable":true,"description":"The number of times the given status code was returned","example":100}},"required":["statusCode","count"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[401]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/sdk/contract-transactions":{"get":{"description":"Fetches transactions by period","tags":["Transactions"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"chainId":{"type":"string","description":"The chain the transaction was executed on","example":"1"},"contractAddress":{"type":"string","description":"The contract address the transaction was executed on","example":"0x0000000000000000000000000000000000000000"},"count":{"type":"number","nullable":true,"description":"The number of transactions for the period","example":100},"uniqueWallets":{"type":"number","nullable":true,"description":"The number of unique wallets for the period","example":100}},"required":["chainId","count","uniqueWallets"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/sdk/wallet-connects/users":{"get":{"description":"Fetches wallet connect user statistics","tags":["Wallets"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"}],"responses":{"200":{"description":"Successfully fetched wallet user statistics","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"newUsers":{"type":"number","nullable":true,"description":"Number of new wallet addresses in this period","example":42},"returningUsers":{"type":"number","nullable":true,"description":"Number of returning wallet addresses in this period","example":158},"totalUsers":{"type":"number","nullable":true,"description":"Total number of unique wallet addresses in this period","example":200}},"required":["newUsers","returningUsers","totalUsers"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/sdk/wallet-connects":{"get":{"description":"Fetches wallet connections stats","tags":["Wallets"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"walletType":{"type":"string","description":"The wallet ID","example":"io.metamask"},"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"uniqueWalletsConnected":{"type":"number","nullable":true,"description":"The number of unique wallets connected for the period","example":100},"totalConnections":{"type":"number","nullable":true,"description":"The total number of connections for the period","example":1000}},"required":["walletType","uniqueWalletsConnected","totalConnections"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/wallet/list-otp-email":{"get":{"description":"List email OTP requests sent paginated","tags":["Wallets"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ecosystemSlug","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"},{"schema":{"type":"number","nullable":true,"description":"The number of items to return","example":100,"maximum":1000},"required":false,"name":"limit","in":"query"},{"schema":{"type":"number","nullable":true,"description":"The number of items to skip"},"required":false,"name":"offset","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"timestamp":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"emailMasked":{"type":"string","description":"Masked email address","example":"j***@example.com"},"emailDomain":{"type":"string","description":"Email domain","example":"example.com"}},"required":["emailMasked","emailDomain"]}}},"required":["data"]},"meta":{"_def":{"unknownKeys":"strip","catchall":{"_def":{"typeName":"ZodNever"}},"typeName":"ZodObject"},"_cached":null}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/wallet/list-otp-sms":{"get":{"description":"List SMS OTP requests sent paginated","tags":["Wallet"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string"},"required":false,"name":"ecosystemSlug","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"},{"schema":{"type":"number","nullable":true,"description":"The number of items to return","example":100,"maximum":1000},"required":false,"name":"limit","in":"query"},{"schema":{"type":"number","nullable":true,"description":"The number of items to skip"},"required":false,"name":"offset","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"timestamp":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"smsMasked":{"type":"string","description":"Masked SMS number","example":"+1*****1234"},"smsCountryCode":{"type":"string","description":"Country code of the SMS number","example":"US"}},"required":["smsMasked","smsCountryCode"]}},"meta":{"type":"object","properties":{"total":{"type":"number"},"totalByCountryCode":{"type":"array","items":{"type":"object","properties":{"smsCountryCode":{"type":"string"},"count":{"type":"number"}},"required":["smsCountryCode","count"]}}},"required":["total","totalByCountryCode"]}},"required":["data","meta"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/wallet/connects":{"get":{"description":"Fetches in-app/ecosystem wallet connections stats","tags":["Wallets"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","description":"thirdweb ecosystem slug","example":"my-customer-ecosystem"},"required":false,"name":"ecosystemSlug","in":"query"},{"schema":{"type":"string","description":"thirdweb ecosystem partner ID","example":"7a2547d8-18c4-4818-a246-e8ac299b6bfb"},"required":false,"name":"ecosystemPartnerId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"ecosystemPartnerId":{"type":"string","description":"The ecosystem partner ID","example":"7a2547d8-18c4-4818-a246-e8ac299b6bfb"},"authenticationMethod":{"type":"string","description":"The authentication method used","example":"email"},"uniqueWalletsConnected":{"type":"number","nullable":true,"description":"The number of unique wallets connected for the period","example":100},"newUsers":{"type":"number","nullable":true,"description":"The number of new users for the period","example":100}},"required":["uniqueWalletsConnected"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/storage/usage":{"get":{"description":"Fetches storage data by period","tags":["Storage"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"projectId":{"type":"string","description":"The project ID of the storage data","example":"prj_123"},"period":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"totalUploadedBytes":{"type":"number","nullable":true,"description":"Total bytes uploaded from the start of time to this period","example":1000}},"required":["totalUploadedBytes"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/webhook/requests":{"get":{"description":"Fetches Webhook request data by period","tags":["Webhook"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","description":"thirdweb webhook ID","example":"wh_123"},"required":false,"name":"webhookId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"webhookId":{"type":"string","description":"The ID of the webhook","example":"webhook_123"},"httpStatusCode":{"type":"number","nullable":true,"description":"The HTTP status code of the webhook request","example":200},"totalRequests":{"type":"number","nullable":true,"description":"Total number of webhook requests","example":150}},"required":["webhookId","httpStatusCode","totalRequests"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/webhook/latency":{"get":{"description":"Fetches webhook response latency metrics by period","tags":["Webhook"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","description":"thirdweb webhook ID","example":"wh_123"},"required":false,"name":"webhookId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"webhookId":{"type":"string","description":"The ID of the webhook","example":"webhook_123"},"p50LatencyMs":{"type":"number","nullable":true,"description":"50th percentile response latency in milliseconds","example":200},"p90LatencyMs":{"type":"number","nullable":true,"description":"90th percentile response latency in milliseconds","example":500},"p99LatencyMs":{"type":"number","nullable":true,"description":"99th percentile response latency in milliseconds","example":800},"totalRequests":{"type":"number","nullable":true,"description":"Total number of webhook requests in this time period","example":150}},"required":["webhookId","p50LatencyMs","p90LatencyMs","p99LatencyMs","totalRequests"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/webhook/summary":{"get":{"description":"Fetches webhook summary statistics","tags":["Webhook"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","description":"thirdweb webhook ID","example":"wh_123"},"required":false,"name":"webhookId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"webhookId":{"type":"string","description":"The ID of the webhook","example":"webhook_123"},"totalRequests":{"type":"number","nullable":true,"description":"Total number of webhook requests","example":1500},"successRequests":{"type":"number","nullable":true,"description":"Number of successful requests (2xx status codes)","example":1350},"errorRequests":{"type":"number","nullable":true,"description":"Number of error requests (4xx, 5xx status codes)","example":150},"successRate":{"type":"number","nullable":true,"description":"Success rate as a percentage (0-100)","example":90},"avgLatencyMs":{"type":"number","nullable":true,"description":"Average response latency in milliseconds","example":250},"errorBreakdown":{"type":"object","additionalProperties":{"type":"number","nullable":true},"description":"Breakdown of error requests by status code","example":{"400":50,"500":100}}},"required":["webhookId","totalRequests","successRequests","errorRequests","successRate","avgLatencyMs","errorBreakdown"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/universal":{"get":{"description":"Fetches Universal Bridge usage for a given period","tags":["Universal Bridge"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"chainId":{"type":"number","nullable":true},"status":{"type":"string"},"type":{"type":"string"},"count":{"type":"number","nullable":true},"amountUsdCents":{"type":"number","nullable":true},"developerFeeUsdCents":{"type":"number","nullable":true}},"required":["chainId","status","type","count","amountUsdCents","developerFeeUsdCents"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/universal/wallets":{"get":{"description":"Fetches Universal Bridge wallet usage for a given period","tags":["Universal Bridge"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"walletAddress":{"type":"string","description":"The wallet address","example":"0x1234567890123456789012345678901234567890"},"type":{"type":"string"},"chainId":{"type":"number","nullable":true},"amountUsdCents":{"type":"number","nullable":true},"developerFeeUsdCents":{"type":"number","nullable":true}},"required":["walletAddress","type","chainId","amountUsdCents","developerFeeUsdCents"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/x402/settlements":{"get":{"description":"Fetches X402 settlements data by period with optional grouping","tags":["X402"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"},{"schema":{"type":"string","enum":["overall","chainId","payer","receiver","resource","asset"],"default":"overall","description":"Group settlements by attribute","example":"chainId"},"required":false,"name":"groupBy","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"limit","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"totalRequests":{"type":"number","nullable":true,"description":"Total number of settlement requests","example":150},"totalValue":{"type":"number","nullable":true,"description":"Total value of settlements","example":1000000},"totalValueUSD":{"type":"number","nullable":true,"description":"Total value of settlements in USD","example":1000.5}},"required":["totalRequests","totalValue","totalValueUSD"]}},{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"chainId":{"type":"string","description":"Chain ID used in the settlement","example":"1"},"totalRequests":{"type":"number","nullable":true,"description":"Total number of settlement requests for the given chain ID","example":150},"totalValue":{"type":"number","nullable":true,"description":"Total value of settlements for the given chain ID","example":1000000},"totalValueUSD":{"type":"number","nullable":true,"description":"Total value of settlements in USD for the given chain ID","example":1000.5}},"required":["chainId","totalRequests","totalValue","totalValueUSD"]}},{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"payer":{"type":"string","description":"Payer address in the settlement","example":"0x1234567890abcdef1234567890abcdef12345678"},"totalRequests":{"type":"number","nullable":true,"description":"Total number of settlement requests for the given payer","example":150},"totalValue":{"type":"number","nullable":true,"description":"Total value of settlements for the given payer","example":1000000},"totalValueUSD":{"type":"number","nullable":true,"description":"Total value of settlements in USD for the given payer","example":1000.5}},"required":["payer","totalRequests","totalValue","totalValueUSD"]}},{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"receiver":{"type":"string","description":"Receiver address in the settlement","example":"0xabcdef1234567890abcdef1234567890abcdef12"},"totalRequests":{"type":"number","nullable":true,"description":"Total number of settlement requests for the given receiver","example":150},"totalValue":{"type":"number","nullable":true,"description":"Total value of settlements for the given receiver","example":1000000},"totalValueUSD":{"type":"number","nullable":true,"description":"Total value of settlements in USD for the given receiver","example":1000.5}},"required":["receiver","totalRequests","totalValue","totalValueUSD"]}},{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"resource":{"type":"string","description":"Resource used in the settlement","example":"resource-123"},"totalRequests":{"type":"number","nullable":true,"description":"Total number of settlement requests for the given resource","example":150},"totalValue":{"type":"number","nullable":true,"description":"Total value of settlements for the given resource","example":1000000},"totalValueUSD":{"type":"number","nullable":true,"description":"Total value of settlements in USD for the given resource","example":1000.5}},"required":["resource","totalRequests","totalValue","totalValueUSD"]}},{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The start date for an interval (in ISO 8601 format)","example":"2025-01-01T12:00:00Z"},"asset":{"type":"string","description":"Asset used in the settlement","example":"USDC"},"totalRequests":{"type":"number","nullable":true,"description":"Total number of settlement requests for the given asset","example":150},"totalValue":{"type":"number","nullable":true,"description":"Total value of settlements for the given asset","example":1000000},"totalValueUSD":{"type":"number","nullable":true,"description":"Total value of settlements in USD for the given asset","example":1000.5}},"required":["asset","totalRequests","totalValue","totalValueUSD"]}}]}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[401]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}},"/v2/active-usage":{"get":{"description":"Fetches active usage per product for this team and/or project","tags":["Active"],"security":[{"Bearer":[]}],"parameters":[{"schema":{"type":"string","description":"thirdweb team ID to fetch data for","example":"team_cljxksd5c00031d6l6vhz2aca"},"required":true,"name":"teamId","in":"query"},{"schema":{"type":"string","description":"thirdweb project ID","example":"proj_clkx9z3ip000axx0umlpk1ck9"},"required":false,"name":"projectId","in":"query"},{"schema":{"type":"string","default":"2026-09-21T18:39:58.322Z","description":"The start date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2023-01-01T00:00:00.000Z"},"required":false,"name":"from","in":"query"},{"schema":{"type":"string","default":"2026-10-21T18:39:58.322Z","description":"The end date of the period to fetch (YYYY-MM-DD or ISO 8601 datetime)","example":"2024-01-01T00:00:00.000Z"},"required":false,"name":"to","in":"query"},{"schema":{"type":"string","enum":["hour","day","week","month","year","all"],"default":"day","description":"The period to fetch","example":"day"},"required":false,"name":"period","in":"query"}],"responses":{"200":{"description":"Successfully fetched active usage","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"bundler":{"type":"boolean","nullable":true,"description":"Whether there was active bundler usage in this period","example":true},"storage":{"type":"boolean","nullable":true,"description":"Whether there was active storage usage in this period","example":true},"rpc":{"type":"boolean","nullable":true,"description":"Whether there was active rpc usage in this period","example":true},"nebula":{"type":"boolean","nullable":true,"description":"Whether there was active nebula usage in this period","example":true},"sdk":{"type":"boolean","nullable":true,"description":"Whether there was active sdk usage in this period","example":true},"insight":{"type":"boolean","nullable":true,"description":"Whether there was active insight usage in this period","example":true},"inAppWallet":{"type":"boolean","nullable":true,"description":"Whether there was active in-app wallet usage in this period","example":true},"ecosystemWallet":{"type":"boolean","nullable":true,"description":"Whether there was active ecosystem wallet usage in this period","example":true},"pay":{"type":"boolean","nullable":true,"description":"Whether there was active pay usage in this period","example":true},"engineCloud":{"type":"boolean","nullable":true,"description":"Whether there was active engine cloud usage in this period","example":true},"webhook":{"type":"boolean","nullable":true,"description":"Whether there was active webhook usage in this period","example":true}}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[400]},"message":{"type":"string"}},"required":["code","message"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"number","enum":[500]},"message":{"type":"string"}},"required":["code","message"]}}}}}}}}}