{"uid":"cap_xa82a5fWkxEBsrusfIR5H","slug":"delx-commerce-csv-select-columns-8e101862","name":"Delx Commerce — CSV Select Columns","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/csv-select-columns?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":8192,"description":"Text supplied to CSV Select Columns; used only for this bounded calculation and processed in memory without retention."},"columns":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Columns supplied to CSV Select Columns; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"csv":"id,name\n1,Ada","missing_columns":[]},"schema":"delx/util-csv-select-columns/v1","status":"pass","evidence":{"retained":false,"input_sha256":"d19e782e6b173d1489b6e605e278b382ef74b15f275dee76c0dc4c423a5764a3","external_calls":0},"operation":"data_batch:csv_select_columns"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jWobBMq8B4XUqyD1OlQDQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Filters a CSV text to retain only the specified columns, returning the trimmed CSV and a list of any missing columns.","exampleAgentPrompt":"Take this CSV text and give me back only the 'id', 'name', and 'email' columns — drop everything else and let me know if any of those columns are missing from the data.","exampleUseCases":[{"title":"Trim report CSV for downstream pipeline","prompt":"I have a big CSV export from our CRM with 30 columns. I only need 'customer_id', 'email', and 'signup_date' for my next processing step — can you strip out everything else and tell me if any of those columns are missing?"},{"title":"Prepare agent output for display","prompt":"My agent produced a CSV with tons of internal fields. Please keep only 'product_name', 'price', and 'stock_qty' columns and return the cleaned CSV so I can show it to the user."},{"title":"Validate expected columns exist in upload","prompt":"A user uploaded this CSV and I need to check it has 'order_id', 'amount', and 'status' columns — can you select just those columns and flag any that are absent?"}],"resultDescription":"Returns a JSON object with a 'result' field containing the filtered CSV string (only the requested columns) and a 'missing_columns' array listing any requested column names not found in the input. Also includes an evidence block confirming no data was retained or sent to external services, plus an input SHA-256 hash for verifiability.","failureModes":["Input CSV exceeds 8192 character limit — request will be rejected","Column name array exceeds 256 items — request will be rejected","Malformed CSV text that cannot be parsed — may return empty or incorrect output","All requested columns are missing — returns empty CSV with all columns listed in missing_columns","Payment not fulfilled via x402 — 402 response returned before processing"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call, no-signup CSV column filter with cryptographically verifiable processing evidence. Ideal for AI agents that handle untrusted or ad-hoc CSV data and need a guaranteed stateless operation (no retention) with a fixed $0.001 USDC cost settled on-chain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:59.934Z","isFirstParty":false,"canonicalSlug":"delx-commerce-csv-select-columns-8e101862"}