# Course Grade Imports — Record Key Uniqueness Validator

> Course Grade Imports — Record Key Uniqueness Validator 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 that all record keys in a course grade import CSV are unique, up to 1000 rows, and returns a uniqueness report.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-grades-keys?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-record-key-uniqueness-validator-cadbd2f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fj96OPhIGkXwcjWssnANn

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-record-key-uniqueness-validator-cadbd2f3 -d '<json body>'
```

Example prompt: Check this course grade CSV for duplicate record keys — it uses a comma delimiter and has columns result_id, graded_on, course_id, earned_points, possible_points — and tell me if any result_id values are repeated across rows.

## When to prefer this

Use this endpoint when you need to specifically verify that record keys (e.g. result_id) in a course grade CSV are unique before an import operation. It is purpose-built for the education grade import domain with a preset schema contract, making it more reliable than a generic CSV uniqueness tool when dealing with grade data conforming to the result_id/graded_on/course_id/earned_points/possible_points schema.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- More than 1000 rows in the CSV — validation may be truncated or rejected
- Invalid delimiter specified (not comma, semicolon, or tab) — schema validation error
- Malformed CSV with unclosed quotes or mismatched columns — parse error returned
- Cell length exceeds max_cell_length threshold — validation error
- Empty CSV body — minimum length constraint violation

## How this service works

Course grade imports — Record key uniqueness: Record key uniqueness 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 record key uniqueness report.

## Output

Returns a record key uniqueness report indicating whether all keys in the CSV are unique, identifying any duplicate key values and the rows where they appear, so the caller knows whether the grade import file is safe to process.

## 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-record-key-uniqueness-validator-cadbd2f3/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)
