---
title: "Get Prompt Pinned Files"
method: GET
path: "/api/ai-agents/prompts/{prompt_id}/files"
tags: ["ai-agents", "ai-agents"]
---

# Get Prompt Pinned Files

`GET /api/ai-agents/prompts/{prompt_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/prompts/{prompt_id}/files`
- Auth: none declared

## Path parameters

- `prompt_id` integer, required

## Response `200`

Successful Response

- PromptPinnedFileResponse[]
  - `id` integer, required
  - `file_id` integer, required
  - `prompt_id` integer, required
  - `title` string, nullable
  - `original_filename` string, nullable
  - `mime_type` string, nullable
  - `byte_size` integer, nullable
  - `status` string
  - `priority` integer

## 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/d84e7dc9977d?raw)
