Skip navigation
REST › content.get

content.get

GET/content/{locale}/{slug}

Returns any one piece in full (article or guide, public or for subscribers): metadata, the compiled HTML body and its Markdown for AI tools, the same version as the web. Needs a key from an account with subscriber access; a guide bought on its own also opens for its buyer.

Parameters

ParameterInDescription
localepathRequired. vi or en.
slugpathRequired. Slug of the piece, for example omp-model-routing-guide.

Request

curl
curl "https://api.modernengineer.dev/content/vi/omp-model-routing-guide" \
  -H "Authorization: Bearer $SE_KEY"

Response

200 OK · application/json
{
  "access": "subscriber",
  "alternate": "/en/library/omp-model-routing-guide",
  "blogCategory": "series",
  "canonical": "/vi/library/omp-model-routing-guide",
  "category": "facebook_subscriber",
  "created": "2026-08-26",
  "kind": "guide",
  "license": "Subscriber-only; redistribution prohibited",
  "locale": "vi",
  "readingMinutes": 19,
  "rightsOwner": "Thieu Nguyen",
  "route": "/vi/library/omp-model-routing-guide",
  "sections": [
    "1. Chuỗi định tuyến",
    "2. Nhà cung cấp xuất hiện trong bài",
    "3. Role hoạt động và được trigger ra sao?",
    "…"
  ],
  "sha256": "29537d02…",
  "slug": "omp-model-routing-guide",
  "summary": "Role OMP là alias định tuyến, không phải agent. Gán model theo workload, kiểm tra effective state, và fallback khi lỗi.",
  "tags": [
    "oh-my-pi",
    "models",
    "routing",
    "advisor"
  ],
  "title": "Định tuyến model trong OMP: role, fallback và cấu hình thực tế",
  "topic": "harness",
  "updated": "2026-08-30",
  "version": "1.0.0",
  "visual": {
    "contentType": "text/html; charset=utf-8",
    "key": "visuals/omp-model-routing-guide/d6c28f8f….html"
  },
  "body": "<h1 id=\"…\">…</h1>…",
  "markdown": "# Định tuyến model trong OMP: role, fallback và cấu hình thực tế\n\nNguồn: https://modernengineer.dev/vi/library/omp-model-routing-guide\n\n…"
}

Errors

StatusErrorWhen
401unauthenticatedThe API key is missing or invalid. Comes with a WWW-Authenticate header.
403forbiddenThe key's account has no subscriber access.
400invalid_inputA parameter is missing or invalid, for example a locale other than vi or en.
404not_foundNo piece has this slug.
429too_many_requestsMore than 1,000 calls in 24 hours for this account, including calls for slugs that do not exist.

In MCP