---
title: "List attachments (metadata)"
method: GET
path: "/tasks/{taskId}/attachments"
tags: ["Attachments"]
---

# List attachments (metadata)

`GET /tasks/{taskId}/attachments`

## Request

- Base URL: `https://tasg.app/api/v1`
- URL: `https://tasg.app/api/v1/tasks/{taskId}/attachments`
- Auth: HTTP bearer

## Path parameters

- `taskId` string, uuid, required

## Response `200`

Attachments, oldest first.

- object
  - `attachments` AttachmentSummary[], required
    - `id` string, uuid, required
    - `filename` string, required
    - `file_size` integer, required
    - `mime_type` string, required
    - `uploaded_by_name` string, nullable
    - `created_at` string, date-time, required

## Other responses

- `401`: Missing, invalid, expired or revoked credentials.
- `403`: Authenticated, but not allowed: not a member, insufficient project role or the API token lacks the required scope.
- `404`: Not found, or not visible to the caller (tenancy is enforced: foreign resources look identical to missing ones).
- `429`: Rate limited. Back off and retry after the window in the `RateLimit-*` headers.

---

[API](https://skmtc.dev/tasg/apis/tasg-api.md) · [All operations](https://skmtc.dev/tasg/apis/tasg-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tasg/apis/tasg-api/revisions/cd2a1dbaf5cf?raw)
