{"uid":"cap_ZttystF7XtYzRVRhjFgWD","slug":"cloud-usage-imports-invalid-row-export-9f018c68","name":"Cloud Usage Imports — Invalid Row Export","description":"Cloud usage imports — Invalid row export: Invalid row export 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 invalid row export report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-cloud-usage-invalid-rows?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_GeATdxH-qQ9_4fhQqem2A","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 cloud usage CSV file and returns a report of all invalid rows that fail defined constraints","exampleAgentPrompt":"Check my cloud usage CSV for invalid rows — use a comma delimiter, flag any billed_amount outside 0 to 1000000, and only allow resource categories 'group-a' and 'group-b'. Here's the CSV: 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-x,20,9999999","exampleUseCases":[{"title":"Finance team pre-import data check","prompt":"Before we upload next month's cloud usage report, scan this CSV for any rows where billed_amount falls outside 0 to 500000 or where the resource_id isn't one of 'compute', 'storage', or 'network' — give me a list of all the bad rows so we can fix them first."},{"title":"Automated billing pipeline validation","prompt":"As part of our nightly billing pipeline, validate this cloud usage CSV with a semicolon delimiter, max cell length of 500, and flag any rows where used_units or billed_amount go below 0 or above 1000000 — export just the invalid rows so we can route them for manual review."},{"title":"Audit unusual usage records","prompt":"I've got a cloud usage import file and I need to know which rows have resource categories outside of 'prod-us', 'prod-eu', and 'dev' — run the invalid row export so I can audit those records before they hit our cost allocation system."}],"resultDescription":"A report identifying all rows in the submitted cloud usage CSV that fail the declared constraints, including rows with values outside the specified numeric minimum/maximum range, cells exceeding the max cell length, or resource categories not in the allowed list. Up to 1000 rows are evaluated per call.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows submitted — only first 1000 evaluated or error returned","Malformed CSV that cannot be parsed — parsing error returned","Invalid delimiter specified — validation fails","Minimum value greater than maximum value — constraint conflict error"],"whenToPreferThis":"Use this endpoint when you need to pre-validate a cloud usage CSV file before importing it into a billing or reporting system, specifically to identify and export rows that violate numeric range constraints, category allowlists, or cell length limits. Prefer this over generic CSV validators when the schema matches cloud usage imports (usage_id, reported_on, resource_id, used_units, billed_amount) and you need a structured invalid-row report rather than a simple pass/fail.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:17:26.412Z","isFirstParty":false,"canonicalSlug":"cloud-usage-imports-invalid-row-export-9f018c68"}