Skip to Content

POST /rubric/export

Export Rubrics

Render a rubric PDF and register it as a downloadable file.

Request Body (ExportRubricApiRequest)

FieldTypeRequiredDescription
rubric_idstringYesRubric UUID to export
chat_idstringNoOptional attempt chat UUID. When provided, the PDF highlights achieved/passed standards and renders per-standard feedback resolved from the chat’s latest grade. Without it, an empty rubric template is returned.
idempotency_keystringNoIdempotency key — replays the prior export instead of re-running
softbooleanNoStage the export dormant (active=False); ack with accept activates it
acceptbooleanNoAck: True promotes the staged export, False rejects. Only meaningful with idempotency_key

Response (ExportRubricApiResponse)

FieldTypeRequiredDescription
file_idstringYesUUID of the files_resource holding the export
file_namestringYesSuggested download file name
row_countintegerYesNumber of rows in the export (rubric standards)
idempotency_keystringNoServer-minted soft-call key (audit call_id). On a soft propose, echo this back with accept to promote/reject the staged export.
Last updated on