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

## Changes

- **2026-05-24** (v1) `8a2d5d3e9608` — 1 warning
  - added the new `rate_limited` enum value to the `code` response property for the response status `default`
- **2026-05-19** (v1) `7699c11d9c61` — 1 info
  - added the optional property `results/items/dag/resources` to the response with the `200` status
- **2026-04-30** (v1) `50e1d517afc1` — 2 warning, 1 info
  - removed the optional property `results/items/dag/resources` from the response with the `200` status
  - removed the optional property `results/items/dag/schedule/items/profile` from the response with the `200` status
  - removed the `rate_limited` enum value from the `code` response property for the response status `default`

[Change history](https://skmtc.dev/dagucloud/apis/dagu/changes/dags/search/get.md)

---

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