Docs JSON API

api json search

Docs JSON API

Read-only API for humans and AI agents.

Endpoints

GET /api/docs                    — list all docs
GET /api/docs?category=logging   — filter by category
GET /api/docs?q=loki             — full-text search
GET /api/docs/:slug              — single doc with full body
GET /api/categories              — list categories with counts
GET /api/search?q=prometheus     — search alias

Example

# List all docs
curl https://docs.notverygood.ru/api/docs | jq .

# Search
curl "https://docs.notverygood.ru/api/docs?q=docker+logging" | jq .

# Get single doc
curl https://docs.notverygood.ru/api/docs/loki-setup | jq .body

For AI Agents

Fetch /api/docs to get list, then /api/docs/:slug for full content.

Search with /api/search?q=... using FTS5 full-text search.

Updated: 2026-03-15 19:51:17