---
title: "List Content"
method: GET
path: "/knowledge/content"
tags: ["Knowledge"]
---

# List Content

`GET /knowledge/content`

Retrieve paginated list of all content in the knowledge base with filtering and sorting options. Filter by status, content type, or metadata properties.

## Query parameters

- `limit` integer, nullable — Number of content entries to return
- `page` integer, nullable — Page number
- `sort_by` string, nullable — Field to sort by
- `sort_order` 'asc' | 'desc'
- `db_id` string, nullable — Database ID to use
- `knowledge_id` string, nullable — Knowledge base ID to use

## Response `200`

Content list retrieved successfully

- PaginatedResponseContentResponseSchema
  - `data` ContentResponseSchema[], required — List of items for the current page
    - `id` string, required — Unique identifier for the content
    - `name` string, nullable — Name of the content
    - `description` string, nullable — Description of the content
    - `type` string, nullable — MIME type of the content
    - `size` string, nullable — Size of the content in bytes
    - `linked_to` string, nullable — ID of related content if linked
    - `metadata` object, nullable — Additional metadata as key-value pairs
    - `access_count` integer, nullable — Number of times content has been accessed
    - `status` 'processing' | 'completed' | 'failed' — Enumeration of possible content processing statuses.
    - `status_message` string, nullable — Status message or error details
    - `created_at` string, date-time, nullable — Timestamp when content was created
    - `updated_at` string, date-time, nullable — Timestamp when content was last updated
  - `meta` PaginationInfo, required
    - `page` integer — Current page number (0-indexed)
    - `limit` integer — Number of items per page
    - `total_pages` integer — Total number of pages
    - `total_count` integer — Total count of items
    - `search_time_ms` number — Search execution time in milliseconds

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/agno/apis/agno-api-reference.md) · [All operations](https://skmtc.net/agno/apis/agno-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agno/agno-api-reference/versions/5f6149d395d0/schema)
