---
title: "List Knowledge Files"
method: GET
path: "/agents/{agent_id}/knowledge-files"
tags: ["agents"]
---

# List Knowledge Files

`GET /agents/{agent_id}/knowledge-files`

List all knowledge files for an agent.

## Path parameters

- `agent_id` string, uuid, required

## Response `200`

Successful Response

- AgentKnowledgeFileListResponse — List of agent knowledge files.
  - `files` AgentKnowledgeFileResponse[], required
    - `id` string, uuid, required
    - `agent_id` string, uuid, required
    - `filename` string, required
    - `mime_type` string, nullable
    - `file_size` integer
    - `created_at` string, date-time, required
  - `total` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/meganova/apis/fastapi.md) · [All operations](https://skmtc.net/meganova/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/meganova/fastapi/revisions/2b2bab8b9017/schema)
