---
title: "Retrieve comprehensive DAG information"
method: GET
path: "/dags/{fileName}"
tags: ["dags"]
---

# Retrieve comprehensive DAG information

`GET /dags/{fileName}`

Fetches detailed information about a specific DAG definition

## Path parameters

- `fileName` string, regex, required — Name of the DAG file

## Query parameters

- `remoteNode` string

## Response `200`

A successful response

- object — Response object for getting details of a DAG
  - `dag` DAGDetails — unresolved $ref
  - `localDags` LocalDag[], required — List of local DAGs that are part of this DAG
    - `name` string, required — Name of the local DAG
    - `dag` DAGDetails — unresolved $ref
    - `errors` string[], required — List of errors encountered while processing the local DAG
  - `latestDAGRun` DAGRunDetails, required — unresolved $ref
  - `suspended` boolean, required — Whether the DAG is suspended
  - `errors` string[], required — List of errors encountered during the request
  - `spec` string — The DAG specification in YAML format
  - `editorHints` DAGEditorHints — Editor-only metadata used to synthesize per-document schema hints
    - `inheritedLegacyDefinitions` InheritedLegacyDefinitionHint[], required — Deprecated legacy execution definitions inherited from base config and available to the current DAG
      - `name` string, required — Deprecated legacy execution definition name
      - `targetType` string, required — Builtin executor type that the deprecated legacy execution definition expands to
      - `description` string — Optional deprecated legacy execution definition description
      - `inputSchema` object, required — Resolved JSON Schema object used to validate and document with input
      - `outputSchema` object — Resolved JSON Schema object used to validate stdout JSON output
    - `inheritedCustomActions` InheritedCustomActionHint[] — Custom actions inherited from base config and available to the current DAG
      - `name` string, required — Custom action name
      - `description` string — Optional custom action description
      - `inputSchema` object, required — Resolved JSON Schema object used to validate and document with input
      - `outputSchema` object — Resolved JSON Schema object used to validate stdout JSON output

## 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/f8982f33e540/schema)
