---
title: "Get Thread Pinned Files"
method: GET
path: "/api/ai-agents/threads/{thread_id}/files"
tags: ["ai-agents", "ai-agents"]
---

# Get Thread Pinned Files

`GET /api/ai-agents/threads/{thread_id}/files`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/ai-agents/threads/{thread_id}/files`
- Auth: none declared

## Path parameters

- `thread_id` integer, required

## Response `200`

Successful Response

- PinnedFileResponse[]
  - `id` integer, required
  - `file_id` integer, required
  - `title` string, nullable
  - `original_filename` string, nullable
  - `mime_type` string, nullable
  - `byte_size` integer, nullable
  - `status` string, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
