HR & People pack
Training records CSV import API
Import training and certification records from any CSV: course, completion date, score, certificate expiry and status. Multilingual headers.
curl -X POST https://api.adaptivmapr.com/v1/uploads \
-H "Authorization: Bearer $ADAPTIVMAPR_API_KEY" \
-F "template=training_records_v1" \
-F "file=@your_data.csv"Canonical columns
The whole schema, printed as it ships.
Every canonical column, the type each row carries, whether it is required, the field-level validators that fire on commit, and the multilingual header hints the cascade resolves against. This is the shipped definition, not a summary of it.
training_records_v1- fields
- 6
- required
- 2
- validated
- 0
- hints
- 39
| Canonical column | Type | Required | Validators | Header hints the cascade matches |
|---|---|---|---|---|
employee_id | string | yes | — | personalnummermatriculematricolaemployee idnúmero de empleado |
course | string | yes | — | kursschulungweiterbildungformationcorsocoursetrainingcurso |
completed_on | date | — | — | abgeschlossen amabschlussdatumdate de fincompletato ilcompletedcompletion datefecha de finalización |
score | number | — | — | punkteergebnisnotescorepunteggiopuntuación |
certificate_expires | date | — | — | gültig bisablaufdatumexpire lescadenzaexpiryvalid untilcaducidadexpiration dateexpires |
status | enumenrolledin_progresscompletedexpired | — | — | statusstatutstatoestado |
Read the same definition as JSON at GET /v1/templates/training_records_v1. A hint match resolves on layer 2 — no LLM call, no token spend, just the flat per-map fee. Hover a validator id to see what it checks.
- 6 canonical fields
- 2 required
- 0 validated
- 39 header hints, 5 languages
Why it exists
Written for the file you actually receive.
The Training records template is the canonical log of who completed what. Each row carries an employee_id and a course (both required), the date the course was completed, an optional score, the date the certificate stops being valid, and a status that runs from enrolled through in_progress and completed to expired. It is the shape that an LMS export, a compliance-training report or a safety officer's spreadsheet reduces to. Learning and compliance teams use it to move training history between platforms without losing old completions, to list the certificates that lapse next quarter, and to show an auditor or a client that the people on a project hold the training a contract asks for. The expiry column is what makes the file worth keeping, because a completion date alone cannot tell you who is overdue. It is `low` risk, course history rather than evaluations or pay, so a confirmed mapping commits straight through.
employee_id and course are required; a row without a person or a course is not a record. completed_on and certificate_expires are separate dates, both auto-detected across ISO, US and European formats, and both may be blank, since an enrolment has neither. score is a plain number with no range, because platforms report percentages, points and pass marks on different scales. status is taken from the source, not computed: the template does not derive expired from certificate_expires, so a file exported last year still says completed for a certificate that has since lapsed.
Migration scenarios & the foreign headers they ship
Typical moves: exporting completion history from an LMS before it is switched off (SAP SuccessFactors Learning, Cornerstone, TalentLMS, Docebo) so the new platform starts with the record; consolidating mandatory-training registers from several sites before an audit; building the renewal list for first-aid or safety certificates; and attaching training evidence to a tender. Headers we see: "Matricule / Personalnummer / Employee ID / Kurs / Schulung / Weiterbildung / Formation / Corso / Course Title / Training / Abgeschlossen am / Completion Date / Completato il / Punteggio / Punkte / Score / Gültig bis / Ablaufdatum / Scadenza / Valid until / Status / Stato". An English "Expiration Date", "Expiry" and "Valid until" are all caught directly.
The cascade
Six layers, and the cheapest one wins.
Layers run in order and stop the moment a column resolves. That is the single biggest cost lever in the system: a column caught on layer 2 never reaches the metered layer 5.
- L1Statisticsno LLM
Auto-accepts a header that past confirmations already resolved the same way, at {minN:100, minRatio:0.95} or {minN:20, minRatio:1.00}.
- L2Heuristicno LLM
Normalises accents, punctuation and whitespace, then compares against the column name, the label, and every registered hint (DE / FR / IT / EN / ES).
- L3Fuzzyno LLM
Token-set ratio plus Levenshtein over the normalised strings. Auto-accepts at 0.80 — it absorbs typos and reordered words.
- L4Semanticcheap, cached
Embedding cosine between the header and the field’s label + hints. Catches the long tail of paraphrases.
- L5LLMmetered
Everything still unresolved goes up in ONE batched, collision-aware call, constrained to this template’s column set so it cannot invent a field.
Try it
One template id, two ways in.
REST for your import pipeline, MCP for your editor. Both run the same cascade and both honour the same schema-only clamp.
REST · POST /v1/uploads
Name the template; the cascade picks up the rest. The canonical definition is read-only at GET /v1/templates/training_records_v1.
curl -X POST https://api.adaptivmapr.com/v1/uploads \
-H "Authorization: Bearer $ADAPTIVMAPR_API_KEY" \
-F "template=training_records_v1" \
-F "file=@your_data.csv"MCP · Cursor / Claude Desktop
Drop AdaptivMapr into your editor and call the same cascade as a tool. Schema-only calls leave only column names and a few example values.
// In Cursor or Claude Desktop with the AdaptivMapr MCP server installed:
adaptivmapr.match_headers({
template_id: "training_records_v1",
headers: ["employee_id", "course", "completed_on", "score"]
})Questions








