---
title: "List tasks of an attempt"
method: GET
path: "/api/attempts/{id}/tasks"
tags: ["Attempt"]
---

# List tasks of an attempt

`GET /api/attempts/{id}/tasks`

## Path parameters

- `id` integer, required

## Response `200`

successful operation

- RestTaskCollection
  - `tasks` RestTask[]
    - `id` Id
    - `state` string
    - `cancelRequested` boolean
    - `updatedAt` integer
    - `startedAt` integer
    - `group` boolean
    - `fullName` string
    - `parentId` Id
    - `upstreams` Id[]
    - `retryAt` integer
    - `config` Config
      - `empty` boolean
      - `factory` ConfigFactory
      - `keys` string[]
    - `exportParams` Config
      - `empty` boolean
      - `factory` ConfigFactory
      - `keys` string[]
    - `storeParams` Config
      - `empty` boolean
      - `factory` ConfigFactory
      - `keys` string[]
    - `stateParams` Config
      - `empty` boolean
      - `factory` ConfigFactory
      - `keys` string[]
    - `error` Config
      - `empty` boolean
      - `factory` ConfigFactory
      - `keys` string[]

---

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