POST to drill/grade/. derived from route
URL
- User APIhttps://networking.mattering.io/api/user/v1/drill/grade/
- Service tierhttps://networking.mattering.io/api/internal/v1/drill/grade/
Query parameters
| Name | Default |
|---|---|
space | none |
Body keys (JSON)
| Key | Required | Default |
|---|---|---|
grade | optional or conditional | none |
id | optional or conditional | none |
kind | optional or conditional | none |
Keys the view reads. A key not in this list is ignored by the view. Where a key is required only for some actions (for example the action dispatch), the description above says which.
Responses
200 data and meta envelope
{
"data": {
"kind": "...",
"id": "...",
"grade": 0,
"due_at": "2026-01-01T00:00:00Z",
"confidence": "..."
}
}
Field names come from the code; values are placeholders (... is a string, 0 a number, dates are ISO 8601).
Errors
| Status | Code |
|---|---|
| 400 | validation |
| 401 | unauthorized |
| 404 | not_found |
Example
curl -X POST "https://networking.mattering.io/api/user/v1/drill/grade/" \
-H "Authorization: Bearer $MATTERING_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"grade": "...",
"id": "...",
"kind": "..."
}'curl -X POST "https://networking.mattering.io/api/internal/v1/drill/grade/" \
-H "X-Internal-Secret: $MATTERING_INTERNAL_API_SECRET" \
-H "X-Internal-Org-Id: $ORG_ID" \
-H "X-Internal-User-Email: you@example.com" \
-H "Content-Type: application/json" \
-d '{
"grade": "...",
"id": "...",
"kind": "..."
}'
Source: NetworkingCore/internal_api.py (internal_api.drill_grade)