---
title: "List log files of an attempt with filters"
method: GET
path: "/api/logs/{attempt_id}/files"
tags: ["Log"]
---

# List log files of an attempt with filters

`GET /api/logs/{attempt_id}/files`

## Path parameters

- `attempt_id` integer, required

## Query parameters

- `task` string
- `direct_download` boolean

## Response `200`

successful operation

- RestLogFileHandleCollection
  - `files` RestLogFileHandle[]
    - `fileName` string
    - `taskName` string
    - `fileTime` integer
    - `fileSize` integer
    - `agentId` string
    - `direct` RestDirectDownloadHandle

## Changes

> 8 revisions in range; 1 could not be searched.

- **2019-12-24** `9afe0472258c` — 1 warning
  - deleted the `query` request parameter `direct_download`

[Change history](https://skmtc.dev/treasure-data/apis/digdag/changes/api/logs/:attempt_id/files/get.md)

---

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