curl -X GET https://api.example.com/api/knowledge/documents/doc_abc123 \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"document": {
"id": "doc_abc123",
"projectId": "proj_123",
"fileId": "file_xyz789",
"fileName": "product-guide.pdf",
"fileType": "pdf",
"sourceType": "upload",
"status": "completed",
"chunkCount": 45,
"vectorCount": 45,
"error": null,
"metadata": {
"size": 2048576,
"pages": 23,
"language": "en"
},
"createdAt": "2026-01-15T10:30:00Z",
"updatedAt": "2026-01-15T10:35:00Z"
}
}
Retrieves detailed information about a specific document
curl -X GET https://api.example.com/api/knowledge/documents/doc_abc123 \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"document": {
"id": "doc_abc123",
"projectId": "proj_123",
"fileId": "file_xyz789",
"fileName": "product-guide.pdf",
"fileType": "pdf",
"sourceType": "upload",
"status": "completed",
"chunkCount": 45,
"vectorCount": 45,
"error": null,
"metadata": {
"size": 2048576,
"pages": 23,
"language": "en"
},
"createdAt": "2026-01-15T10:30:00Z",
"updatedAt": "2026-01-15T10:35:00Z"
}
}
Show Document Object
curl -X GET https://api.example.com/api/knowledge/documents/doc_abc123 \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"document": {
"id": "doc_abc123",
"projectId": "proj_123",
"fileId": "file_xyz789",
"fileName": "product-guide.pdf",
"fileType": "pdf",
"sourceType": "upload",
"status": "completed",
"chunkCount": 45,
"vectorCount": 45,
"error": null,
"metadata": {
"size": 2048576,
"pages": 23,
"language": "en"
},
"createdAt": "2026-01-15T10:30:00Z",
"updatedAt": "2026-01-15T10:35:00Z"
}
}