{"uid":"cap_4UWGI2XcMtbcjSk8hxkKG","slug":"course-grade-imports-csv-trimmed-typed-conversion-cf71a45f","name":"Course Grade Imports — CSV Trimmed Typed Conversion","description":"Course grade imports — Trimmed typed conversion: Trimmed typed conversion 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 trimmed typed conversion report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-grades-normalise?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_A4YFYONzaOETJxp04jNtV","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 CSV table of course grade import data (up to 1000 rows), trimming whitespace and converting cell types, with configurable delimiters, value bounds, and allowed category lists.","exampleAgentPrompt":"Can you validate and normalize this course grade CSV for me? It uses comma delimiters, and the allowed course categories are group-a and group-b — please make sure all earned points are between 0 and 100 and no cell exceeds 500 characters.","exampleUseCases":[{"title":"LMS grade import validation","prompt":"I have a CSV export from our learning management system with columns result_id, graded_on, course_id, earned_points, and possible_points. Can you validate and type-convert it, keeping only rows where course_id is either group-a or group-b, and earned_points are between 0 and 1000?"},{"title":"Detecting malformed grade records","prompt":"Before I import these grades into our database, can you run a trimmed typed conversion on this CSV to flag any cells that exceed 200 characters or contain values outside the expected 0–500 range? The file uses semicolon delimiters."},{"title":"Quoted cell grade normalization","prompt":"I've got a tab-delimited grades CSV with some quoted cells and I need to normalize it — trim whitespace, convert types, and validate that all course_id values are in the allowed list: intro-math, adv-english, and basic-science."}],"resultDescription":"Returns a trimmed typed conversion report for the submitted CSV, including parsed and type-converted rows (up to 1000), with validation outcomes indicating which rows/cells pass or fail based on configured min/max values, max cell length, and allowed category constraints. Quoted cells are supported; no external data enrichment is applied.","failureModes":["CSV exceeds 100,000 character limit — request rejected","More than 1000 rows submitted — only first 1000 processed or error returned","Invalid delimiter character (not comma, semicolon, or tab) — schema validation error","Cell value exceeds max_cell_length limit — validation failure flagged","Numeric values outside specified minimum/maximum bounds — validation failure flagged","Category value not in allowed_categories list — flagged as invalid","Malformed CSV structure (unclosed quotes, mismatched columns) — parse error"],"whenToPreferThis":"Use this endpoint when you need to validate and normalize a structured CSV of course grade records with configurable type conversion, value bounds checking, and category whitelisting — especially for LMS grade import pipelines. Prefer this over generic CSV parsers when you need education-domain presets (result_id, graded_on, course_id, earned_points, possible_points columns) and typed conversion in a single operation without external data enrichment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:04:16.513Z","isFirstParty":false,"canonicalSlug":"course-grade-imports-csv-trimmed-typed-conversion-cf71a45f"}