---
title: "Get a workflow"
method: GET
path: "/api/workflows/{id}"
tags: ["Workflow"]
---

# Get a workflow

`GET /api/workflows/{id}`

## Path parameters

- `id` integer, required

## Response `200`

successful operation

- RestWorkflowDefinition
  - `name` string
  - `id` Id
  - `project` IdAndName
    - `name` string
    - `id` Id
  - `config` Config
    - `empty` boolean
    - `factory` ConfigFactory
    - `keys` string[]
  - `revision` string
  - `timezone` ZoneId
    - `id` string
    - `rules` ZoneRules
      - `transitions` ZoneOffsetTransition[]
        - `offsetBefore` ZoneOffset
          - `totalSeconds` integer
          - `id` string
          - `rules` ZoneRules — recursive
        - `offsetAfter` ZoneOffset
          - `totalSeconds` integer
          - `id` string
          - `rules` ZoneRules — recursive
        - `gap` boolean
        - `dateTimeBefore` string, date-time
        - `dateTimeAfter` string, date-time
        - `duration` Duration
          - `seconds` integer
          - `zero` boolean
          - `negative` boolean
          - `units` TemporalUnit[]
            - `duration` Duration — recursive
            - `durationEstimated` boolean
            - `dateBased` boolean
            - `timeBased` boolean
          - `nano` integer
        - `instant` integer
        - `overlap` boolean
      - `transitionRules` ZoneOffsetTransitionRule[]
        - `month` 'JANUARY' | 'FEBRUARY' | 'MARCH' | 'APRIL' | 'MAY' | 'JUNE' | 'JULY' | 'AUGUST' | 'SEPTEMBER' | 'OCTOBER' | 'NOVEMBER' | 'DECEMBER'
        - `timeDefinition` 'UTC' | 'WALL' | 'STANDARD'
        - `standardOffset` ZoneOffset
          - `totalSeconds` integer
          - `id` string
          - `rules` ZoneRules — recursive
        - `offsetBefore` ZoneOffset
          - `totalSeconds` integer
          - `id` string
          - `rules` ZoneRules — recursive
        - `offsetAfter` ZoneOffset
          - `totalSeconds` integer
          - `id` string
          - `rules` ZoneRules — recursive
        - `dayOfMonthIndicator` integer
        - `localTime` LocalTime
          - `hour` integer
          - `minute` integer
          - `second` integer
          - `nano` integer
        - `midnightEndOfDay` boolean
        - `dayOfWeek` 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY'
      - `fixedOffset` boolean

---

[API](https://skmtc.net/treasure-data/apis/digdag.md) · [All operations](https://skmtc.net/treasure-data/apis/digdag/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/treasure-data/digdag/versions/f20fc79e6266/schema)
