---
title: "Attachments list for entity"
method: GET
path: "/v1/private/attachment/list"
tags: ["Attachments"]
---

# Attachments list for entity

`GET /v1/private/attachment/list`

Attachments list for entity

## Query parameters

- `page` integer
- `size` integer
- `project_id` string, uuid, required
- `entity_type` 'trace' | 'span', required
- `entity_id` string, uuid, required
- `path` string, required

## Response `200`

Attachment Resource

- AttachmentPage
  - `page` integer
  - `size` integer
  - `total` integer
  - `content` Attachment[]
    - `link` string
    - `file_name` string, required
    - `file_size` integer, required
    - `mime_type` string, required
  - `sortableBy` string[]

## Other responses

- `401` — Bad Request
- `403` — Access forbidden

---

[API](https://skmtc.net/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.net/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/versions/4ed2fbc97cc3/schema)
