{"uid":"cap_bPY5GdfGxeWIK6g6ivQTL","slug":"cloud-usage-imports-csv-trimmed-typed-conversion-7d1aa8a8","name":"Cloud Usage Imports CSV Trimmed Typed Conversion","description":"Cloud usage imports — Trimmed typed conversion: Trimmed typed conversion for Cloud usage 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 trimmed typed conversion report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-cloud-usage-normalise?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"usage_id,reported_on,resource_id,used_units,billed_amount\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_AX6nKwhxI8X23Frii-V5Q","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 and normalizes a cloud usage CSV table by trimming and type-converting up to 1000 rows, enforcing column contracts, numeric bounds, and allowed category lists.","exampleAgentPrompt":"Can you validate this cloud usage CSV — it has columns usage_id, reported_on, resource_id, used_units, billed_amount — using a comma delimiter, max 1000 chars per cell, and only allow categories group-a and group-b, with billed_amount between 0 and 1000000?","exampleUseCases":[{"title":"Pre-import cloud billing file check","prompt":"Before we import this month's cloud billing CSV into our system, can you validate it — comma-separated, columns usage_id, reported_on, resource_id, used_units, billed_amount — and make sure all used_units are between 0 and 500000 and only resources tagged group-a or group-b are present?"},{"title":"Automated cloud cost report validation","prompt":"Every time a new cloud cost report CSV arrives, I need you to run it through the trimmed typed conversion check: comma delimiter, max cell length 500, billed_amount must be between -100 and 999999, and only allow categories prod, staging, and dev."},{"title":"Detect bad rows in usage export","prompt":"I have a tab-separated cloud usage export with up to 800 rows — can you validate and type-convert it, flag any cells over 200 characters, and make sure numeric values stay between 0 and 1000000000?"}],"resultDescription":"A trimmed typed conversion report covering up to 1000 CSV rows: each row's cells are whitespace-trimmed, type-converted (numbers parsed as numbers, dates as dates), validated against the allowed categories list, and checked against min/max numeric bounds and max cell length. The report identifies rows or cells that fail validation along with the nature of each failure.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows in CSV — rows beyond limit ignored or rejected","Cell value exceeds max_cell_length — validation error returned for that cell","Numeric value outside minimum/maximum bounds — flagged in report","Category value not in allowed_categories list — flagged in report","Malformed CSV (unmatched quotes, wrong delimiter) — parse error returned","Empty CSV string — input rejected with minLength error"],"whenToPreferThis":"Choose this endpoint when you need to validate and type-convert a cloud usage or billing CSV before ingestion — specifically when you need to enforce numeric bounds, category allow-lists, cell length limits, and whitespace trimming in a single pass. It is purpose-built for cloud usage import schemas (usage_id, resource_id, used_units, billed_amount columns) and supports quoted cells. Prefer it over generic CSV validators when you need typed conversion combined with domain-specific cloud usage field contracts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:44.036Z","isFirstParty":false,"canonicalSlug":"cloud-usage-imports-csv-trimmed-typed-conversion-7d1aa8a8"}