{"uid":"cap_Kl_gAHBrVyOnZuRoQ7iSk","slug":"course-grade-imports-valid-row-export-ef9d352b","name":"Course Grade Imports — Valid Row Export","description":"Course grade imports — Valid row export: Valid row export for Course grade 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 valid row export report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-grades-valid-rows?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"result_id,graded_on,course_id,earned_points,possible_points\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_HwOXwrfHYmlLetcsG47-t","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 CSV file of course grade records and returns a report of all valid rows, checking column contracts, numeric ranges, category membership, and cell length constraints.","exampleAgentPrompt":"Can you validate my course grade CSV and export only the valid rows? The file uses comma delimiters, earned points should be between 0 and 100, and only course categories 'group-a' and 'group-b' are allowed — here's the CSV: result_id,graded_on,course_id,earned_points,possible_points\\nrecord-a,2026-01-01,group-a,85,100.","exampleUseCases":[{"title":"Pre-import grade file sanity check","prompt":"Before I upload this semester's grade records to our LMS, can you run the CSV through validation and give me back only the rows that pass? Categories are 'math-101' and 'eng-201', points should be between 0 and 500, and I'm using a comma delimiter."},{"title":"Catching bad rows in student score exports","prompt":"I exported student scores from our grading tool and I suspect there are some bad rows — can you validate this CSV and return just the valid ones? Allowed course IDs are 'bio-a', 'bio-b', 'chem-a', points range 0 to 1000, comma-separated."},{"title":"Automated grade pipeline data quality gate","prompt":"As part of our nightly grade sync, validate this CSV of course grade records and export only the rows that pass all checks — use semicolon as delimiter, max cell length 200, allowed categories are 'spring-cohort' and 'fall-cohort', and points must be between 0 and 150."}],"resultDescription":"A structured report listing all rows from the input CSV that pass every declared validation rule — including correct column headers, values within the specified numeric min/max range, cell lengths under the configured limit, and course_id values matching the allowed_categories list. Invalid rows are excluded from the export output.","failureModes":["CSV exceeds 100,000 character limit — request rejected","CSV has fewer than 1 or is empty — validation fails","Cell values exceed max_cell_length threshold — those rows excluded","course_id values not in allowed_categories — rows flagged invalid","Numeric columns outside min/max bounds — rows excluded","Malformed CSV that cannot be parsed — error returned","More than 1000 rows in CSV — may be truncated or rejected per contract limit"],"whenToPreferThis":"Choose this endpoint when you need to validate a course grade CSV against a declared column contract and receive back only the conforming rows, particularly when working with up to 1000 rows of grade records that need category allowlist enforcement, numeric range validation, and cell-length checks before import into a downstream system. It is purpose-built for grade import pipelines rather than generic CSV validators.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:08:44.359Z","isFirstParty":false,"canonicalSlug":"course-grade-imports-valid-row-export-ef9d352b"}