Skip to main content

Map to Talonic Types

Anchor custom doctypes to types in the Ontology's Talonic base: list the type catalog, get embedding-ranked mapping suggestions, and preview published classifier doctypes.

Every custom doctype anchors to a Talonic type (a type in the Ontology's Talonic base) so the dual-axis classifier always has a built-in anchor alongside your custom label. These endpoints help you build and verify those anchors. List the full Talonic type catalog to populate a picker, embedding-match a set of your doctypes to get ranked suggestions, and preview the published custom doctypes the classifier will actually apply.

Suggest-mappings is stateless: it runs over the doctypes you post and persists nothing, so an authoring UI can call it on unsaved edits. For each doctype it returns a confident auto target (or null), an ambiguous flag, and ranked candidates for the user to choose from.

GET/v1/customer-ontologies/talonic-types
POST/v1/customer-ontologies/suggest-mappings

Body parameters

doctypes*object[]Doctypes to match (key, name, …). Returns per-doctype auto/ambiguous/candidates.
GET/v1/customer-ontologies/overlay/doctypes

curl

A suggestion with ambiguous: true and a null auto target means the top matches scored too close to call. Show the ranked candidates to the user instead of auto-anchoring.