Skip to content
DocsGitHub

docs

Search and query current Sentry documentation

Find Sentry documentation pages by keyword

Arguments:

Argument Description
<keywords...> Documentation keywords

Options:

Option Description
-n, --limit <limit> Maximum matches to return (1-20) (default: "8")

Ask a cited question about Sentry documentation

Arguments:

Argument Description
<question...> Natural-language docs question

All commands support --json for machine-readable output and --fields to select specific JSON fields.

## Examples
Terminal window
sentry docs "How do I configure tracing in Next.js?"

The answer includes inline links and a Sources section containing the Sentry documentation pages used to answer the question.

Terminal window
sentry docs list "source maps"
TITLE DESCRIPTION URL
Source Maps Upload source maps for JavaScript https://docs.sentry.io/...

Use --limit to restrict the number of results or --json for structured output.