Get & Version History
Read a Customer Overlay by ID: the header plus its latest doctypes and fields, and the full draft/publish version history as an audit trail, newest first.
Read a single Customer Overlay by id to get its header plus the content of its latest version (its doctypes and fields), embedded as latest_version. List its versions to see the full draft/publish history, newest first. Each publish and each auto-fork is a version, so the history is the audit trail of how the overlay evolved.
Use the detail read to render an authoring UI or to verify what is currently live before publishing again. Use the version list when you need to answer "what did the overlay look like when that batch was processed": the version that was published at the time is the configuration classification and extraction saw. The version list returns lightweight rows — id, version, status, dirty, published_at, created_at — without the doctype/field payloads, so it stays cheap to poll even for an overlay with a long history.
The dirty flag on a version marks unpublished edits: it is set whenever the draft's content changes and cleared on publish. A published overlay whose latest version is dirty: false is exactly what was deployed; a dirty: true draft on top of a published version means there are staged edits not yet live. On published fields you will also see the derived english_key (with english_key_src and english_key_via) alongside your authored names — the machine key extraction emits under, derived at publish time.
To review staged changes before a publish, read both sides and diff them: this detail read gives the draft's doctypes and fields, and the [published-overlay preview](customer-ontology-mappings) (GET /v1/customer-ontologies/overlay/doctypes) gives the doctypes currently live in the classifier. The pair answers "what will this publish change" without any extra bookkeeping on your side, which matters because publish deploys configuration to the live extraction path the moment it returns.
/v1/customer-ontologies/{id}Path parameters
/v1/customer-ontologies/{id}/versionscurl
curl -s https://api.talonic.com/v1/customer-ontologies/75feea55-70ef-4fac-92f6-73ef8e7556c1 \
-H "Authorization: Bearer tlnc_your_api_key"
curl -s https://api.talonic.com/v1/customer-ontologies/75feea55-70ef-4fac-92f6-73ef8e7556c1/versions \
-H "Authorization: Bearer tlnc_your_api_key"Response (versions)
[
{
"id": "31b2b0d4-1f2e-4c1a-9a63-2f8c3f6f8a11",
"version": 2,
"status": "draft",
"dirty": true,
"published_at": null,
"created_at": "2026-08-29T14:02:07.114Z"
},
{
"id": "7c48bade-35ba-4745-95ba-5523728a95be",
"version": 1,
"status": "published",
"dirty": false,
"published_at": "2026-08-29T11:33:41.428Z",
"created_at": "2026-08-29T11:33:31.689Z"
}
]Response fields (detail read)