{"uid":"cap_-2lkbjl9_KjAvBnNZhrM1","slug":"prediction-result-imports-record-key-uniqueness-validator-3c62df9a","name":"Prediction Result Imports — Record Key Uniqueness Validator","description":"Prediction result imports — Record key uniqueness: Record key uniqueness for Prediction result 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 record key uniqueness report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-predictions-keys?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"prediction_id,predicted_on,model_id,probability,latency_ms\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_xqV3FpNPWVxlcM8BfCVqh","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 that all record keys in a CSV of prediction result imports are unique, returning a uniqueness report for up to 1000 rows.","exampleAgentPrompt":"Check this predictions CSV for duplicate record keys before I import it — use a comma delimiter and flag any rows where prediction_id appears more than once: 'prediction_id,predicted_on,model_id,probability,latency_ms\\nrecord-a,2026-01-01,group-a,10,2\\nrecord-b,2026-01-02,group-b,20,3'","exampleUseCases":[{"title":"Pre-import duplicate ID check","prompt":"Before I push this batch of model predictions into the database, check the CSV for any duplicate prediction_id keys — here's the data with comma delimiters and categories group-a and group-b: 'prediction_id,predicted_on,model_id,probability,latency_ms\\nrecord-a,2026-01-01,group-a,10,2\\nrecord-b,2026-01-02,group-b,20,3'"},{"title":"Data pipeline quality gate","prompt":"I'm building an automated ML pipeline and need to validate that every record key in this prediction results CSV is unique before the next stage runs — can you check this CSV with tab delimiter and tell me if there are any key conflicts?"},{"title":"Audit prediction export uniqueness","prompt":"We exported predictions from our model serving system and I need to confirm there are no duplicate record keys in the CSV before we hand it off to the analytics team — run a record key uniqueness check on this file using a semicolon delimiter."}],"resultDescription":"A CSV record key uniqueness report indicating whether all record keys are unique, identifying any duplicate keys found across up to 1000 rows, along with any validation errors related to cell length, allowed categories, or value range constraints.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows in CSV — only up to 1000 rows validated","Invalid delimiter specified (must be comma, semicolon, or tab)","Cell length exceeds max_cell_length setting — cell flagged or rejected","Category values not in allowed_categories list — validation failure","Malformed CSV with unmatched quotes — parsing error returned","Empty CSV input — validation cannot proceed"],"whenToPreferThis":"Use this endpoint when you need a lightweight, low-cost ($0.01 USDC) uniqueness check specifically for prediction result import CSVs, especially when you want a structured report before committing data to a store. Prefer this over generic CSV validators when your data follows the prediction_id/model_id/probability schema and you need enforcement of allowed categories and value ranges alongside key uniqueness.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T00:53:16.539Z","isFirstParty":false,"canonicalSlug":"prediction-result-imports-record-key-uniqueness-validator-3c62df9a"}