繁體中文
cURL
curl --request GET \ --url https://app.pathors.com/knowledgebases/{knowledgebaseId}/datasets \ --header 'x-api-key: <x-api-key>'
{ "id": "<string>", "filename": "<string>", "fileUrl": "<string>", "extensionType": "<string>", "size": 123, "isParsed": true, "createdAt": "<string>", "updatedAt": "<string>" }
從指定的知識庫中檢索所有資料集
https://api.pathors.com
GET /knowledgebases/{knowledgebaseId}/datasets
curl -X GET \ -H "x-api-key: your_api_key" \ https://api.pathors.com/knowledgebases/kb_abc123/datasets
[ { "id": "dataset_abc123", "filename": "company-handbook.pdf", "fileUrl": "https://your-domain.com/api/datasets/dataset_abc123.pdf", "extensionType": "pdf", "size": 2048000, "isParsed": true, "createdAt": "2024-01-15T10:30:00Z", "updatedAt": "2024-01-15T10:35:00Z" } ]
isParsed: true
isParsed: false
fileUrl
/api/datasets