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.

30-second curl
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"
→ 6 canonical fields · 0 validated · low risk

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 columnTypeRequiredValidatorsHeader hints the cascade matches
employee_idstringyes—personalnummermatriculematricolaemployee idnúmero de empleado
coursestringyes—kursschulungweiterbildungformationcorsocoursetrainingcurso
completed_ondate——abgeschlossen amabschlussdatumdate de fincompletato ilcompletedcompletion datefecha de finalización
scorenumber——punkteergebnisnotescorepunteggiopuntuación
certificate_expiresdate——gültig bisablaufdatumexpire lescadenzaexpiryvalid untilcaducidadexpiration dateexpires
statusenumenrolledin_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.

  1. 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}.

  2. L2Heuristicno LLM

    Normalises accents, punctuation and whitespace, then compares against the column name, the label, and every registered hint (DE / FR / IT / EN / ES).

  3. L3Fuzzyno LLM

    Token-set ratio plus Levenshtein over the normalised strings. Auto-accepts at 0.80 — it absorbs typos and reordered words.

  4. L4Semanticcheap, cached

    Embedding cosine between the header and the field’s label + hints. Catches the long tail of paraphrases.

  5. 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.

bash
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"
→ upload created · mappings ready · confirm before commit

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.

mcp
// 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"]
})
schema-only · column names and a few examples only
MCP install instructions

Questions

Training records CSV import — FAQ

Does the template mark a certificate as expired automatically?
No. status is whatever the source says. Compare certificate_expires with today in your own reporting to find lapsed certificates, rather than trusting a status that was exported months ago.
Can the same person have the same course twice?
Yes. A renewal is a new completion, so it is a new row with its own completed_on and certificate_expires. Keep both to show the history.
What scale is the score on?
Whatever your platform uses. score is an unbounded number, so a percentage, a point total and a pass mark all import as given; compare scores only within one platform.
Is a training file sensitive?
It is low risk and commits straight through once the mapping is confirmed. It still names people, so in Minimal data mode only column names and a few example values are used to decide the mapping.

Map training records in production — without shipping raw records.

Minimal data mode sends only column names and a few example values — never the full file. Add full-data when you need row-level AI, routed in-region under a BAA.