# Course Grade Imports — Valid Row Export

> Course Grade Imports — Valid Row Export is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

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.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-grades-valid-rows?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/course-grade-imports-valid-row-export-ef9d352b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Kl_gAHBrVyOnZuRoQ7iSk

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability course-grade-imports-valid-row-export-ef9d352b -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/course-grade-imports-valid-row-export-ef9d352b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
