# sggk.info — API documentation for agents

Public machine interfaces for the Structural Horoscope archive.

## Catalog

RFC 9727 API catalog: `/.well-known/api-catalog` (`application/linkset+json`)

## APIs

| API | Anchor | OpenAPI | Description |
|-----|--------|---------|-------------|
| Search | `/api/search/` | `/api/search/openapi.json` | Section search indexes |
| Content | `/api/content/` | `/api/content/openapi.json` | RSS, sitemap, llms.txt |

## Health

`GET /api/health.json` → `{"status":"ok"}`

## MCP

MCP Server Card: `/.well-known/mcp/server-card.json`  
Streamable HTTP endpoint: `POST /mcp`

## Markdown for agents

Request any HTML page with:

```http
Accept: text/markdown
```

Requires Cloudflare **Markdown for Agents** (zone setting `content_converter`) or Pages Functions middleware (`functions/_middleware.ts`).
