---
title: "List Objects"
method: GET
path: "/object/kb/{agent_id}"
---

# List Objects

`GET /object/kb/{agent_id}`

List objects in the knowledge base for a specific agent.

Args:
    request: FastAPI request object containing the authenticated user info
    agent_id: ID of the agent whose documents to list

Returns:
    ListObjectsResponse containing list of StorageObject with presigned URLs

## Path parameters

- `agent_id` string, required

## Headers

- `authorization` string, required

## Response `200`

Successful Response

- ListObjectsResponse
  - `status` string, required
  - `data` union[], required
    - union
      - StorageObjectMarkDown
        - `name` string, required
        - `id` string, required
        - `agent_id` string, required
        - `last_updated_by` string, required
        - `last_updated_at` string, date-time, required
        - `active` boolean
        - `type` string
        - `trieveChunkIds` string[], nullable
        - `content` string, nullable
        - `contentMD` string, nullable
      - StorageObjectBlob
        - `name` string, required
        - `id` string, required
        - `agent_id` string, required
        - `last_updated_by` string, required
        - `last_updated_at` string, date-time, required
        - `active` boolean
        - `type` string
        - `trieveChunkIds` string[], nullable
        - `presigned_url` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/phonely/apis/fastapi.md) · [All operations](https://skmtc.net/phonely/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/phonely/fastapi/versions/9bfd5599d479/schema)
