{"uid":"cap_0oEkURIIu2ObkGbw5JyqA","slug":"subscription-imports-declared-column-projection-feea721a","name":"Subscription Imports — Declared Column Projection","description":"Subscription imports — Declared column projection: Declared column projection for Subscription 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 declared column projection report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-subscriptions-projection?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"subscription_id,started_on,plan_id,monthly_amount,seat_count\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_ztQDD-fNZKxQVYkRNBjBX","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 declared CSV contract for subscription import data, checking columns, values, and structure against configured rules for up to 1000 rows.","exampleAgentPrompt":"Can you validate this subscription import CSV — it uses comma delimiters, columns are subscription_id, started_on, plan_id, monthly_amount, seat_count, and the allowed plan categories are group-a and group-b? Make sure values are between 0 and 500000 and no cell exceeds 1000 characters.","exampleUseCases":[{"title":"Pre-import subscription data quality check","prompt":"I have a CSV of new customer subscriptions with columns subscription_id, started_on, plan_id, monthly_amount, and seat_count — can you validate it against our contract rules, with comma delimiters, allowed categories group-a and group-b, and monthly_amount between 0 and 10000?"},{"title":"Catch bad plan categories before billing sync","prompt":"Before we sync to billing, validate this subscription CSV and flag any rows where the plan_id isn't in the allowed list of group-a or group-b — the file is comma-delimited and has up to 500 rows."},{"title":"Enforce cell length and value bounds on import file","prompt":"Please run a declared column projection on this subscription import CSV — I need to make sure no cell is longer than 500 characters and all monthly_amount values are between 5 and 999999, using a tab delimiter."}],"resultDescription":"Returns a declared column projection report indicating whether the submitted CSV meets the defined contract: valid/invalid status per column, rows processed, any out-of-range numeric values, disallowed category values, and cell length violations — covering up to 1000 rows.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows submitted — only first 1000 may be processed or error returned","Invalid delimiter value (not comma, semicolon, or tab) — schema validation error","Cell exceeds max_cell_length — validation failure flagged in report","Numeric values outside minimum/maximum bounds — reported as out-of-range","Disallowed category values not in allowed_categories list — flagged in report","Malformed CSV with unmatched quotes — parse error returned"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.01 USDC) server-side validation of a subscription-domain CSV against a declared column contract — especially when you need to enforce allowed categorical values, numeric bounds, cell length limits, and column presence before importing into a billing or subscription system. Prefer this over generic CSV validators when your data includes subscription-specific fields like plan_id, seat_count, and monthly_amount and you want a structured report rather than just a parse check.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:57:16.038Z","isFirstParty":false,"canonicalSlug":"subscription-imports-declared-column-projection-feea721a"}