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

# Search Wiki pages

`GET /wiki/search`

Searches Wiki page content for the given query.

## Query parameters

- `remoteNode` string
- `workspace` string
- `q` string, required

## Response `200`

Search results

- WikiPageSearchResponse — Search results
  - `results` WikiPageSearchResultItem[], 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
    - `matchCount` integer — Total number of query matches in the Wiki page
    - `matches` SearchMatchItem[]
      - `line` string, required — Matching line content
      - `lineNumber` integer, required — Line number where match was found
      - `startLine` integer, required — Start line for context

## Other responses

- `400` — Missing query parameter
- `default` — Unexpected error

---

[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)
