---
title: "Search DAGs"
method: GET
path: "/dags/search"
tags: ["dags"]
---

# Search DAGs

`GET /dags/search`

Performs a full-text search across all DAG definitions

## Query parameters

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

## Response `200`

A successful response

- object — Response object for searching DAGs
  - `results` SearchResultItem[], required — Search results matching the query
    - `name` string, required — Name of the matching DAG
    - `dag` DAG, required — unresolved $ref
    - `matches` SearchMatchItem[], required — Details of where matches were found
      - `line` string, required — Matching line content
      - `lineNumber` integer, required — Line number where match was found
      - `startLine` integer, required — Start line for context
  - `errors` string[], required — Errors encountered during the search

## Other responses

- `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/518ca433b4f2/schema)
