cURL
curl --request GET \ --url https://api.uplint.dev/api/v1/files/{file_id}/metadata \ --header 'Authorization: Bearer <token>'
{ "status": "SUCCESS", "message": "File metadata retrieved", "data": { "file_id": "6612f1a2c3b4d5e6f7890abc", "original_filename": "report.pdf", "content_type": "application/pdf", "size_bytes": 843776, "context_key": "patient_reports", "checksum": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "metadata": { "department": "radiology" }, "download_count": 3, "last_downloaded_at": "2026-02-10T10:30:00Z" }, "timestamp": "2026-02-10T12:00:00Z" }
Retrieve metadata for a single file including checksum, download count, and custom metadata.
Pass an API key or JWT token. API keys can be sent as Authorization: Bearer <key> or Authorization: <key>.
Authorization: Bearer <key>
Authorization: <key>
The file's unique identifier.
File metadata.
SUCCESS
Show child attributes
Was this page helpful?