> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mesolab.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Rubric

> Build an assessment rubric from unit context.

## Request

**unitContext** `object` *required*

The unit the rubric assesses — subject, topic, year group and the learning
outcomes in scope.

**rubricConfig** `object` *required*

Rubric shape: the criteria to assess and the performance levels to grade
against.

```bash cURL theme={null}
curl -X POST "$BASE_URL/rubric" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "unitContext": { }, "rubricConfig": { } }'
```

## Response

A structured rubric: criteria rows, performance-level columns, and a descriptor
for every cell, aligned to the outcomes supplied in `unitContext`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.