---
title: API: docs
description: REST endpoints tagged docs — generated from the platform's OpenAPI contract (3 operations).
locale: en
version: 0.2.0
canonical: https://enterium-developer-docs.pages.dev/developers/api/docs/
---

> Documentation index: https://enterium-developer-docs.pages.dev/developers/llms.txt — every page of this portal has a Markdown twin at <route>.md; the frozen API contract is at https://enterium-developer-docs.pages.dev/developers/api/openapi.json.

:::note
Generated from the OpenAPI contract — do not edit by hand. Interactive explorer with full schemas: [https://entherium.duckdns.org:8443/reference](https://entherium.duckdns.org:8443/reference); frozen spec for this build: [openapi.json](/developers/api/openapi.json).
:::

## `GET /api/v1/docs/changelog`

Get Changelog

[Open as a page →](./get-docs-changelog/)

Capability changelog of the agent-facing READ surface, layer C).

An external read-API agent (which sees the ``X-Capability-Version`` echo header) diffs these
entries from its last-seen version to learn which endpoints/fields/semantics changed BEFORE it
acts on stale assumptions. Mirrors the MCP ``changelog://entherium`` resource — one source
(``app.discovery.CAPABILITY_CHANGELOG``), so the two surfaces cannot drift.

**Auth:** `Authorization: Bearer <token>` required

**Responses:**

| Code | Meaning | Body |
| --- | --- | --- |
| `200` | Successful Response | `CapabilityChangelog` |
| `401` | Missing or invalid authentication credentials | `ErrorResponse` |

## `GET /api/v1/docs/file`

Get File

[Open as a page →](./get-docs-file/)

: markdown content + frontmatter + resolved wikilinks.

**Auth:** `Authorization: Bearer <token>` required

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `path` | query | yes | `string` | Relative path within vault |

**Responses:**

| Code | Meaning | Body |
| --- | --- | --- |
| `200` | Successful Response | `DocFile` |
| `400` | Requested path is not a .md file | — |
| `401` | Missing or invalid authentication credentials | `ErrorResponse` |
| `403` | Path escapes the docs vault | — |
| `404` | File not found | — |
| `422` | Validation Error | `HTTPValidationError` |

## `GET /api/v1/docs/tree`

Get Tree

[Open as a page →](./get-docs-tree/)

: recursive tree of.md files + dirs.

**Auth:** `Authorization: Bearer <token>` required

**Responses:**

| Code | Meaning | Body |
| --- | --- | --- |
| `200` | Successful Response | `array of TreeNode` |
| `401` | Missing or invalid authentication credentials | `ErrorResponse` |
