Training record
What a run's training was, from what Kaimei holds: methods, data, validation, health and the model it produced, as JSON or a PDF with a fingerprint.
The EU AI Act's Annex IV asks the provider of a high-risk system to describe how its model was trained: the methods and techniques (point 2(d)) and the validation and testing, with their data and metrics (point 2(g)). The training record gathers, for one run, what Kaimei holds toward that: the framework, optimizer, learning rate and schedule, the config and code version, the environment, the datasets the run declared, its probe sets, the validation series and how the final step was chosen, the health findings with your notes, and the model it produced.
How the final step was chosen is read, in order, from the summary's selection_rule, a checkpoint labelled best, the config's early-stopping settings (patience, monitor, metric_for_best_model), or else the run's last step. A run linked to a model adds a Training record item, for Articles 10 and 11, to that model's evidence and to its documentation report.
Not a conformity statement. The record states what Kaimei holds. Whether it satisfies the Act, Annex IV included, stays the provider's legal judgment; the record says so in caveat, and it is not legal advice.
#Read a training record
/v1/runs/{run_id}/recordAPI key or sessionThe record as JSON. fingerprint is a SHA-256 of everything but generated_at, the same on the PDF.
Path parameters
The run's id: run_ and 8 to 64 lowercase letters or digits.
Returns
training_record: run, methodology, data, validation, health, model, caveat, notice, limits and fingerprint.curl https://api.kaimei.ai/v1/runs/run_3f2a19c0d1e2f3a4b5c6/record \
-H "Authorization: Bearer $KAIMEI_API_KEY"{
"object": "training_record",
"generated_at": "2026-12-05T12:01:00.916790+00:00",
"organization": "Analytical Engines",
"run": {
"id": "run_3f2a19c0d1e2f3a4b5c6",
"name": "bright-falcon-12",
"project": {
"id": "prj_d28a961cfec4c14af1e9",
"slug": "credit-risk",
"name": "credit-risk"
},
"status": "finished",
"source": "sdk",
"sync": "live",
"detail": "standard",
"started_at": "2026-12-05T12:00:00.000000+00:00",
"ended_at": "2026-12-05T12:01:00.898001+00:00",
"duration_seconds": 60.898,
"steps": 1200,
"points": 22,
"checkpoints": 1,
"created_by": "Ada Lovelace",
"imported_from": null
},
"methodology": {
"framework": "pytorch",
"optimizer": "AdamW",
"learning_rate": [
{"key": "lr", "value": "0.001"}
],
"learning_rate_series": {
"key": "opt/lr",
"min": 0.0005,
"max": 0.001,
"last": 0.0005
},
"schedule": [],
"training": [
{"key": "batch_size", "value": "256"},
{"key": "epochs", "value": "3"}
],
"config": [
{"key": "lr", "value": "0.001"},
{"key": "batch_size", "value": "256"},
…
],
"config_count": 4,
"code": {
"commit": "4f2a19c",
"branch": "main",
"remote": null,
"dirty": false
},
"environment": {
"python": "3.11.9",
"os": "Linux-6.5.0-x86_64",
"cpu": null,
"gpus": ["NVIDIA A10G"],
"memory_bytes": null,
"frameworks": {},
"packages": null,
"kaimei": null
}
},
"data": {
"datasets": [
{
"name": "train",
"fingerprint": "sha256:9c1e0b",
"details": {}
}
],
"probe_sets": [
{
"id": "prb_b696220cd006ebda87d1",
"name": "hard-cases",
"task": "classification",
"size": 3,
"fingerprint": "sha256:0ab9f9643f854ed2a1280d1a3258430436d876b96a184cee9847225833ca34cd",
"evaluations": 3
}
]
},
"validation": {
"series": [
{
"key": "val/loss",
"kind": "validation",
"goal": "min",
"count": 3,
"best": 0.71,
"best_step": 800,
"last": 0.74,
"last_step": 1200
}
],
"selection": {
"rule": "The checkpoint labelled “best”, at step 1200, epoch 3. The run was asked to stop at step 1200 (validation loss rising). The best val/loss recorded is 0.71 at step 800.",
"source": "checkpoint",
"step": 1200,
"settings": [
{"key": "summary.best_epoch", "value": "2"}
]
}
},
"health": {
"available": true,
"findings": [
{
"detector": "custom",
"severity": "high",
"state": "acknowledged",
"title": "Validation AUC below 0.7",
"layer": null,
"step_lo": 1200,
"step_hi": 1200,
"source": "client",
"note": "Known: the holdout set is small.",
"created_at": "2026-12-05T12:01:00.249239+00:00",
"resolved_at": null
}
],
"counts": {"acknowledged": 1}
},
"model": null,
"caveat": "Kaimei supplies these records. Whether they satisfy the EU AI Act, its Annex IV included, or any other rule stays the provider's legal judgment. This record is not legal advice.",
"notice": "This is a record of what Kaimei holds about the run. It shows evidence you can draw on; it does not show that the model, or its training, meets any requirement.",
"limits": [
"Only what the run recorded is here. A dataset, setting or check that was not sent to Kaimei is not in it.",
…
],
"fingerprint": {
"algorithm": "sha256",
"value": "5da4c5697af62c10ada77db7c0370854bc6680ab64345b56cb8c885fc5ea7225",
"covers": "Everything this record states, apart from the time it was generated."
}
}#Download a training record as a PDF
/v1/runs/{run_id}/record.pdfAPI key or sessionThe same record as a PDF, with its fingerprint on every page and in the X-Kaimei-Fingerprint header.
Path parameters
The run's id: run_ and 8 to 64 lowercase letters or digits.
Query parameters
letter or a4.Returns
application/pdf.curl "https://api.kaimei.ai/v1/runs/run_3f2a19c0d1e2f3a4b5c6/record.pdf?paper=a4" \
-H "Authorization: Bearer $KAIMEI_API_KEY" --output training-record.pdfHTTP/1.1 200 OK
content-type: application/pdf
content-disposition: attachment; filename="training-record-bright-falcon-12.pdf"
x-kaimei-fingerprint: sha256:5da4c5697af62c10ada77db7c0370854bc6680ab64345b56cb8c885fc5ea7225