Commands
docs
Search and query current Sentry documentation
Commands
Section titled “Commands”sentry docs list <keywords...>
Section titled “sentry docs list <keywords...>”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") |
Examples:
# Search the documentation indexsentry docs list "source maps"
# Limit the number of resultssentry docs list "session replay privacy" --limit 5
# Output as JSONsentry docs list "source maps" --jsonsentry docs query <question...>
Section titled “sentry docs query <question...>”Ask a cited question about Sentry documentation
Arguments:
| Argument | Description |
|---|---|
<question...> |
Natural-language docs question |
Examples:
# Ask a documentation questionsentry docs "How do I configure tracing in Next.js?"
# Use the explicit subcommandsentry docs query "How do I upload source maps?"
# Use the search aliassentry docs search "How does session replay mask text?"
# Output the answer as JSONsentry docs "How do I configure tracing?" --jsonAll commands support --json for machine-readable output and --fields to select specific JSON fields.
Answers and sources
Section titled “Answers and sources”sentry docs answers include inline links and a Sources section containing the
Sentry documentation pages used to answer the question. Use sentry docs list
to search the documentation index instead; --limit restricts the number of
results and --json returns structured output.