Meat Ontology API

The Meat Ontology API is a server-side HTTP and MCP API for browsing meat concepts, external standards, relationships, published releases, and deterministic ontology exports. It also provides ontology-safe structured resolution, exploration, listing validation, comparison, reviewed substitution, query expansion, governed collections, localized release dictionaries, and incremental migration operations.

The agreed direction is one MeatBorsa canonical model, with external standards mapped onto it. The current API still exposes legacy scheme-specific concepts; consolidation and client migration are pending. See Concepts and versioning for the policy and current-contract boundary.

Start here

Authentication

Every /v1 operation requires a scoped service credential:

Authorization: Bearer mtk_<prefix>.<secret>

Credentials are issued by a Meat Ontology administrator under System → API clients. A complete credential is displayed only once. Keep it in a server-side secret manager or environment variable; never embed it in browser JavaScript, mobile applications, URLs, logs, or source control.

Public integration surface

Consumer integrations use taxonomy:read, taxonomy:resolve, taxonomy:vocabulary:read, or a least-privilege combination. The vocabulary scope exposes only the authenticated client's own observations. Administrative curation and credential-management operations are deliberately excluded from the public OpenAPI contract.

The public API is authenticated even though this documentation is public. There is no shared demo key and no anonymous ontology-data endpoint.

Resolve and Explore accept caller-sanitized product phrases. Integrations must extract the relevant product wording instead of forwarding complete notes, conversations, documents, or unrelated commercial records. The service may aggregate normalized unsupported fragments and retain the latest sanitized sample phrase from successful resolution calls to improve vocabulary coverage and support contextual rechecks. REST Resolve with mode: "interactive" skips these quality-ledger writes; it does not disable authentication usage accounting or snapshot refresh.