brief

Data Model

Entry Categories

Categories are a fixed enum:

Unknown categories on post or put are usage errors.

Entry Shape

Entries are exposed through brief get --json as objects with this shape:

[
  {
    "id": 494,
    "title": "...",
    "content": "...",
    "category": "note",
    "language": null,
    "tags": ["hooks", "go"],
    "created_at": "2026-03-12T00:00:00Z",
    "updated_at": "2026-03-12T00:00:00Z",
    "deprecated_at": null
  }
]

Schema

entries

tags

config

Valid config keys:

Full-text search uses SQLite FTS5 over title and content.

User query tokens are sanitized before reaching FTS5. Raw FTS syntax is not part of the v1 interface.

Lifecycle