---
title: "List available resources in data source"
method: GET
path: "/datasource/{id}/resources"
tags: ["DataSource"]
---

# List available resources in data source

`GET /datasource/{id}/resources`

List resources available for sync in the external system. Pass parent_id to lazily load the direct children of a resource (used for large hierarchical sources such as Feishu wiki).

## Path parameters

- `id` string, required

## Query parameters

- `parent_id` string

## Response `200`

OK

- GithubComTencentWeKnoraInternalTypesResource[]
  - `description` string — Optional description
  - `external_id` string — Unique identifier in the external system
  - `has_children` boolean — Whether this resource has children that can be expanded
  - `metadata` object — Additional metadata
  - `modified_at` string — Last modified time in external system
  - `name` string — Display name
  - `parent_id` string — For hierarchical resources (parent ID if applicable)
  - `type` string — Resource type (document, folder, space, page, etc.)
  - `url` string — URL to access in external system

## Other responses

- `400` — Bad Request

---

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