{"uid":"cap_57ZTDjOpO88gRAHq09K97","slug":"api-usage-imports-csv-cell-length-audit-5525e1ef","name":"API Usage Imports — CSV Cell Length Audit","description":"API usage imports — Cell length audit: Cell length audit for API 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 cell length audit report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-api-usage-length?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"usage_id,observed_on,endpoint_id,request_count,error_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_1LE4xBnSk9rYORDmf5j-s","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 cell length constraints across all columns in a CSV of API usage import records, flagging any cells that exceed a specified maximum character length.","exampleAgentPrompt":"Can you audit my API usage import CSV for cell length violations — use a max cell length of 200 characters, comma delimiter, and flag anything that goes over? Here's the CSV: usage_id,observed_on,endpoint_id,request_count,error_count\\nrecord-a,2026-01-01,group-a,10,2","exampleUseCases":[{"title":"Pre-import CSV quality gate","prompt":"Before I load this API usage CSV into our data warehouse, can you check that none of the cells exceed 500 characters? Use a comma delimiter and let me know which rows or cells are too long."},{"title":"Enforce category and length rules","prompt":"I need to validate my usage import file — make sure all endpoint_id values are either 'group-a' or 'group-b', and that no cell is longer than 300 characters. Here's the CSV with comma separators."},{"title":"Audit tab-separated usage export","prompt":"I exported our API usage data as a tab-separated file and I want to make sure every cell is under 150 characters before I share it with the team — can you run a cell length audit on it?"}],"resultDescription":"Returns a cell length audit report identifying which rows and cells in the submitted CSV exceed the specified max_cell_length, along with summary statistics on cell lengths across the dataset. Up to 1000 rows are supported per call.","failureModes":["CSV exceeds 100,000 character limit — request rejected","CSV has fewer than 1 character — validation error","max_cell_length out of allowed range (1–5000) — parameter error","Delimiter not one of comma, semicolon, or tab — schema validation failure","More than 100 allowed_categories supplied — parameter error","Malformed CSV (unclosed quotes, inconsistent columns) — parsing error"],"whenToPreferThis":"Choose this endpoint when you need to enforce character-length constraints on cells in an API usage CSV before importing or sharing the data. It is purpose-built for API usage import tables (with fields like usage_id, endpoint_id, request_count) and supports quoted cells, configurable delimiters, and category allow-listing in a single call for $0.01 USDC. Prefer it over generic CSV validators when the audit focus is specifically cell length compliance rather than schema inference, type checking, or statistical profiling.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:47:32.441Z","isFirstParty":false,"canonicalSlug":"api-usage-imports-csv-cell-length-audit-5525e1ef"}