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
Recipe profiles — legacy and read-only: recipe profiles of historical releases. New recipes use recipe knowledge.
Recipe logging agent — Cursor MCP loop for sourced recipe drafts.
Preferred recipe sources — ranked government then FAO sources for recipe
sourceLocator.Quickstart — obtain a service credential and make the first request.
RFQ product suggestions — full-RFQ typeahead without quality-ledger writes.
Interactive RFQ resolution — draft resolution without events, followed by a normal ledgered resolve on submission.
Structured listing integration — structured Resolve, alternate catalogue names, bounded supporting descriptions, stable-ID persistence, semantic expansions, collections, localized dictionaries, and release migration.
Raptor Carcass attribute handoff — human review, confirmation, persistence, retries, and acceptance criteria for assisted attributes.
Applicable RFQ attributes — partial specification discovery and confirmed trim choices.
Localized attributes — request stable attribute IDs and English, Bulgarian, Polish, or German display definitions without changing resolver behavior.
Attribute vocabulary administration — privileged append-only field, value, localization, alias, review, and publication workflow.
Unknown vocabulary administration — source-attributed unsupported resolver fragments, inspect counts, recheck them, and manage their curation state.
Listing validation — check contradictions and unusual values without changing resolver behavior.
Concepts and versioning — understand identifiers, API versions, and ontology releases.
Errors and rate limits — implement safe retries and diagnostics.
Interactive API reference — browse the public OpenAPI contract and generate request examples.
AI coding-agent guide — compact implementation instructions in Markdown.
OpenAPI v1 JSON — canonical machine-readable consumer contract.
OpenAPI 1.2.0 snapshot — immutable contract snapshot including release-bound resolution-context discovery. Earlier snapshots remain unchanged.
Changelog — compatibility and deprecation history.
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.