繁體中文
cURL
curl --request GET \ --url https://app.pathors.com/api/datasets \ --header 'x-api-key: <x-api-key>'
{ "id": "<string>", "filename": "<string>", "fileUrl": "<string>", "extensionType": "<string>", "size": 123, "createdAt": "<string>", "updatedAt": "<string>" }
獲取知識庫關聯的資料集
GET /api/datasets
[ { "id": "dataset_abc123", "filename": "documentation.pdf", "fileUrl": "https://app.pathors.com/api/datasets/dataset_abc123.pdf", "extensionType": "pdf", "size": 1048576, "createdAt": "2024-03-15T08:00:00Z", "updatedAt": "2024-03-15T08:00:00Z" } ]