Documents
Get Document
Fetch a document's details.
Args: document_id: Document ID (path parameter)
Raises: - 404: If the document is not found or doesn't belong to the user
get/api/v3/documents/{document_id}
Request
- Base URLhttps://api.nugen.in
- AuthHTTP bearer
Path parameters
document_idstring required
ID of the document, returned when it was uploaded
Response
Returns the document's full record: document_id, name, filename, type, size, status, categories, uploader, and timestamps.
Example response
{
"categories": [
"customer_support",
"documentation"
],
"completed_at": "2024-01-15T10:31:00Z",
"created_at": "2024-01-15T10:30:00Z",
"document_id": "document_01k4x9m2p7q3r5s8",
"document_name": "Master Services Agmt",
"filename": "customer_support_guide.txt",
"size": 2548736,
"status": "READY",
"type": "text/plain",
"updated_at": "2024-01-15T10:31:00Z",
"uploader": "user@example.com"
}Changes
No recorded changes to this operation across all 1 revision of this API.