# DocScout fix plan: upstash.com

You are a coding agent (Cursor / Claude Code / Codex) working in the documentation repository for **upstash.com** (https://upstash.com/docs/redis/overall/getstarted). A DocScout audit on 2026-10-11 found the issues below. They're ordered by priority.

## How to work
1. Work through the fixes **one at a time, in order**. For each one: locate the source (step 0), apply the fix, run its verification checks, then commit.
2. Follow the constraints of each fix. Never invent API behavior; if something is unclear, skip that fix and note the question.
3. Part B items **need verification first**: confirm the problem exists before changing anything.
4. When done, reply with a report: for each finding id, give the status (fixed / skipped / not reproducible), the files changed, and the verification results.

## Part A: Confirmed fixes (2)

---

**Priority 1**

## F01 · 29 broken internal links
Severity: high · Category: Links · Status: confirmed

Of 137 same-host links checked, 29 return an error status. Agents following these links hit dead ends.

### Evidence
- URL: https://upstash.com/redis/overall/enterprise
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/overall/getstarted
- URL: https://upstash.com/agent-resources/mcp
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/overall/getstarted
- URL: https://upstash.com/redis/sdks/mcp
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/overall/getstarted
- URL: https://upstash.com/redis/overall/usecases
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/overall/getstarted
- URL: https://upstash.com/redis/search/introduction
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/overall/getstarted
- URL: https://upstash.com/redis/features/restapi
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/overall/getstarted
- URL: https://upstash.com/redis/overall/billing
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/overall/getstarted
- URL: https://upstash.com/blob/uploads/upload-handler
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/blob/overall/quickstart
- URL: https://upstash.com/blob/bucket/reading
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/blob/overall/quickstart
- URL: https://upstash.com/blob/bucket/writing
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/blob/overall/quickstart
- URL: https://upstash.com/blob/uploads/large-files
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/blob/overall/quickstart
- URL: https://upstash.com/blob/uploads/constraints
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/blob/overall/quickstart
- URL: https://upstash.com/vector/features/sparseindexes
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/vector/overall/getstarted
- URL: https://upstash.com/vector/features/hybridindexes
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/vector/overall/getstarted
- URL: https://upstash.com/devops
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/common/account/developerapi
- URL: https://upstash.com/agent-resources/cli
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/devops/developer-api/introduction
- URL: https://upstash.com/redis/commands/hash/hincrby
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/quickstarts/supabase
- URL: https://upstash.com/redis/sdks/ts/overview
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/quickstarts/koyeb
- URL: https://upstash.com/common/concepts/global-replication
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/howto/migratefromregionaltoglobal
- URL: https://upstash.com/redis/overall/getstarted
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/redis/howto/connect-client
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/redis/commands/overview
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/redis/commands/server/monitor
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/redis/commands/pub-sub/subscribe
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/redis/commands/pub-sub/publish
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- (4 more not listed; re-run the check after fixing these.)

### Steps
0. Locate the source file(s) for each page above in this repo. Search by the page's URL slug/path, its title/H1, and a distinctive snippet from the evidence. For generated files (llms.txt, .md mirrors, sidebars, the spec), find the generator or config instead.
1. For each broken URL, find every place it is referenced in the repo (search for the path, with and without a trailing `.md` or `/`).
2. Decide per link: (a) the target page was moved/renamed → update the link to the current URL; (b) the content was removed → remove the link or point to the closest equivalent page; (c) the page should exist → restore it, or add a redirect in the docs framework's redirect config.
3. If the link is generated (e.g. a `.md` mirror or a nav/sidebar config), fix the generator/config rather than individual output files.

### Constraints
- Only change what this fix requires; don't rewrite, reformat or reorder unrelated content.
- Keep the existing writing style, frontmatter, components and file conventions.
- Never invent API behavior, endpoints, status codes or parameters. If the repo doesn't make the correct value clear, stop and report the question instead of guessing.
- Make small, reviewable commits (or one PR) per fix, with a message referencing the finding id.

### Verification
- [ ] Every URL listed above returns HTTP 200 (e.g. `curl -s -o /dev/null -w '%{http_code}' -L <url>`), without redirecting to a 404 page.
- [ ] Run the docs build and its link checker if one exists; no new broken links.
- [ ] The docs build passes.


---

**Priority 2**

## F03 · llms.txt lists only 5% of the docs pages we crawled
Severity: low · Category: llms.txt · Status: confirmed

140 live docs pages we found via your sitemap/navigation are not referenced in llms.txt. llms.txt is often curated on purpose; consider adding the pages agents need most.

### Evidence
- URL: https://upstash.com/docs/common/account/developerapi
- URL: https://upstash.com/docs/devops/developer-api/introduction
- URL: https://upstash.com/docs/devops/developer-api/authentication
- URL: https://upstash.com/docs/devops/developer-api/http_status_codes
- URL: https://upstash.com/docs/api-reference/vector/get-index-stats
- URL: https://upstash.com/docs/api-reference/vector/get-vector-stats
- URL: https://upstash.com/docs/api-reference/search/list-search-indexes
- URL: https://upstash.com/docs/api-reference/search/get-search-index
- URL: https://upstash.com/docs/api-reference/search/get-search-stats
- URL: https://upstash.com/docs/api-reference/search/get-index-stats
- URL: https://upstash.com/docs/api-reference/search/create-search-index
- URL: https://upstash.com/docs/api-reference/search/reset-password
- (128 more not listed; re-run the check after fixing these.)

### Steps
0. Locate the source file(s) for each page above in this repo. Search by the page's URL slug/path, its title/H1, and a distinctive snippet from the evidence. For generated files (llms.txt, .md mirrors, sidebars, the spec), find the generator or config instead.
1. Review the pages listed above. llms.txt is curated by design; add only the ones an agent would need (API reference sections, auth, errors, pagination, rate limits, webhooks, SDK quickstarts).
2. If llms.txt is generated, adjust the generator's include rules instead of editing output.
3. Do not remove existing entries.

### Constraints
- Only change what this fix requires; don't rewrite, reformat or reorder unrelated content.
- Keep the existing writing style, frontmatter, components and file conventions.
- Never invent API behavior, endpoints, status codes or parameters. If the repo doesn't make the correct value clear, stop and report the question instead of guessing.
- Make small, reviewable commits (or one PR) per fix, with a message referencing the finding id.

### Verification
- [ ] Added links return HTTP 200; llms.txt stays valid (H1 + link lists).
- [ ] The docs build passes.


## Part B: To verify before fixing (4)

---

## F05 · Spec looks partial: 0% of endpoints mentioned in docs are in it
> NEEDS VERIFICATION FIRST: this finding has medium confidence (it's based on a sample or on our reader). Before changing anything, confirm the problem exists using the evidence below. If you can't confirm it, make no changes and report what you found.

Severity: medium · Category: OpenAPI · Status: to verify

We found 64 "METHOD /path" mentions in your docs; only 0% match an operation in https://upstash.com/docs/workflow/openapi.yaml.

### Evidence
- URL: https://upstash.com/docs/redis/overall/getstarted
  - Evidence (verbatim from the fetched page/spec):

    ```
    GET /docs/search
    ```
- URL: https://upstash.com/docs/api-reference/vector/get-index-stats
  - Evidence (verbatim from the fetched page/spec):

    ```
    GET /vector/index/{id}/stats
    ```
- URL: https://upstash.com/docs/api-reference/vector/get-vector-stats
  - Evidence (verbatim from the fetched page/spec):

    ```
    GET /vector/index/stats
    ```
- URL: https://upstash.com/docs/api-reference/search/list-search-indexes
  - Evidence (verbatim from the fetched page/spec):

    ```
    GET /search
    ```
- URL: https://upstash.com/docs/api-reference/search/get-search-index
  - Evidence (verbatim from the fetched page/spec):

    ```
    GET /search/{id}
    ```
- URL: https://upstash.com/docs/api-reference/search/get-search-stats
  - Evidence (verbatim from the fetched page/spec):

    ```
    GET /search/stats
    ```

### Steps
0. Locate the source file(s) for each page above in this repo. Search by the page's URL slug/path, its title/H1, and a distinctive snippet from the evidence. For generated files (llms.txt, .md mirrors, sidebars, the spec), find the generator or config instead.
1. Compare the endpoints listed above with the spec and add the missing operations (path, method, parameters, request/response schemas), taken from the documented reference pages.
2. If some documented endpoints are deprecated/removed, update the docs instead.

### Constraints
- Only change what this fix requires; don't rewrite, reformat or reorder unrelated content.
- Keep the existing writing style, frontmatter, components and file conventions.
- Never invent API behavior, endpoints, status codes or parameters. If the repo doesn't make the correct value clear, stop and report the question instead of guessing.
- Make small, reviewable commits (or one PR) per fix, with a message referencing the finding id.

### Verification
- [ ] Each listed `METHOD /path` matches an operation in the spec; the spec validates.
- [ ] The docs build passes.


---

## F06 · 10 pages return little or no text without JavaScript
> NEEDS VERIFICATION FIRST: this finding has medium confidence (it's based on a sample or on our reader). Before changing anything, confirm the problem exists using the evidence below. If you can't confirm it, make no changes and report what you found.

Severity: medium · Category: Readability · Status: to verify

Our reader got under 1,500 characters from these pages. They are likely rendered client-side, which many agents cannot execute.

### Evidence
- URL: https://upstash.com/docs/common/account/developerapi
  - Evidence (verbatim from the fetched page/spec):

    ```
    696 characters extracted
    ```
- URL: https://upstash.com/docs/devops/developer-api/authentication
  - Evidence (verbatim from the fetched page/spec):

    ```
    818 characters extracted
    ```
- URL: https://upstash.com/docs/redis/troubleshooting/no_auth
  - Evidence (verbatim from the fetched page/spec):

    ```
    1103 characters extracted
    ```
- URL: https://upstash.com/docs/redis/troubleshooting/http_unauthorized
  - Evidence (verbatim from the fetched page/spec):

    ```
    1412 characters extracted
    ```
- URL: https://upstash.com/docs/qstash/api/authentication
  - Evidence (verbatim from the fetched page/spec):

    ```
    1069 characters extracted
    ```
- URL: https://upstash.com/docs/devops/developer-api/start-redis/instructions
  - Evidence (verbatim from the fetched page/spec):

    ```
    911 characters extracted
    ```
- URL: https://upstash.com/docs/devops/terraform/resources/upstash_qstash_endpoint
  - Evidence (verbatim from the fetched page/spec):

    ```
    1049 characters extracted
    ```
- URL: https://upstash.com/docs/devops/terraform/data_sources/upstash_qstash_endpoint_data
  - Evidence (verbatim from the fetched page/spec):

    ```
    909 characters extracted
    ```
- URL: https://upstash.com/docs/redis/sdks/ts/overview
  - Evidence (verbatim from the fetched page/spec):

    ```
    1458 characters extracted
    ```
- URL: https://upstash.com/docs/redis/sdks/ts/retries
  - Evidence (verbatim from the fetched page/spec):

    ```
    828 characters extracted
    ```

### Steps
0. Locate the source file(s) for each page above in this repo. Search by the page's URL slug/path, its title/H1, and a distinctive snippet from the evidence. For generated files (llms.txt, .md mirrors, sidebars, the spec), find the generator or config instead.
1. Check whether these pages render their main content client-side only. If so, enable static generation/SSR for docs pages or add a markdown/llms-full.txt alternative.

### Constraints
- Only change what this fix requires; don't rewrite, reformat or reorder unrelated content.
- Keep the existing writing style, frontmatter, components and file conventions.
- Never invent API behavior, endpoints, status codes or parameters. If the repo doesn't make the correct value clear, stop and report the question instead of guessing.
- Make small, reviewable commits (or one PR) per fix, with a message referencing the finding id.

### Verification
- [ ] `curl -s <url>` returns HTML that already contains the page's main text.
- [ ] The docs build passes.


---

## F02 · 20 link(s) failed from our server but could not be double-checked
> NEEDS VERIFICATION FIRST: this finding has low confidence (it's based on a sample or on our reader). Before changing anything, confirm the problem exists using the evidence below. If you can't confirm it, make no changes and report what you found.

Severity: low · Category: Links · Status: to verify

These returned an error to our crawler, but a second check from another network was unavailable. Some sites block datacenter traffic.

### Evidence
- URL: https://upstash.com/redis/commands/string/overview
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/redis/commands/list/overview
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/redis/commands/set/overview
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/redis/commands/sorted-set/overview
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/redis/commands/geo/overview
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/redis/commands/hyperloglog/overview
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/redis/commands/transactions/overview
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/redis/commands/generic/overview
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/redis/commands/server/overview
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/redis/commands/scripting/overview
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/redis/commands/pub-sub/overview
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/redis/commands/connection/overview
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/redis/commands/json/overview
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/redis/commands/streams/overview
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/redis/features/restapi
- URL: https://upstash.com/vector/overall/getstarted
  - Observed status: HTTP 404
  - Linked from: https://upstash.com/docs/vector/api/get-started
- (5 more not listed; re-run the check after fixing these.)

### Steps
0. Locate the source file(s) for each page above in this repo. Search by the page's URL slug/path, its title/H1, and a distinctive snippet from the evidence. For generated files (llms.txt, .md mirrors, sidebars, the spec), find the generator or config instead.
1. For each broken URL, find every place it is referenced in the repo (search for the path, with and without a trailing `.md` or `/`).
2. Decide per link: (a) the target page was moved/renamed → update the link to the current URL; (b) the content was removed → remove the link or point to the closest equivalent page; (c) the page should exist → restore it, or add a redirect in the docs framework's redirect config.
3. If the link is generated (e.g. a `.md` mirror or a nav/sidebar config), fix the generator/config rather than individual output files.

### Constraints
- Only change what this fix requires; don't rewrite, reformat or reorder unrelated content.
- Keep the existing writing style, frontmatter, components and file conventions.
- Never invent API behavior, endpoints, status codes or parameters. If the repo doesn't make the correct value clear, stop and report the question instead of guessing.
- Make small, reviewable commits (or one PR) per fix, with a message referencing the finding id.

### Verification
- [ ] Every URL listed above returns HTTP 200 (e.g. `curl -s -o /dev/null -w '%{http_code}' -L <url>`), without redirecting to a 404 page.
- [ ] Run the docs build and its link checker if one exists; no new broken links.
- [ ] The docs build passes.


---

## F04 · Only 9.4% of spec operations include examples
> NEEDS VERIFICATION FIRST: this finding has medium confidence (it's based on a sample or on our reader). Before changing anything, confirm the problem exists using the evidence below. If you can't confirm it, make no changes and report what you found.

Severity: low · Category: OpenAPI · Status: to verify

Measured per operation (following $refs); the spec has 2 example fields overall, some may sit on schemas we didn't attribute.

### Evidence
- URL: https://upstash.com/docs/workflow/openapi.yaml
  - Evidence (verbatim from the fetched page/spec):

    ```
    POST /v2/batch/trigger · DELETE /v2/workflows/runs/{workflowRunId} · DELETE /v2/workflows/runs · POST /v2/messages/{messageId}/retry
    ```

### Steps
0. Locate the source file(s) for each page above in this repo. Search by the page's URL slug/path, its title/H1, and a distinctive snippet from the evidence. For generated files (llms.txt, .md mirrors, sidebars, the spec), find the generator or config instead.
1. Add `example`/`examples` to request bodies and 2xx responses for the most-used operations first, copying values from the existing docs code samples so they stay consistent.

### Constraints
- Only change what this fix requires; don't rewrite, reformat or reorder unrelated content.
- Keep the existing writing style, frontmatter, components and file conventions.
- Never invent API behavior, endpoints, status codes or parameters. If the repo doesn't make the correct value clear, stop and report the question instead of guessing.
- Make small, reviewable commits (or one PR) per fix, with a message referencing the finding id.

### Verification
- [ ] The spec still validates; the examples conform to their schemas.
- [ ] The docs build passes.

---

## Final report template
| Finding | Status | Files changed | Verification |
|---|---|---|---|
| F01 | | | |
| F03 | | | |
| F05 | | | |
| F06 | | | |
| F02 | | | |
| F04 | | | |
