Skip to content

Knowledge and data export

How company knowledge comes in and how it is searched, and every way data goes out of Academy.

Organisations bring their documents in through connectors that read SharePoint, Google Drive, Confluence, S3, file shares and more. The portal keeps only what it derives (passages, a summary, topics, where the original is), never the originals (ADR 0016).

Who How
Trainers and administrators in the portal Knowledge sources → Documents, the course wizard; behind it GET /v1/knowledge/search
AI assistants the MCP tool search_company_knowledge (MCP tools)
People in Teams and Slack the knowledge bot in a personal chat (HR, Teams, Slack)

GET /v1/knowledge/search?q=…&topic=…&limit=… (session of someone who teaches; q 2 to 500 characters, limit 1 to 50, default 10) answers

{
"mode": "hybrid",
"hits": [
{ "chunkId": "…", "documentId": "…", "title": "Fire safety policy", "path": "Policies/Fire safety.docx", "link": "https://…",
"heading": "Evacuation", "text": "…", "score": 0.82, "matchedBy": "both" }
]
}

mode is hybrid when the organisation has an embeddings service and the AI budget allows it, otherwise text. A person finds only what they may read in the source (ADR 0020). When knowledge sources are off, the answer is 409 knowledge_disabled.

The search is not part of the automation API: machine clients act for the whole organisation, and knowledge is shown per person. Scripts that act for one person use MCP.

What How Who
A person’s own data (GDPR Art. 15 and 20) GET /v1/me/export; in the portal My account → My data everyone, for themselves
A person’s data, for the organisation GET /v1/admin/users/{id}/export organisation administrators
All of an organisation’s data POST /v1/admin/organisation/exports, then download the organisation’s global administrators
Reports POST /v1/reports/training/export, POST /v1/reports/run/export (CSV) whoever may see the report: managers for their team, HR and administrators for more
Attendance of a live session GET /v1/live-sessions/{id}/attendance.csv whoever may see the session’s attendance
People, courses, training records, certificates, teams the automation API, page by page machine clients
Changes as they happen webhooks machine clients and administrators
Learning statements GET /v1/xapi/statements (learning standards) administrators for the organisation, others their own
A course for another LMS cmi5 export (learning standards) trainers

One JSON file, academy-export-<id>.json, with "format": "academy-user-export/1" and the time it was made (exportedAt), then one section per area: profile, sign-in, learning, courses, live sessions, mentoring, messages, consents, rights requests and more. The person’s own export also holds what only they may see (their notes, their conversations with the AI companion); the export an administrator makes leaves those out.

For moving to another provider or keeping a copy (ADR 0267): a background job builds a ZIP with every table holding the organisation’s data, one JSON object per line and row, plus the files they point to. Only one export runs at a time (409 export_running). Files too large for the package are listed and downloaded one by one with GET /v1/admin/organisation/exports/{id}/files?key=…. Left out, by design (ADR 0276):

  • each person’s own spaces (notes, private messages, mentoring, the AI companion, the language trainer): each person exports those themselves;
  • secrets: password hashes, tokens, keys;
  • sign-in credentials and sessions.

The organisation’s content that is stored encrypted comes decrypted. An export is available for a limited time, then it expires.