---
title: "Search Wiki page match snippets"
method: GET
path: "/search/wiki/matches"
tags: ["search"]
---

# Search Wiki page match snippets

`GET /search/wiki/matches`

Returns cursor-based snippets for one matching Wiki page.

## Query parameters

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

## Response `200`

Cursor-based Wiki page match snippets

- SearchMatchesResponse — Cursor-based search match snippets
  - `matches` SearchMatchItem[], required
    - `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
- `404` — Wiki page not found
- `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)
