{"uid":"cap_GeWx4VRrg3TOLIy__ZjvR","slug":"mining-pool-metric-imports-csv-header-contract-check-837448ed","name":"Mining Pool Metric Imports — CSV Header Contract Check","description":"Mining pool metric imports — Header contract check: Header contract check 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 header contract check report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-pool-metrics-schema?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_nv7oFOOW_p0FPr0HIU5dL","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 a CSV file's header contract for mining pool metric imports, checking structure, cell constraints, and category allowlists for up to 1000 rows.","exampleAgentPrompt":"Can you validate this mining pool metrics CSV to make sure the headers and data match the expected contract — it uses comma delimiters, cells up to 500 characters, numeric values between 0 and 1000000, and only allows pool categories 'group-a' and 'group-b'?","exampleUseCases":[{"title":"Pre-import schema check for pool data","prompt":"Before I import this CSV of mining pool hashrate and reward data into our system, can you run a header contract check on it to confirm the columns are correct, the delimiter is a comma, values stay between 0 and 500000000000, and the only allowed pool categories are 'pool-alpha' and 'pool-beta'?"},{"title":"Automated data pipeline validation","prompt":"I need to validate a mining pool metrics CSV as part of our nightly pipeline — please check the header contract using a tab delimiter, max cell length of 200 characters, numeric range from -1000 to 1000000000, and allowed categories 'us-east' and 'eu-west'."},{"title":"Catching bad category values in uploaded CSVs","prompt":"A user just uploaded a pool metrics CSV and I want to make sure it only contains the categories 'main-pool' and 'backup-pool' — can you run a header contract check with comma delimiter and flag anything outside those allowed categories?"}],"resultDescription":"Returns a structured header contract check report indicating whether the CSV passes validation, including details on header structure conformance, any rows exceeding cell length limits, numeric values outside the specified range, disallowed category values, and a summary of row and error counts.","failureModes":["CSV exceeds 1000-row limit — validation rejected","CSV string is empty or missing — request fails","Delimiter mismatch causes incorrect column parsing","max_cell_length set below actual cell content — false failures","allowed_categories list is empty but data contains categories — all flagged invalid","CSV is malformed or unquoted cells contain delimiter characters — parsing errors"],"whenToPreferThis":"Choose this endpoint when you need to validate the header contract and structural integrity of a CSV file containing mining pool metrics (hashrate, reward, pool ID, observation date) before importing or processing it. It is purpose-built for this domain with support for quoted cells, configurable delimiters, numeric range checks, and category allowlists — making it more appropriate than a generic CSV validator when mining pool-specific schema conformance is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:47:33.905Z","isFirstParty":false,"canonicalSlug":"mining-pool-metric-imports-csv-header-contract-check-837448ed"}