---
title: "Read Knowledge Sources"
method: GET
path: "/api/v1/knowledge"
tags: ["knowledge"]
---

# Read Knowledge Sources

`GET /api/v1/knowledge`

## Request

- Base URL: `https://api.gnosari.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gnosari.com/api/v1/knowledge`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-AUTH-TOKEN`

Retrieve knowledge sources for current user's account.

Filters:
- status: Filter by active/inactive status

## Query parameters

- `status` string: Filter by status
- `sort_by` string: Field to sort by (updated_at, created_at, name)
- `sort_order` string: Sort order (asc, desc)
- `skip` integer: Number of items to skip
- `limit` integer: Maximum items to return

## Response `200`

Successful Response

- PaginatedResponseKnowledgeSource
  - `data` KnowledgeSource[], required
    - `name` string, required
    - `data_type` string, required
    - `paths` string[]
    - `status` string
    - `loading_status` 'unloaded' | 'loading' | 'loaded' | 'partial' | 'failed': Pydantic-compatible enum for serialization.
    - `description` string, nullable
    - `identifier` string, nullable
    - `config` object, nullable
    - `loaded_at` string, date-time, nullable
    - `loading_started_at` string, date-time, nullable
    - `loading_error` string, nullable
    - `loading_urls_total` integer, nullable
    - `loading_urls_done` integer, nullable
    - `document_count` integer
    - `id` integer, required
    - `account_id` integer, nullable
    - `agents` AgentMinimal[]
      - `id` integer, required
      - `name` string, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, nullable
  - `pagination` PaginationMeta, required
    - `total` integer, required
    - `skip` integer, required
    - `limit` integer, required
    - `has_more` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/gnosari/apis/gnosari-api.md) · [All operations](https://skmtc.dev/gnosari/apis/gnosari-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gnosari/apis/gnosari-api/revisions/f299cf53ae5f?raw)
