---
title: "List task file attachments"
method: GET
path: "/api/fs/tasks/{taskId}/files"
tags: ["FS"]
---

# List task file attachments

`GET /api/fs/tasks/{taskId}/files`

## Path parameters

- `taskId` string, uuid, required

## Response `200`

Task file attachments

- object
  - `attachments` TaskAttachment[], required
    - `id` string, uuid, required
    - `taskId` string, uuid, required
    - `agentId` string, nullable, required
    - `name` string, required
    - `kind` 'agent-fs' | 'url' | 'shared-fs' | 'page', required
    - `url` string
    - `path` string
    - `pageId` string
    - `providerId` string
    - `providerKey` string
    - `capabilities` object
    - `orgId` string
    - `driveId` string
    - `mimeType` string
    - `sizeBytes` integer
    - `sha256` string
    - `intent` string
    - `description` string
    - `isPrimary` boolean
    - `createdAt` string, date-time, required
    - `createdBy` string
    - `updatedBy` string

## Other responses

- `404` — Task not found

---

[API](https://skmtc.net/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.net/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/desplega-ai/agent-swarm-api/versions/101e7a060651/schema)
