{"uid":"cap_waXmxP-2rfdpb5DETwv_A","slug":"mining-share-aggregates-category-allowlist-check-13da0335","name":"Mining Share Aggregates — Category Allowlist Check","description":"Mining share aggregates — Category allowlist check: Category allowlist check for Mining share aggregates. 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 category allowlist check report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-mining-shares-categories?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"observation_id,observed_on,worker_id,accepted_shares,rejected_shares\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_k8kMKt7CJZmO1E9bT9dRK","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 table of mining share aggregate data by checking that all category values fall within a declared allowlist of permitted category strings.","exampleAgentPrompt":"Can you validate my mining share aggregates CSV to make sure every worker_id value is in the allowed list — the permitted categories are group-a, group-b, and group-c — using a comma delimiter?","exampleUseCases":[{"title":"Mining pool worker group audit","prompt":"I have a CSV export of our mining pool's accepted and rejected shares by worker group. Can you check that every worker_id in it only belongs to our approved groups — 'pool-east', 'pool-west', and 'pool-backup' — and flag any rows with unknown categories?"},{"title":"Pre-ingestion data quality gate","prompt":"Before I load this mining share aggregates CSV into our database, please run a category allowlist check to confirm all the group entries are only 'rig-alpha' or 'rig-beta'. The file uses comma delimiters and cells shouldn't exceed 500 characters."},{"title":"Compliance validation for mining report","prompt":"We need to validate our quarterly mining shares report CSV — the only permitted worker categories are 'us-east-1', 'eu-west-2', and 'ap-south-3'. Can you check the whole table and give me a report on any rows that have invalid category values?"}],"resultDescription":"Returns a category allowlist check report indicating whether all category values in the CSV fall within the declared allowed_categories list, identifying any rows or cells containing disallowed category strings, for up to 1000 rows with quoted cell support.","failureModes":["CSV exceeds 100,000 character limit — request rejected","Row count exceeds 1000 row limit — validation may be truncated or rejected","Invalid delimiter specified — only comma, semicolon, or tab are accepted","allowed_categories array exceeds 100 items — request rejected","Individual cell exceeds max_cell_length — flagged or rejected","Malformed CSV syntax that cannot be parsed — error returned","Empty CSV input — validation fails with empty input error"],"whenToPreferThis":"Choose this endpoint when you need to validate that categorical string columns in a mining share aggregates CSV conform to a declared set of permitted values, especially for data pipeline quality gates, compliance checks on worker/group identifiers, or pre-ingestion validation of mining pool exports. It is purpose-built for the mining shares domain schema (observation_id, observed_on, worker_id, accepted_shares, rejected_shares) and avoids external enrichment for deterministic, auditable results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:47:58.793Z","isFirstParty":false,"canonicalSlug":"mining-share-aggregates-category-allowlist-check-13da0335"}