---
title: "Search Wiki pages"
method: GET
path: "/search/wiki"
tags: ["search"]
---

# Search Wiki pages

`GET /search/wiki`

Returns cursor-based Wiki page search results in stable path order. Use nextCursor only with the same query, workspace, and prefix.

## Query parameters

- `remoteNode` string
- `workspace` string
- `prefix` string — Relative Wiki page path without extension, for example runbooks/deploy-guide. Must not start with / or contain ..
- `q` string, required
- `tags` string[]
- `cursor` string
- `limit` integer

## Response `200`

Cursor-based Wiki page search results

- WikiPageSearchFeedResponse — Cursor-based Wiki page search results
  - `results` WikiPageSearchPageItem[], required
    - `id` string, required
    - `title` string, required
    - `description` string, required — Short Wiki page description from YAML frontmatter
    - `tags` string[] — Wiki page tags from YAML frontmatter
    - `workspace` string — Workspace that owns this Wiki page. Omitted for default Wiki pages.
    - `modifiedAt` string, date-time — Last modification time of the Wiki page file
    - `hasMoreMatches` boolean, required — Whether additional snippets are available beyond the preview
    - `nextMatchesCursor` string — Opaque cursor for loading more snippets for this Wiki page result
    - `matches` SearchMatchItem[], required — Preview snippets for the result
      - `line` string, required — Matching line content
      - `lineNumber` integer, required — Line number where match was found
      - `startLine` integer, required — Start line for context
  - `hasMore` boolean, required
  - `nextCursor` string

## Other responses

- `400` — Invalid request
- `default` — Generic error response

---

[API](https://skmtc.net/dagucloud/apis/dagu.md) · [All operations](https://skmtc.net/dagucloud/apis/dagu/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dagucloud/dagu/revisions/93cc41f2018a/schema)
