{"uid":"cap_JIvNNDdLJYyXTvilMMl24","slug":"campaign-imports-csv-validation-summary-8b6a9d54","name":"Campaign Imports — CSV Validation Summary","description":"Campaign imports — Validation summary: Validation summary for Campaign 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 validation summary report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-campaigns-summary?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"campaign_id,reported_on,channel_id,spend_amount,attributed_revenue\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_zwxmw0hUgofwyPOwOqGBj","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 campaign import CSV (up to 1000 rows) against declared contract rules and returns a structured validation summary report.","exampleAgentPrompt":"Can you validate this campaign import CSV for me — it has columns campaign_id, reported_on, channel_id, spend_amount, and attributed_revenue — and make sure spend amounts are between 0 and 500000 and all channel_id values are either 'paid-search' or 'display'? Use a comma delimiter and flag any cells over 500 characters.","exampleUseCases":[{"title":"Pre-upload campaign data quality check","prompt":"Before I upload this week's campaign performance file, can you run a validation summary on it? It's comma-delimited with columns campaign_id, reported_on, channel_id, spend_amount, and attributed_revenue — spend should be between 0 and 100000 and channel_id must be one of 'email', 'social', or 'search'."},{"title":"Catch invalid channel categories in ad data","prompt":"I've got a CSV of campaign imports and I need to make sure every row in the channel_id column is one of 'group-a', 'group-b', or 'group-c' — can you validate it and give me a summary of any rows that fail that check?"},{"title":"Validate semicolon-delimited campaign attribution file","prompt":"This campaign attribution file uses semicolons as delimiters instead of commas — can you validate it against these rules: spend_amount must be between -500 and 999999, channel_id must be 'affiliate' or 'referral', and no cell should exceed 200 characters? Give me a full validation summary."}],"resultDescription":"A structured validation summary report covering the parsed CSV: total row count processed (up to 1000), per-column constraint violations (numeric out-of-range, cell length exceeded, disallowed category values), and an overall pass/fail status — without any external enrichment or data lookups.","failureModes":["CSV exceeds 100000 character limit — request rejected","More than 1000 rows submitted — only first 1000 evaluated or error returned","Delimiter mismatch causing misparse of columns","Numeric columns contain non-numeric strings causing constraint check failures","allowed_categories list exceeds 100 entries — validation error","Empty CSV input (minLength:1 violated) — request rejected"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, self-contained validation of a campaign import CSV file against declared rules (numeric bounds, category allowlists, cell length limits) without any external data enrichment. Ideal for pre-upload quality gates in marketing data pipelines handling standard campaign attribution schemas (campaign_id, channel_id, spend_amount, attributed_revenue).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:50.867Z","isFirstParty":false,"canonicalSlug":"campaign-imports-csv-validation-summary-8b6a9d54"}