{"uid":"cap_sU8xq69UqgMgS4RHnafWX","slug":"mining-pool-metric-imports-trimmed-typed-conversion-38df28de","name":"Mining Pool Metric Imports — Trimmed Typed Conversion","description":"Mining pool metric imports — Trimmed typed conversion: Trimmed typed conversion for Mining pool metric imports. Validate a declared CSV table contract, up to 1000 rows. Quoted cells supported; no external enrichment. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one CSV trimmed typed conversion report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-pool-metrics-normalise?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"observation_id,observed_on,pool_id,hashrate_ths,reported_reward_btc\nrecord-a,2026-01-01,group-a,10,2\nrecord-b,2026-01-02,group-b,20,3","maxLength":100000,"minLength":1},"maximum":{"type":"number","default":1000000000000,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":-1000000000000,"maximum":1000000000000,"minimum":-1000000000000},"delimiter":{"enum":[",",";","\t"],"type":"string","default":","},"max_cell_length":{"type":"integer","default":1000,"maximum":5000,"minimum":1},"allowed_categories":{"type":"array","items":{"type":"string","default":"","maxLength":100,"minLength":1},"default":["group-a","group-b"],"maxItems":100,"minItems":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DmN67O2aMnGz2IWSs0iKr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and normalizes a CSV of mining pool metrics (hashrate, rewards, pool IDs) with trimmed typed conversion, enforcing declared schema contracts up to 1000 rows.","exampleAgentPrompt":"Can you validate and type-convert my mining pool metrics CSV — it uses comma delimiters, has pool IDs limited to group-a and group-b, numeric values should stay between -1000000000000 and 1000000000000, and here's the data: 'observation_id,observed_on,pool_id,hashrate_ths,reported_reward_btc\\nrecord-a,2026-01-01,group-a,10,2\\nrecord-b,2026-01-02,group-b,20,3'?","exampleUseCases":[{"title":"Validate imported pool hashrate data","prompt":"I've got a CSV of mining pool observations with columns for observation_id, date, pool_id, hashrate_ths, and reported_reward_btc — can you run a trimmed typed conversion on it to make sure all the values are properly typed and within range? The pool IDs should only be group-a or group-b, and the delimiter is a comma."},{"title":"Enforce category constraints on pool IDs","prompt":"Before I import this mining metrics CSV into our pipeline, can you validate it against our allowed pool categories — only 'pool-north' and 'pool-south' are valid — and flag any rows where the pool_id is something else? Use comma as delimiter and cap cell length at 500 characters."},{"title":"Pre-ingestion reward range check","prompt":"I need to sanity-check our monthly BTC reward CSV from the mining pool — values for reported_reward_btc should be between 0 and 1000, and hashrate_ths should never exceed 500. Can you run a typed conversion report on it with semicolon delimiters?"}],"resultDescription":"Returns a trimmed typed conversion report for the submitted CSV, including type-coerced cell values, validation pass/fail status per row, and any constraint violations (out-of-range numerics, disallowed category values, malformed cells), covering up to 1000 rows.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows submitted — validation truncated or rejected","Invalid delimiter specified outside allowed enum values","Numeric value outside declared min/max bounds flagged as violation","Cell length exceeds max_cell_length setting — cell rejected","Malformed quoted cells cause parse errors","allowed_categories list empty but category values present — all categories pass"],"whenToPreferThis":"Choose this endpoint when you need to validate and type-normalize structured CSV data specifically for mining pool metrics (hashrate, pool IDs, BTC rewards) before ingestion, especially when you need category allow-listing, numeric range enforcement, and trimmed typed output in a single low-cost call. Prefer this over generic CSV validators when your schema matches the mining pool domain (observation_id, pool_id, hashrate_ths, reported_reward_btc columns).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:39:28.661Z","isFirstParty":false,"canonicalSlug":"mining-pool-metric-imports-trimmed-typed-conversion-38df28de"}