---
title: "Get workflow definition"
method: GET
path: "/v1/workflows/{id}"
tags: ["workflows"]
---

# Get workflow definition

`GET /v1/workflows/{id}`

Returns a single workflow's full definition: metadata, trigger, and the step graph (steps + derived edges) as the Workflows editor stores it. Embedded credential material is redacted.

## Path parameters

- `id` string, required — Workflow (version) identifier.

## Query parameters

- `workspace_id` string — Optional workspace override. If omitted, Conduit resolves the workflow's workspace automatically.

## Response `200`

Workflow definition

- object — Full workflow definition: metadata, trigger, and the step graph (steps + derived edges) as the Workflows editor stores it. Embedded secrets are redacted.
  - `data` object, required
    - `workflow_id` string, required
    - `master_id` string, nullable, required
    - `name` string, required
    - `enabled` boolean, required
    - `status` string, required
    - `version` number, required
    - `is_latest` boolean, required
    - `color` string, required
    - `trigger_summary` string, nullable, required
    - `created_at` string, required
    - `updated_at` string, required
    - `description` string, nullable, required
    - `trigger` object, nullable, required
      - `type` string, required
      - `config` object, required
    - `first_step_id` string, nullable, required
    - `steps` object[], required
      - `id` string, required
      - `type` string, required
      - `description` string, nullable, required
      - `position` object, nullable, required
        - `x` number, required
        - `y` number, required
      - `next_step_id` string, nullable, required
      - `config` object, required — Step configuration as stored by the Workflows editor, with any embedded credential material (e.g. HTTP auth header values) redacted.
    - `edges` object[], required
      - `from` string, required
      - `to` string, required
      - `kind` 'next' | 'condition_true' | 'condition_false' | 'filter' | 'branch_true' | 'branch_false', required

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `429` — Rate limit exceeded

---

[API](https://skmtc.net/conduit/apis/conduit-api.md) · [All operations](https://skmtc.net/conduit/apis/conduit-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conduit/conduit-api/versions/3ad7e17f96ad/schema)
