{"uid":"cap_GwEWJajdwEcxpQJqu6OHq","slug":"campaign-imports-csv-whitespace-audit-549d00b1","name":"Campaign Imports CSV Whitespace Audit","description":"Campaign imports — Whitespace audit: Whitespace audit 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 whitespace audit report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-campaigns-whitespace?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__xoz0jn4l9mgYkd5M8noG","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 of campaign import data for whitespace issues, checking up to 1000 rows with configurable delimiters and cell constraints.","exampleAgentPrompt":"Can you run a whitespace audit on my campaign import CSV? It has columns campaign_id, reported_on, channel_id, spend_amount, and attributed_revenue — use a comma delimiter, max cell length of 1000, and allowed categories are group-a and group-b.","exampleUseCases":[{"title":"Pre-upload campaign data quality check","prompt":"Before I push this campaign CSV into our data warehouse, can you audit it for whitespace issues? The file uses comma delimiters, has columns campaign_id, reported_on, channel_id, spend_amount, and attributed_revenue, and the valid channel categories are group-a, group-b, and group-c."},{"title":"Validating agency-supplied campaign file","prompt":"Our agency sent over a campaign import CSV and I want to make sure there are no whitespace problems before we process it — it's semicolon-delimited, cells shouldn't exceed 500 characters, and valid categories are paid-search and display."},{"title":"Automated CI check for campaign data pipeline","prompt":"As part of our pipeline, run a whitespace audit on this campaign CSV with tab delimiter and allowed categories of social, email, and organic — flag any rows where whitespace would break our import contract."}],"resultDescription":"A whitespace audit report covering up to 1000 rows of the submitted campaign CSV, identifying cells with leading/trailing or embedded whitespace issues, validated against the declared column contract, delimiter, max cell length, and allowed category values.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows submitted — validation may be truncated or refused","Invalid delimiter specified — must be comma, semicolon, or tab","Cell exceeds max_cell_length — flagged as violation","Malformed CSV with unmatched quotes — parse error returned","Empty CSV string submitted — validation fails immediately"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.01 USDC) pre-import whitespace validation pass specifically for campaign data CSVs with known columns (campaign_id, reported_on, channel_id, spend_amount, attributed_revenue). It is purpose-built for the campaign imports domain with configurable category allowlists and cell length limits, making it ideal for pipeline gates or pre-upload QA checks where whitespace defects would break downstream ingestion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:30.756Z","isFirstParty":false,"canonicalSlug":"campaign-imports-csv-whitespace-audit-549d00b1"}