BetterIAM

Reference

Generated reference for the server API, package exports, the CLI, error codes, packages, and the changelog, extracted from the repository.

Everything in this section is generated from the repository by apps/docs/scripts/generate.mjs, so it matches the code it documents: method names and signatures come from the built TypeScript declarations and a live betterIam() instance, error codes from every IamError thrown in packages/*/src, CLI usage from the CLI's own help text, and packages from the workspace manifests.

Machine-readable docs

The site serves its content for tools and language models as well as for people:

URLContent
/llms.txtAn index of every page with its description
/llms-full.txtEvery page as Markdown in one file
/docs/<page>.mdOne page as Markdown (also served for Accept: text/markdown)
/api/search?query=…The search index behind the search dialog, as JSON
/api/mcpAn MCP server with search, page, API-method, export, and error-code tools; see Use the docs with AI
/openapi.jsonThe OpenAPI 3.1 description of the HTTP API

Regenerating

pnpm build                                  # declarations the API catalog is read from
pnpm --filter @better-iam/docs generate     # data + generated pages (API, exports, errors, CLI, glossary)
node apps/docs/scripts/check-content.mjs    # validate every page and link

Was this page helpful?

Better IAM is created by Sean Filimon

Last updated

On this page