cURL
curl --request GET \ --url https://api.trillet.ai/v1/api/knowledgebase/{id} \ --header 'x-api-key: <api-key>' \ --header 'x-workspace-id: <x-workspace-id>'
{ "_id": "665a1b2c3d4e5f6a7b8c9d0e", "name": "Product Documentation", "description": "All product-related documentation and FAQs", "workspaceId": "664a1b2c3d4e5f6a7b8c9d0e", "files": [ { "name": "product-guide.pdf", "size": 1048576, "type": "application/pdf", "uploadedAt": "2024-06-01T10:00:00.000Z" } ], "createdAt": "2024-06-01T09:00:00.000Z", "updatedAt": "2024-06-01T10:00:00.000Z" }
Retrieve a specific knowledge base by its ID.